Retool workflow which returns a base64 string

Hi,

I'm trying to create a tracking pixel within an email, where the image src is the Retool Webhook URL with custom parameters, and the return object isn't JSON, but a string (specifically a base64 image source), so the actual image on the email displays an image... doesn't seem to be a way of changing the return type of a webhook from JSON to a string.

Hey @FloodMatt - thanks for reaching out. :slightly_smiling_face:

The default response from hitting a webhook endpoint is JSON but you can customize it by adding a Response block.

Let me know if that doesn't work for your particular use case or if you have any follow-up questions!