Skip to main content

Hi mighty community

I inherited a zap at work. it catches a webhook from a website form, grab the details (name, email, phone and comments) and pass to a PHP page, Mulesoft somehow picks it up then creates a lead in Salesforce. 

For a long time, Zap fails at the POST action when the comments field receives apostrophe and line break. I had to manually remove them in Editing and replay the zap. 

I decided to automate this by using code action. The cleanedComments then gets included in the POST action.  

There’s no change to any other part of the zap and the composite of the message out to the PHP page posting. However, the name, email and phone seem all lost in transition. Have anyone experience this before?

 

Hi ​@Hao Li 

This looks to be a duplicate topic of yours: 

 


yes. I posted this first but couldn’t see this one after refresh the page. hence I re-post it. 

Can’t see where to delete this post.


Reply