In Connectif, it is possible to receive data from external systems to use information that is not registered by default in the platform. Through a custom integration, you can synchronize your contact data based on events generated in other platforms.
In this article, you will learn how to create a custom integration to receive data.
STEP 1 - Creating the custom integration
1. Go to "Integrations > Custom" and click on Create new integration.
2. Set the "Name" field to identify the integration.
3. (Optional) Customize the color, include a description, or categorize the integration.
4. Click Save.
5. In the Receive Data tab, click Create new receiving event.
STEP 2 - Configuring the "Receive Data" event
(In this section, the fields where the received data will be stored are configured).
6. Click Add a new field to create a custom field and fill in the necessary fields in the right block.
7. Repeat the action indicated in the previous step as many times as the data you want to receive.
8. Click Save and, in the confirmation screen, click Return to the event list.
STEP 3 - Obtaining the notification endpoint
(In this section, you will learn how to generate the address to notify the created event type, the endpoint).
9. In the Receive Data tab, click Edit.
10. Click Copy URL to copy the endpoint address to the clipboard.
STEP 4 - Sending data to Connectif
(In this section, you will learn how to establish communication with the endpoint and send data).
11. Make the call to the endpoint to notify it of the event data. The following screenshot is a JSON call made with Postman, following the example illustrated in the article.
STEP 5 - Synchronizing data with contact information
(This section explains how to synchronize the data in Connectif through a workflow).
12. Go to “Workflows”, click Create new workflow and select Create blank workflow.
13. Create your workflow structure with the trigger node "Trigger [your integration name]" and the action node "Set field".
14. In the "Receive Data Trigger" node, click (Edit node configuration).
15. Verify that the data collected by the "Receive Data Trigger" node from the event in the external system is correct.
16. Click Save.
17. In the "Set Field" node, click (Edit node configuration).
18. Map the variables to assign the information collected by the custom integration to the corresponding contact fields.
19. Click Update.
20. In the workflow, click Save to save the changes and Start to activate it.
Extra: Creating a Dynamic Plus Segment for the integration
With Connectif, you can create a Dynamic Plus Segment to filter by the activities and fields related to the custom integration.
Once you create a contact segment from the custom integration, it cannot be deleted. Additionally, if any of its fields are being used as a segmentation condition, they cannot be deleted or edited either.
Keep Learning!
To take full advantage of your Connectif account, we recommend continuing with the following articles:
- Custom integration to send data, to send data from Connectif to external systems or applications.
- Detect and respond to web links created outside of Connectif, to identify and respond to clicks on any link on your website.
-
Integration with Facebook and Instagram, to manage the audiences of your Facebook Ads account with Connect if.
-
Embedded Forms, to detect and collect existing forms on your website in Connectif.