Hi all,
I am going to build a Instant Trigger module in Custom App. My goal is to trigger db changes in Webhook. I know there are 2 types in Webhook (Dedicated, Shared). In my case, I think I should use shared webhook.
Connection
{
// Request
"url": "http://example.com/auth/about", // Absolute URL to the API endpoint which validates credentials
"headers": { // Additional HTTP headers
"Authorization": "{{parameters.apiKey}}" // Authorizes user by API key, provided by user during the connection creation.
},
// Response handling
"response": {
"uid": "{{body.data.id}}",
"valid": "{{body.ok}}",
"metadata": { // Adds authorized user details to the connection label.
"type": "email", // Type of the parameter. Can be "text" or "email".
"value": "{{body.data.email}}" // The value in "email" will be displayed in connection's label.
},
"error": { // Error handling
"message": "[{{statusCode}}] {{body.error}}" // On error, returns error message as "[statusCode] error text".
}
},
"log": {
"sanitize": [ // Excludes sensitive parameters from logs.
"request.headers.authorization" // Omit HTTP header "Authorization".
]
}
}
Webhook Communication
{
"uid": "{{item.uid}}", // "UID" parameter is used to match the incoming event with their owners.
// The "UID" parameter must be defined in the connection specification.
"output": "{{item}}" // Returns JSON response item as an output bundle.
}
But when connect a webhook in scenario, I get this error: "Service account ID must be specified for shared webhooks.
I am not sure what the issue is now.
Any help would be appreciated.