Skip to main content

I am creating an app which allows templating with the same syntax of merge tags as Zapier, double curly brackets.

But when a user creates a Zap and enters a double curly brackets into the textarea field, they are immediately converted into Zapier merge tags. How to avoid this?

Is there a way for user to escape them while entering text to avoid that conversion?

\{\{ or triple curly brackets or whatever?

@Alex Kachalov 

I asked this to the Zapier team before - sadly it’s not possible.

I can get them to add your vote to a feature request if you want?


Yes, please.


@Alex Kachalov - I’ve flagged this post so someone can do that for you.


Owari Jules from Zapier support has offered me a workaround:

While there's no way to escape this in our system at the moment, you may be able to have the user use another character in the editor such as square brackets - [test test] in the Editor for their templating.

When sending out your POST request to your server, you can have some Code that finds and replaces all uses of the [ ] brackets with the { } instead.
 

Seems a viable solution