Skip to main content
Cartegraph Campus

Webhook Example: Send a Tweet When a Pothole Request Closes


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

The following is a step by step walkthrough connecting Cartegraph OMS to Zapier using the Webhook automation block.  In this example, we will send a tweet every time a pothole request is closed in Cartegraph. 

  1. In Cartegraph, begin to create an automation.  We are refining the trigger so the automation is only triggered when a request status switches from open to closed and the issue is Pothole.


  1. Go to  and set up a free account or access your existing account.
  2. Click Make a Zap.
  3. In the When this happens dialog, start to type webhooks, and select Webhooks by Zapier.


  1. Select the Catch Hook option and click Continue.


  1. In the Pick Off A Child Key field, enter cgRequestsClass.
  2. Click Copy to copy the Custom Webhook URL and click Continue.


  1. Switch back to Cartegraph and drag the WebHook block and drop it in the Actions section. 
  2. When the property panel displays on the right, paste the URL you copied from Zapier.
  3. Select Trigger Record as the Record Source and click Test.

 When you click Test, details for the record that was last modified in this recordset is sent to Zapier to test the connection.


  1. Switch back to Zapier, click Test trigger.
  2. If the test is successful, you will see We found a request! in the Find Data section. Click Continue.
  3. In the Do this dialog, start to type twitter and select Twitter from the list.


  1. Click the Create Tweet option, then click Continue.


  1. Select the Twitter account to use (create one if necessary) and click Continue.
  2. Enter the message text for the tweet as shown below. When you get to a part of the message that uses values sent from Cartegraph, select the field from the Insert Data list.


  1. When you finish, click Continue.
  2. Click Test & Continue to send a sample tweet to Twitter.
  3. After the test is successful, click Done Editing.
  4. Name your zap in the upper left and click Turn Zap On
  5. In Cartegraph, name, save, and turn on the automation.

Whenever you close a pothole request in Cartegraph, a tweet like this is sent: