- Action Types
- webhook
Action Types
webhook
If you haven’t learned about actions checkout the actions page.
Sends a http request to the a specified url with attributes.
typeRequired
string = 'webhook'
Must equal the string webhook
.
argsRequired
object
methodRequired
string = 'GET' or 'POST'
http method of the request. Must be caps. POST and GET are supported.
urlRequired
templatable string
url of the to make the request too.
headers
object
An object of the headers to send with the request. The values of the headers will be templated with liquid.
body
object
An object of the body to send with the request. The values of the headers will be templated with liquid.
Only Available for POST requests
{
"type": "webhook",
"args": {
"method": "POST",
"url": "https://someService.com/{{modelProperties.serviceId}}",
"headers": {
"Authorization": "Bearer {{modelProperties.apiKey}}"
},
"body": {
"taskCount": "{{eventProperties.taskCount}}"
}
}
}
See action for all the accessible properties for templating
We’ll build any action. No questions asked. Just email me at [email protected]