ReTool Workflow - How to return a string (not json)

Hi,

How to return a simple text/plain "string" after the Workflow execution? (not a json)

Thanks

1 Like

AFAIK, the webhook response itself will always be a JSON object, so I am assuming you mean you want a JSON object as a string for the value of one of the keys. If that's the case, have you tried { key: JSON.stringify(foo.data) } instead of { key: foo.data }?

No, I need a text/plain response.

Scenario: Meta's webhooks need to be validated by answering them with a text/plain string containing a value received in the query parameter.

Hello @som!

Unfortunately this is not currently possible. However, it is a requested feature that our engineer team is working on.

Will keep you updated!

+1 to this.

Same scenario, but with Microsoft instead of Meta.

1 Like

+1 to this