Skip to content

Zapier app and n8n node

Start Zaps and n8n workflows when launches and uploads finish, and upload media, create drafts and launch paused ads from them.

Last updated

On this page

AdMassy has an official Zapier app and an n8n community node (n8n-nodes-admassy). Both sign in with an AdMassy API token and offer the same building blocks:

KindWhat it does
TriggerLaunch completed, Launch failed (failed or partly failed), Upload completed (n8n also offers Upload failed)
ActionUpload media from URL: imports public HTTPS or Google Drive links into the library and the ad account
ActionCreate draft: saves a draft of paused ads, one ad per media ID, in an existing or new campaign and ad set
ActionLaunch draft: creates the stored review of a draft and launches it. New ads are created paused. A draft saved in AdMassy as Active (or with an active campaign or ad set) is refused unless you turn on the activation confirmation
ActionUpdate ad status: pauses or activates ads. Activating needs the extra Confirm activation switch, because active ads can spend
SearchFind ad account: by ID (with or without act_) or by name

You find both under Connect › Media in the Automation & Media Upload section, next to Make.

Create an API token

  1. Open Connect › MCP & CLI and create a token.
  2. Give it only the scopes your automations need: read for triggers and searches, upload for uploads, builds for drafts, publish for launches and manage for status changes.
  3. Copy the token. It is shown only once.

Revoking the token stops its triggers at once and makes every action fail with an authentication error.

Zapier

  1. In Zapier, create a Zap and search for AdMassy.
  2. Connect your account: paste the API token. Leave AdMassy URL as it is unless your team runs its own AdMassy server. Zapier checks the token with a quick call that reads only your workspace.
  3. Pick a trigger or action. Ad account fields offer a dropdown of the accounts your Facebook connection can use.

Each Zap with an AdMassy trigger registers its own subscription. Turning the Zap off removes it, and so does deleting the Zap.

n8n

  1. Install the community node: in n8n's settings open Community nodes, click Install and enter n8n-nodes-admassy (self-hosted n8n), or add it from the nodes panel once it is verified for n8n Cloud.
  2. Create an AdMassy API credential with your token and click Test.
  3. Add the AdMassy node for actions, or the AdMassy Trigger node to start a workflow.

The trigger subscribes when you activate the workflow and unsubscribes when you deactivate it. Your n8n must be reachable on a public https:// address: AdMassy does not send to local, private or plain-HTTP addresses. Verify signature (on by default) rejects requests that do not carry a valid X-AdMassy-Signature.

How triggers work

Each subscription belongs to one event and to the API token that created it. It only sees what that token could read: a member with client access only gets events for their own ad accounts. A workspace can hold up to 200 subscriptions and a single token up to 25.

The payload is the same as the workspace webhook sends, plus an id (the job ID) so Zapier and n8n can skip repeats:

  • event, workspaceId, occurredAt
  • job: ID, type, status, ad account, error and item counts (total, completed, failed)

Deliveries are retried with growing delays when your endpoint is down or busy. If Zapier answers that the Zap is gone, AdMassy removes the subscription.

Note: Delivery must be switched on by whoever runs your AdMassy server, the same switch as for the workspace webhook. Until then subscriptions are saved but no events are sent.

For your own tools, the same endpoints are available on the REST API with any API token: POST /api/v1/hooks with {targetUrl, event} (returns the id and a signing secret once), GET /api/v1/hooks (your token's subscriptions), DELETE /api/v1/hooks/{id} and GET /api/v1/hooks/samples?event=….

Was this article helpful?