Skip to Content
ProvidersBuilt-in providers

Loops webhooks

Receive and verify Loops webhooks with Trigger.dev. Check the Standard Webhooks signature and run a task for each Loops event, filtered on event.eventName.

webhooks.loops() verifies the Standard Webhooks signature Loops sends in the webhook-* headers on every request.

/trigger/loops.ts
import { ,  } from "@trigger.dev/sdk";

export const loops = ..define({
  : "loops",
  : .loops(),
});

export const loopsEvents = ({
  id: "loops-events",
  : loops,
  : "event.eventName == 'email.delivered'",
  : async ({  }) => {
    .();
  },
});
SettingValue
Sourcewebhooks.loops()
VerificationStandard Webhooks (webhook-id, webhook-timestamp, webhook-signature)
CredentialSigning secret issued by Loops
Event typeevent.eventName
Loops docsLoops webhook docs

Set up Loops

  1. Start trigger dev or deploy, then copy the endpoint's Webhook URL from the Webhooks page.
  2. In Loops, go to Settings > Webhooks, add the webhook URL as the endpoint, and select the events your subscribers need.
  3. Copy the endpoint's signing secret (it starts with whsec_), then choose Set signing secret on the Trigger.dev endpoint.
  4. Send a testing.testEvent from the Loops settings page, or use the endpoint's Test tab, and check the endpoint's Deliveries tab. See Verify the connection if nothing arrives.

Was this page helpful?

Last updated

Edit on GitHub

On this page