For webhook trigger, can you specify the run name in POST body?
When using a webhook trigger to start an instance, is it possible to specify the run name of that new instance in the POST body?
Best Answer
-
Thanks for clarifying @Tom_153935.
Based on my understanding of the help article, sending a POST body to a webhook trigger only sends Catalytic fields, field values, and data tables in a POST body. So, sending a POST body to a webhook trigger does not modify other things like the instance run name.
In your case, I recommend using the action type Workflow: Rename this Workflow. This action type achieves the same functionality as you described.
Workflow: Rename this Workflow
https://help.catalytic.com/docs/pushbot-rename-this-pushbot/5
Answers
-
@Tom_153935, I have a few comments to share based on the help article documentation for webhook triggers.
For webhook triggers, POST body is a way for an external system to send information to Catalytic. The external system can send Catalytic fields, field values, and data tables in a POST body.
Based on your question, which asks if you can send Catalytic the run name in the webhook trigger POST body, you cannot send the run name because the run name does not exist until you send a POST body which then starts a run instance.
Webhook Trigger > How to configure the POST body
https://help.catalytic.com/docs/webhook-trigger/#how-to-configure-the-post-bodyIf your question is whether you can place run name in the webhook trigger response, I recommend giving this approach a try and sharing your findings with Community. Here is a link to our recommended guide for asking detailed Community questions: https://community.pushbot.com/discussion/1306.
Webhook Trigger > How to configure the response
https://help.catalytic.com/docs/webhook-trigger/#how-to-configure-the-response0 -
Hi @Jozef_783863, thanks for looking at this. My question was whether you can set the display name of a run by specifying it in the POST body. Similar to how when you start a workflow for each row in the table, you can specify the batch instance display name.
0