How do I use a webhook to create a list of contacts with completed deal tasks?

In this article, we’ll show you how you can use a webhook in order to create a list of all contacts with Deal tasks marked as “Complete.” You may want to do this if you wish to later create your own Deal report that lists out the total number of completed tasks per contact.

To get started, you will need the following:
ActiveCampaign account on either the Plus, Professional, or Enterprise plan
Zapier account
Google Sheets (or any other spreadsheet software that integrates with Zapier)

To get started:

  1. In your ActiveCampaign account, click your avatar and click “My Settings.”


  2. Select Developer from the left side menu.


  3. Click “Manage Webhooks.”


  4. Click “Add.”

  5. Open a separate tab or window and log into your Zapier account then click "Make a Zap."
  6. Select Webhooks as your trigger and click “Catch Hook.” Click “Save + Continue.”


  7. Click “Continue” again.
  8. Copy the webhook URL to your clipboard by clicking the “Copy to Clipboard” button.


  9. Go back to the Webhook page in your ActiveCampaign account.
  10. Select which list will be associated with this webhook. In this example, we’re going to choose “All Lists.”
  11. Give your webhook a name and paste the webhook URL generated by Zapier into the URL bar.

  12. Click the Deal Task Completed checkbox to select it.
  13. Select where this webhook will run from by clicking it. In this example, we’re going to select both “by an admin user” and “By system process.” This webhook will run every time an account user marks a task as complete or when a system process, such as an automation action, marks the task as complete.

  14. Click the “Add” button.
  15. Then create a task for a test contact with an open deal and mark it as complete. This step is necessary in order to test your Zapier trigger.
  16. Go back to Zapier to finish creating your Zap.
  17. Click “Ok I did this” in order to test your trigger.


  18. Click “Continue” to proceed with setting up your action.


  19. Select Google Sheets from the list of available apps by clicking it.


  20. Select “Create Spreadsheet row” by clicking it. Then click “Save + Continue.”
  21. Connect your Google Sheets account to Zapier if it’s not connected already. Then click “Save + Continue.”


  22. Select the spreadsheet and worksheet you wish to update by selecting them from the appropriate dropdowns. Then, map the fields in your Google Sheet with the Contact fields you wish to capture in your ActiveCampaign account. Click “Continue.”

  23. Test the Zapier action and click “Finish.”


  24. Give your Zap a name and toggle it to on.

Moving forward, as tasks are marked as complete by users or system process, contacts will be added to your Google Sheet.

Note: Deal Tasks are available for accounts on the Plus, Professional, and Enterprise tiers.

Have more questions? Submit a request