• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

  • Our team is not available on 25th December 2024 due to the Christmas holiday. We'll be back on 26th December 2024.

    We appreciate your understanding as support responses may be delayed slightly.

HTML to Markdown action broken?

apps

Member
I am trying to turn HTML into Markdown but the action does not work.

See this workflow on step 7:

I need to integrate this into Onparallel.com which supports Markdown but Pabbly's output is broken.

Input example:
<b>JOB<br> Company Name: </b>Test Rebeka Company<br><b> Project Name: </b>Our Amazing Test Project Job<br><b> Job title: </b> Butcher at Our Amazing Test Project Job<br><b> Job description: </b>Task description

Line 2<br><b> Workplace type: </b>Construction/factory<br><br> <b>DURATION & LOCATION<br> </b><b>Estimated Start Date: </b>11/30/2023 1:00:00 AM<br><b> Working Location: </b>Frederiksbjergsgade 24 - 1459 KBH<br><b>Work Duration: </b>Project Hire (until 1/8/2024 1:00:00 AM)<br><br> <b>PAYMENT<br></b>Basic Salary 13003 <br> Salary Type 2 1231 <br><br><b>SCHEDULE<br> Working Hours<br> Per Week: </b>7 - 9 hours per week<br><b> Per Day: </b>3 hours per day<p><b> Working Days: </b>Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, All weekdays, All weekend, All 7 days<br><b> Shift: </b>07:00 - 16:00<br><b> Rotation: </b>2 weeks on, 5 weeks off<br><br> <b>MOBILISATION<br><br> <b>Accomodation</b><br><b>Accomodation Type: </b>Apartment (2 bed)<br> Price (monthly): </b> €23 EUR <br><b> Included in salary: </b>Paid by Employer<br><br> <b>Travel Expenses<br> Provided: </b>Yes - Rotation<br><br> <b>Any other comments: </b>Other comments<br><br> <b>REQUIRED ITEMS<br> Work Clothes: </b>Bring your own for test period<br><b> Work Equipment: </b>Provided by employer<br><br> <b>REQUIREMENTS<br> Job Type: </b>Butcher<br><b> Education: </b>Degree<br><b> Certificates: </b>Deboning, Bowel<br><b> Language Skills: </b><br><b> Material(s): </b>Material description<br><b> Job Skills: </b>Job Skills example

Result example:
\*\*JOB Company Name:\*\* Test Rebeka Company \*\*Project Name:\*\* Our Amazing Test Project Job \*\*Job title:\*\* Butcher at Our Amazing Test Project Job \*\*Job description:\*\* Task description Line 2 \*\*Workplace type:\*\* Construction/factory \*\*DURATION & LOCATION Estimated Start Date:\*\* 11/30/2023 1:00:00 AM \*\*Working Location:\*\* Frederiksbjergsgade 24 - 1459 KBH \*\*Work Duration:\*\* Project Hire (until 1/8/2024 1:00:00 AM) \*\*PAYMENT\*\* Basic Salary 13003 Salary Type 2 1231 \*\*SCHEDULE Working Hours Per Week:\*\* 7 - 9 hours per week \*\*Per Day:\*\* 3 hours per day \*\*Working Days:\*\* Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, All weekdays, All weekend, All 7 days \*\*Shift:\*\* 07:00 - 16:00 \*\*Rotation:\*\* 2 weeks on, 5 weeks off \*\*MOBILISATION \*\*Accomodation\*\* \*\*Accomodation Type:\*\* Apartment (2 bed) Price (monthly):\*\* €23 EUR \*\*Included in salary:\*\* Paid by Employer \*\*Travel Expenses Provided:\*\* Yes - Rotation \*\*Any other comments:\*\* Other comments \*\*REQUIRED ITEMS Work Clothes:\*\* Bring your own for test period \*\*Work Equipment:\*\* Provided by employer \*\*REQUIREMENTS Job Type:\*\* Butcher \*\*Education:\*\* Degree \*\*Certificates:\*\* Deboning, Bowel \*\*Language Skills:\*\* \*\*Material(s):\*\* Material description \*\*Job Skills:\*\* Job Skills example
 

apps

Member
Here you see a proper example:
1718097348750.png


This works:
1718097422885.png
 
A

Arshita

