Trigger Webhooks

Webhooks allow you to send data anywhere instantly. Integrations are a big part of what we're about at Content Villain so giving you an easy way to connect with other apps is essential to us.

Webhooks are an easy way to send data out to other applications instantly. You can use a webhook to start a process in Zapier, Integromat, Pabbly, N8n and all the other similar softwares. A webhook is like a high speed train with your data on it. It moves your data from point A to point B in an instant and you can then manipulate that data further to send an email, fill in a spreadsheet or anything else.

We wanted to make webhooks super simple to use and in the Document view of Content Villain, there is a red button which will instantly send data to the webhook specified so how do you trigger a webhook with Content Villain?

Check Webhook is Added

The first thing you want to do is make sure that a webhook is added. You can do this from the dashboard or by clicking the plus icon next to the Trigger Webhook button. Once you are sure you have a webhook saved into your account, click on the empty space below the 'Send Document to Webhook'. This will load up all of the webhooks saved into your account and you can choose the one which you want to use. This will now show instead of the empty space, you can change the webhook at any time.

Next up is simply hitting Trigger Webhook. This will then save the Document data to that webhook which you will receive in a few different fields. You are probably wondering exactly what data gets sent when a webhook is triggered? No problem. Let's take a look;

  • Document Title - The title of the document is sent in a field labeled 'title'.

  • Document Content - The text content of the document is sent in a field labeled 'content text'.

  • Document HTML - The HTML format of the document is sent in a field labeled 'content formatted'.

  • Document Notes - The document notes are sent in a field labeled 'Notes'.

Some users have made some incredibly powerful workflows by using the Title and Notes as secondary fields where they can put additional information. For example, putting a subject line in the Title and an email address in the notes means that you can use webhooks to automatically trigger workflows that send out emails!

Last updated