Guidance on Sending Complex JSON in HTTP Requests with Clay
Hey Clay team, I'm having difficulty with a complex JSON formula that includes multiple variables. I'm trying to send an HTTP request with a large prompt that includes: 1. String tokens (Text, URL) 2. A nested JSON array variable (List of items) When using Formula Mode with proper escaping I'm still getting a "Failed to parse body input" error with "Bad control character in string literal in JSON at position XX". The same formula works perfectly when I remove the tokens and use plain text, so I believe it's related to how Clay handles the insertion of complex nested JSON (particularly lists). Could you please advise on the correct approach for including both string tokens and nested JSON lists in a complex HTTP request body? Is there a specific syntax I should be using for these different token types? If there is a comprehensive guide or a video on how to do this it would be amazing! Thank you!