The anthropic-claude:createAMessage module wraps all responses in {"data":"..."} — how do I strip this in the flow?”

:bullseye: What is your goal?

My goal is for at the end of my scenario, I have the gmail module send me a copy of blog post ideas. When I receive the email it has JSON data like this throughout the body of the email.

:thinking: What is the problem & what have you tried?

Same as the above and i have tried everything. From adding prompts like 'only output response in plain text, no markdown, no json". Nothing has worked.

:clipboard: Error messages or input/output bundles

Here is the body of the email (excerpts)

{“data”:"
Fresh Cuts for Fresh Starts: Spring Grooming Trends to Refresh Your Look This Season

\n
Spring has finally arrived in Windsor Terrace, and just as the neighborhood shakes off winter’s chill, it’s the perfect time to refresh your look with a new cut and updated grooming routine.
\n

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hello,

Welcome to the Community!

Could you please show us your Gmail’s module configuration? Please blur any email addresses visible.

With Create a Prompt you can set up response format using advanced settings - please take a look there as well and set it to “text”

1 Like