You can leverage automation platform Zapier to send events to our Server-Side API. Use Facebook's Zapier app to automatically send events every time something changes in your data source.
Zapier is an online automation tool that you can use to connect two or more apps. In this case, we are connecting two apps. From the first app, you select a trigger event that makes an action event happen in the second app. The first app can be any data source you are using. The second app must be Facebook's Server-Side API Zapier.
Once the connection is set up, every time your data source is triggered, our app sends an event to the Server-Side API. For example, every time a new Purchase is added to your data source, this event is posted to our API.
Visit zapier.com. Then, sign up or login with previously created credentials. On the left side menu, click on Make a Zap.
Next, Zapier asks you to set up your trigger. Under When this happens, pick App and Trigger Event.
In this case, App is the data source. One example of this would be Google Sheets.
Trigger event refers to the action that must happen in your data source for the automation to be triggered. Back to the Google Sheet example, some of the possible Zapier trigger events are:
Select the Zapier trigger event that makes more sense for your advertising needs.
You must configure your data source to match Facebook's events schema. For Google Sheets, set the spreadsheet fields to correspond to our event fields.
After you are done with When this happens, you can setup the second part of the automation under Do this. Again, you must select App and Action Event.
Here, App should be the Facebook Server-Side API. This is where you want to send the information coming from your data source.
Action events are the events that you want to send to our API. Some examples of action events are Purchase, Lead, and Other Events. Here is a list of Facebook Pixel standard events, and you can also send us custom events.
Now you can activate your Zap. Once that is done, an event should be posted to our Server-side API every time your trigger event happens.
To finalize the Google Sheets example, consider we have created a Zap that:
Purchaseas an action event.
Once this zap is activated, a Purchase event is posted to our API every time a new row is added to the source spreadsheet.