> For the complete documentation index, see [llms.txt](https://docs.stacksync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacksync.com/two-way-sync/features/event-triggers.md).

# Event triggers

<figure><img src="/files/rkwb9XduK6c0xykMLvR6" alt=""><figcaption></figcaption></figure>

## Guides

Check our setup guide at

{% content-ref url="/pages/qMzCFYgOuwrPm6lOZeip" %}
[Configure Event Triggers](/two-way-sync/guides/event-triggers.md)
{% endcontent-ref %}

## FAQ

<details>

<summary>How many triggers can I create?</summary>

You can create as many triggers as you want, there are **no limits** as per how many triggers you can create. 🚀

</details>

<details>

<summary>Is there a maximum number of nested conditions for filtering?</summary>

No, there are **no limits**. You can create deep nested conditions as you please. Feel free to use the no-code editor as you please!

Even if there are no limits, a good practice is to keep the number of nested levels below 5 for readability and maintainability. However, going deeper than 5 nested levels will not negatively impact the system performance, so rest assured and feel free to proceed!

</details>

<details>

<summary>What data can I access from the changes in a trigger?</summary>

We provide the <mark style="color:orange;"><\<record>></mark> placeholder which will be replaced by a JSON string containing the columns of the record that was changed. Depending on the operation done to the record, certain columns will be available.

**INSERTS:** Only the columns which were added during the creation of the record will be available.

**UPDATES:** All columns which have a value will be available. Even if a single column was updated for the record, all other non-null columns will appear in the <mark style="color:orange;"><\<record>></mark> JSON string.

**DELETES:** Only the primary key of the table from where the record was deleted will be available. For example, in a sync between Salesforce and Postgres, if a record is deleted in Salesforce, the <mark style="color:orange;">Id</mark> column will be available in the <mark style="color:orange;"><\<record>></mark> JSON string. If the record is deleted in Postgres, the primary key of that table, for instance <mark style="color:orange;">stacksync\_record\_id\_Aokoxe</mark> will be available in the <mark style="color:orange;"><\<record>></mark> JSON string.

</details>

## Need help?

We are happy to give you a helping hand! Contact us directly in our [Slack community chat](/two-way-sync/start-here/community.md) or via email at <hello@stacksync.com>

Feel free to drop us any feedback or feature request if you need something, we're glad to make it happen 😉
