Question

Convert html to markdown using "code by zapier" (java or python)

  • 7 May 2023
  • 1 reply
  • 264 views

Hello,

 

I am transferring data from podio to clio (one crm to another crm) but when it goes through, it all looks like this:

 

<p>example 1</p>

<p>example 2</p>
<p>example 3</p>
 

I want it all to look like this:

 

example 1

example 2

example 3

 

I know there is a function within zapier that allows me to change every single field manually (formatter by zapier), but this is not really viable because I am transferring over 100 fields of data over (so I’d have to manually input each one). 

 

I was told that if i use “code by zapier” I could insert some code and it would convert all the fields from html to markdown at once.

 

Does anyone know how I would do this? It has an option to do this with python or java, but I don’t know which one makes more sense for this task.

 

Thank you,

Mike


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

1 reply

Userlevel 7
Badge +14

Hi @masterzaper 

Good question.

One approach would be to ask ChatGPT (AI) for the code to use in the Zap Code step: https://chat.openai.com/