When a particular event occurs in your app, your app calls Integry with a payload describing the event. Since Integry acts an an intermediary platform between your app and the app where you wish to transfer data, you need to specify an object for that payload in Integry. You then have to associate that object to the incoming webhook trigger. The incoming webhook trigger will listen to the event occurred in your app and know what kind of object to expect from your app.
Let's say, you're building a flow, When a contact is creating in AcmeSaaS, add a subscriber in Mailchimp list. Your app will send a JSON payload to Integry when a contact is created in your app. That payload may look like this:
“first_name” : “John”,
“last_name” : “Apple”
Let's see how to add a Contact object in Integry.
Add an Object in Integry
- Go to Account Settings > Objects
- Click + Add Object
- Select Contact
- Integry already provides a Contact object with a sample JSON payload. You can edit the payload and add your own
- Click Add object