Skip to main content
Question

How do I reformat JSON input text to include emoji in Zapier?

  • 20 June 2024
  • 5 replies
  • 51 views

Hi,

 

I am trying to reformat the following input text from an external application : {"Typedechauffage": "Collectif"}

In to : ♨️ Collectif

 

I tried so many things and can’t find the solution.


Can you please help ?

Dan

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +14

Hi @Dan for SEO 

Try this Zap action: Formatter > Text > Replace

Userlevel 1
Badge

Thank you @Troy Tessalone , the question is what to write into the Replace form?

Userlevel 7
Badge +14

@Dan for SEO 

Replace: Collectif

With: ♨️ Collectif

 

OR
 

Replace: {"Typedechauffage": "Collectif"}

With: ♨️ Collectif

Userlevel 1
Badge

That’s work only when I get the input: {"Typedechauffage": "Collectif"}

But sometimes the word Collectif changes, and I get: {"Typedechauffage": "Individuel"}

Then I just want to keep: ♨️ Individuel

Userlevel 7
Badge +14

@Dan for SEO 

If you are trying to extract the value and add the emoji before then try these steps:

  • Formatter > Text > Replace
    • Replace: {"Typedechauffage": "
    • With: nothing
  • Formatter > Text > Replace
    • Replace: "}
    • With: nothing

 

That leaves you with the text value, the you can map that value plus the emoji in following Zap steps.