Send data to Contlo via Zapier

You can use Zapier to send data from a third-party platform to Contlo and vice-versa. Follow the steps below:

  1. On the Zapier App on Contlo, click the Create Zap button.

  2. On Create or edit your Zap, You have to set up 2 steps:

    1. Trigger

    2. Action

Trigger

A trigger is a user event that starts your Zap. Follow the steps below to set a trigger:

  1. Click the Trigger block to open the Change trigger modal.
  2. Select the application on which you want to set a trigger. For this guide, let's select Google Sheets.
  3. You would be redirected to the Create or edit your Zap screen containing the Google sheet configuration on a side panel. Fill in the required details as follows:
    1. App & event: Choose an event from the Event dropdown that you want to act as the trigger to start the Zap.
    2. Account: Connect the Google account from where you want to fetch the sheets.
    3. Trigger: In the section, define the configurations to set the trigger.
      1. Spreadsheet: Choose the Spreadsheet where the trigger should work.
      2. Worksheet: Choose the specific sheet where you want to set the trigger.
      3. Trigger Column: Select the sheet column to set the trigger.
    4. Test: Test the trigger you've configured. It fetches data from the sheet's column you've selected.
  4. Click Continue with the selected record to set up Action.

Action

An action is a response to the trigger you've set. In this case, the action defines the data sent via Zap to Contlo when the trigger gets fired on the third-party application. Follow the steps below to set up an action:

  1. Click the Action block to open the Change Action modal.
  2. Search and select the Contlo (Latest) application to configure the action.
  3. You would be redirected to the Create or edit your Zap screen containing the Contlo configuration on a side panel. You can select the following events to be created in Contlo via the Zap:
    1. Create Custom Event v2
    2. Create user profile

Create Custom Event v2

To create an event in Contlo via Zapier, configure the steps as follows:

  1. App & event: Select Create Custom Event V2 event to send an event to Contlo when the trigger is activated.
  2. Account: Choose a store connected to your Contlo account where you want to send the event.
  3. Action: Define the required Action parameters as follows:
    1. Event ID: Add a unique ID for your event.
    2. Event name*: Enter your event name.
    3. Email: Enter the Email ID of the user to map the event to their profile
    4. Phone Number: Enter your customer's phone number to map the event to their profile.

      📘

      At least one of the following fields, either the Email address or Phone Number is mandatory.

    5. Whatsapp Opt In: Set this flag to True if you want the customer's phone number to be subscribed to WhatsApp, and set it to False otherwise.
    6. Event Time*: Define the time when to create this event. It accepts value in Epoch ms.
    7. Event Properties JSON: You can define custom properties for your event here. Accepts data in JSON format. Define a key and choose its value from the dropdown. Alternatively, you can manually add the properties in JSON format. Click Continue.
      Example JSON:
      {
       "appointment_id": "ap1",	
       "appointment_type": "cardiac",	
       "school": "hspublic",	
       "class": "7"
      }
      
  4. Test: Click Test Step to check if the Action is working. Zapier fetches the data selected in the Trigger's test step and sends the action information to Contlo. If you don't want to test the action, click Skip Test.
  5. Click Publish to take the Zap live.

Create User Profile

To create a user profile in Contlo via Zapier, configure the steps as follows:

  1. App & event: Select the Create Profile event to create a user profile in Contlo via the Zap.
  2. Account: Choose a store connected to your Contlo account where you want to create the user profile.
  3. Action: Define the required Action parameters as follows:
    1. Email: Enter the email ID for the new user.
    2. Phone Number: Accepts a String value. Enter the phone number for the new user profile.

      📘

      At least one of the following fields, either the Email address or Phone Number is mandatory.

    3. First Name: Enter the first name of the new user.
    4. Last Name: Enter the last name of the new user.
    5. Zip: Enter the zip code of the new user's address.
    6. City: Enter the city of the new user.
    7. Province: Enter the state of the new user.
    8. Country: Enter the country of the new user.
    9. Custom Properties JSON: You can define custom properties for your user profile here. Accepts data in JSON format. Define a key and choose its value from the dropdown. Alternatively, you can manually add the properties in JSON format. Click Continue.
      Example JSON:
      {
        "status": "Confirmed",
        "age": "48",
        "gender": "Male"
      }
      

      📘

      Ensure that the custom properties added here are already defined on your Contlo account. To add custom properties on Contlo, go to Settings > Marketing Settings > Profile Property and click the Add Property button.

  4. Test: Click Test Step to check if the Action is working. Zapier fetches the data selected in the Trigger's test step and sends the action information to Contlo. If you don't want to test the action, click Skip Test.
  5. Click Publish to take the Zap live.