# Event triggers

<figure><img src="https://2867423571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfJjIdV9cuW6K8asJjTPJ%2Fuploads%2Fy7Dha14pEtnPqYxWLEhD%2F1%20(1).png?alt=media&#x26;token=2471dd7f-d1f0-4e6e-8721-94abbc6f82ea" alt=""><figcaption></figcaption></figure>

## Guides

Check our setup guide at

{% content-ref url="../guides/event-triggers" %}
[event-triggers](https://docs.stacksync.com/two-way-sync/guides/event-triggers)
{% 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](https://docs.stacksync.com/two-way-sync/start-here/community) 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 😉
