Formidable to Zapier JSON Newline

By: Chris Upright | Asked: 05/30/2024
ForumsCategory: Code HelpFormidable to Zapier JSON Newline
Chris Upright asked 2 months ago
I'm sending data from Wordpress Formidable to Zapier to another Webhook.   The problem is when one of the form fields (textarea) has a newline in it it's not being converted to the proper JSON "\n" and is breaking the code.   Question. How can I send the form data properly formatted from Formidable to Zapier?
1 Answers
Rob LeVineRob LeVine answered 2 months ago

I've never used a Zap before but it seemed like something fun to try. I created a Zap to create a file in my Google Drive. During the process of telling it what fields to put in the file, I set up a text event to convert each newline to backslash-n for the paragraph (textarea) field. It worked as far as I can tell.

Attachments
Chris Upright replied 2 months ago

Where did you set up a text event? In Zapier?

Rob LeVineRob LeVine replied 2 months ago

Yes, Zapier. See the screenshot.

Chris Upright replied 2 months ago

You sir won the internet today!

Rob LeVineRob LeVine replied 2 months ago

The internet? Is that still a thing?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right