Skip to main content
Question

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

  • June 20, 2024
  • 5 replies
  • 72 views

Forum|alt.badge.img

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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • June 20, 2024

Hi @Dan for SEO 

Try this Zap action: Formatter > Text > Replace


Forum|alt.badge.img
  • Author
  • Beginner
  • June 20, 2024

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


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • June 20, 2024

@Dan for SEO 

Replace: Collectif

With: ♨️ Collectif

 

OR
 

Replace: {"Typedechauffage": "Collectif"}

With: ♨️ Collectif


Forum|alt.badge.img
  • Author
  • Beginner
  • June 20, 2024

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


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • June 20, 2024

@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.