---
title: "Creating an Trigger for the Outbound synchronisation."
canonical: "https://help.fieldbuddy.com/space/FBDOCS/2078310892/Creating%20an%20Trigger%20for%20the%20Outbound%20synchronisation."
format: markdown
---
<span style="color: #000000">For the outbound mapping of an object, a trigger needs to be made that will trigger when a change is applied on a record on that specific object.</span>  
<span style="color: #000000">The trigger below is an example of a trigger on the object Account</span>

```
trigger tr_Account_EOL on Account (after delete, after insert, after undelete,
                             after update, before delete,
                             before insert, before update) {
    FBCONNECT.Triggers.syncAllEvents();
}
```

  
More information about triggers can be found here - [https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/2078311179](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/2078311179)