"Access ... has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource ..."
First, please ensure you have the enabled the flag/checkbox "Allow webhooks from browsers" in your webhook connector, as instructed in our docs
As noted there, this flag should automatically add the following three headers to the webhook response:
However, there are times when the origin has stricter requirements, and the error is still returned even though the flag is enabled. In these cases, you may need to explicitly define Access-Control headers in your trigger-reply, as shown below:
Also note that to use the trigger-reply, your webhook will need to use an operation such as "Await workflow and respond"
Please sign in to leave a comment.