Skip to main content

Write Your Own Triggers

The vast majority of integrations are triggered in one of two ways: they either run on a schedule (i.e "At 15 minutes past each hour") or they're invoked by an HTTP request to a webhook.

Not all apps and services that you integrate with are the same, though, and some require additional functionality or validation. For example, Salesforce outbound messages (webhooks) require a special XML-formatted acknowledgement (ACK) response to a webhook request, and Amazon's Simple Notification Service (SNS) requires that integrations send an HTTP POST request to AWS to confirm an SNS subscription.

With those considerations in mind, we've extended our custom component SDK to allow you to write your own triggers for your components. Your triggers can handle things like:

  • Replying to webhook requests with custom responses
  • Validating webhook headers and payload data
  • Transforming and processing XML, CSV, or proprietary data formats so the rest of your integration can easily reference data that comes in

If you've written your own actions, writing a trigger will feel very familiar. Check out our docs on writing triggers to get started.