Guest
Hey @apps

Could you please confirm if you wish to remove the asterisk (*) from the response received as a markdown so that you get the details without any asterisks in it?

Please confirm so that I can check and assist you accordingly.
 

apps

Member
Hi @Arshita ,

I want to convert it to proper Markdown like this:

I get stuff like this from Pabbly:
\*\*

Can paste the output into any markdown reader and you'll see that the output from your action is not correct.

*'s are used extensively in Markdown for bold text, italic etc. so it should be there but it is not used correctly in the output from Pabbly. Please check the above link for info on Markdown syntax and the HTMl equivalent.
 

apps

Member
Second issue: and even with manual text the linebreaks are missing when they are sent:
See this and see the linebreaks:
1718132168084.png


And the result - linebreaks are gone.:
1718132224014.png

I just need to make a Markdown text from HTML conversion that is correctly formatted and can be sent as JSON to other apps.
 
A

Arshita

Guest
As I can see and as you've mentioned earlier, asterisks are widely used in Markdown to signify bold text.
Upon reviewing your HTML, I noticed that you're using bold text formatting (<b>) in your HTML, which is causing issues with the Markdown response with asterisks.

Therefore, I kindly request you to remove the bold text formatting from the HTML and test it again on your end.

1718177689376.png
 
A

Arshita

Guest
In that case, you can do one thing.

After the HTML to markdown action step, add a Text Formatter (Pabbly): Replace Text action step where you map the markdown response.

Then, in the text formatter, replace the asterisks with nothing for that response.

1718189100104.png
 

apps

Member
Hi, I am not sure what that does accomplish?
1718190473308.png


I need line breaks and bold and italic text in correct Markdown format as output to send in a webhook to Parallel as I showed. The asterix is used for both bold and italic formatting so why remove it?
1718190519060.png

1718190496578.png
 
A

Arshita

Guest
I've added a Text Formatter step for you. Please check if the response you're receiving from this step is satisfactory.

1718192241387.png

If not, I suggest using the OpenAI action step to make the text bold and italic.

1718192268218.png
 

apps

Member
Hi @Arshita,

1. I do not see any changes made to my flow.
2. I think we misunderstanding eacher. I need to convert HTML to Markdown. And it is not working inside Pabbly COnnect. Why not fix the action so it works? I have a very basic HTML code with linebreaks Italic and bold. And I simply want to convert it to markdown. What you're providing above is just removing all formatting and linebreaks.

My problem is super simple: Convert HTML to valid Markdown. But the Pabbly conversion is broken.

So this:
1718204328291.png

Turns into this:
1718204359628.png


Which will show up as this in tools that support markdown:
1718204419537.png


Can't you fix the Markdown converter action so it works as it should?
 
A

Arshita

Guest
Kindly check the 9th step of your workflow.
I've added a Text Formatter step for you. Please check if the response you're receiving from this step works for you.

1718272361447.png



Furthermore, the HTML to Markdown step will work like this only, as we have already mentioned that asterisks will appear because you have bold text in your HTML.

To remove the asterisks, we have added the Text Formatter Replace Text action step. Please check if this works for you. Otherwise, you will need to use OpenAI for this.
 

apps

Member
Again, this step you show only removes all formatting which solves nothing. Why do you keep talking about removing the asterixes? Asterix is used in Markdown for formatting.

As I said::
A. I want to convert HTML to Markdown.
B. And of course this includes basic formatting like line breaks, bold, italic etc.
C. Your HTML to Markdown converter does not convert HTML to Markdown. So it is broken. That's the problem.

I want to convert valid HTML to valid Markdown. That's all I'm trying to do. How can I do that when your HTML to Markdown converter is done.
 
A

Arshita

Guest
Can you please let me know the Markdown response you are receiving, where you are mapping this response like in which action step?

Please help me with a screenshot showing where you are mapping this Markdown response so that I can check and assist you.
 

apps

Member
I have tried to make my own coonverter using many different text replacements, but it's a mess. See the input and the result of the markdown conversion in step 7 here.

And see the result of the manual Markdown conversion in step 15 - which has the desired output.

This is the flow:
 
A

Arshita

Guest
Thank you for sharing the information.

Please allow us some time to check your concern with the tech team and I will update you shortly.
 
Top