Skip to main content
Cartegraph Campus

Webhook Example: Send a Text to the Task Owner

You must have administrator rights to access this feature.

This feature may not be available in every package. Not sure if you have this feature or you want to learn more about it? Send us a message at support@cartegraph.com

This example shows how to connect Cartegraph to Zapier using the Webhook automation block. In this example, we will receive a text message when a task is created in Cartegraph for a specified owner. We begin by starting an animation in Automation Manager and creating a webhook in Zapier.

  1. Create an Owner field in Tasks:
  • In Structure Manager, create a custom field in Tasks called Owner. This field is a lookup to the Labor recordset. This requires a Publish.
  • In Layout Manager, add the Owner field to the Task Setup section, in the Task Detail layout so it is visible when creating a task.
  1. Click iAdministration_sm.png>Automation Manager.
  2. Click Create Automation.
  3. Select the Send a notification after a task is created trigger.
  4. Click the trigger block in the center of the screen, and on the right side of the screen, enter which owner will receive the text message.
    webh text ex owner info.png
  5. Go to https://zapier.com/ and set up a free account or access your existing account.
  6. Click Make a Zap.
  7. In the When this happens dialog box, search for and select Webhooks by Zapier.
    webh text ex when this happens.png
  8. Inside Choose Trigger Event, select Catch Hook and click Continue.
  9. In the Pick off a Child Key option text box, type cgTasksClass
  10. Click Copy next to the Custom Webhook URL and then click Continue.
    webh text ex custom hook.png

Now that we have created our webhook, we will instruct the automation to act on the webhook, and we will test the interaction between the two.

  1. Switch to Cartegraph and drag the WebHook block into the Actions section in the center of the screen.
  2. Paste the Zapier-provided URL into the URL text box.
  3. Select Trigger Record for the Record Source.
    webh text ex trigger record for rec src.png
  4. Return to Zapier and click Test & Continue.
  5. Return to Cartegraph and click Test.
  6. Return to Zapier and, in the Do this dialog, search for and select SMS by Zapier.

webh text ex sms by zapier.png

  1. Click Continue to use the defaulted action event, Send SMS.
  2. Select the appropriate Zapier account (add one if necessary). Click Continue.

Enter a From Number.

  1. In the Message box, add a message and the fields to send in the SMS. Click iZapAddRows.png to add task fields.

The message cannot be more than 153 characters.
webh text ex message.png

  1. Click Continue.
  2. To send a sample SMS to the phone number in the SMS account, click Test.
  3. Click Done Editing.
  4. Enter a name for your Zap in the upper left corner, and then turn it on.
  5. Return to Cartegraph. Name, turn on, and save your automation.
  • Was this article helpful?