For the complete documentation index, see llms.txt. This page is also available as Markdown.

App Triggers

Stacksync continuously watches the connected app for changes using Change Data Capture (CDC). The moment a record changes, Stacksync captures the event and starts your workflow with that record's data typically within seconds.

Set it up

  1. In your workflow, add a trigger and choose the App Trigger you want from the trigger catalog.

  2. Select an existing connection or create a new connection and click next

  3. Choose the table(s) you want to capture the changes from.

  4. Choose the columns you want to track. By default, all the columns are selected, you can edit them as required.

  5. Configure the Trigger

  6. Pick the event types (Created, Updated, Deleted).

  7. Add filter conditions so it fires only on relevant changes.

  8. (Optional) Enable historic backfill to include existing records.

  9. Save and turn the workflow on.


App Triggers fire on three event types:

Event
Fires when…

Created

A new record is added

Updated

One or more fields on a record change

Deleted

A record is removed

You can pick any combination of the three.

What your workflow receives

Each time the trigger fires, it passes the event into your workflow so downstream modules can use it:

  • record - the full record, with all its fields.

  • changes - only the fields that changed (on update events).

Reference these anywhere in the workflow to route, transform, or write the data into another system.

Filter conditions

You usually don't want the workflow to run on every change. Add filter conditions so it only fires when the change actually matters. For example, you can trigger the Salesforce trigger only when status becomes Closed Won, or only when amount is above a threshold.

  • Build conditions in the no-code editor using AND / OR logic.

  • Nest conditions as deeply as you need for precise targeting.

  • Only changes that match the filter start the workflow and everything else is ignored.

Historic backfill

By default, an App Trigger only processes changes that happen after you turn it on. If you also want to run the workflow over records that already exist, enable historic backfill.

  • Go-forward (default): only new changes from this point on.

  • Backfill: Stacksync replays your existing records through the trigger once, so the workflow processes the back-catalog too.

Questions about setting up an App Trigger? Reach us in the Slack community or at hello@stacksync.com.

Last updated