This topic was automatically generated from Slack. You can find the original thread here.
how to build a workflow with a custom webhook for Webflow that returns a custom response when it is invoked?
This topic was automatically generated from Slack. You can find the original thread here.
how to build a workflow with a custom webhook for Webflow that returns a custom response when it is invoked?
To build a workflow with a custom webhook for Webflow that returns a custom response when it’s invoked, follow these steps: 1. Create a new workflow in Pipedream: https://pipedream.com/new 2. Add an HTTP trigger to your workflow. This will generate a unique webhook URL that you can use in Webflow. 3. Add a custom code step (Node.js) after the HTTP trigger. In this step, you can define the custom response you want to return when the webhook is invoked. For example: ```
await $respond({ status: 200, immediate: true, body: { message: “Custom response” } });
do you mean $.respond instead of $respond?
Apologies for the confusion in my previous response. You’re correct, it should be $.respond()
instead of $respond
. Here’s the updated example: ```
await $.respond({ status: 200, immediate: true, body: { message: “Custom response” } });