How to convert \\n to new line in Insta Post

Alston

Member
Your Workflow URL
https://connect.pabbly.com/workflow/mapping/IjU3NjcwNTZjMDYzZjA0MzQ1MjZhNTUzMjUxMzQi_pc
Your Task History ID
IjU3NjUwNTY0MDYzNTA0MzM1MjZkNTUzNjUxMzc1MTY1NTQzMDBmMzIi_pc
Consent to Access & Modify
I authorize Pabbly Support to log in to my account and make changes to the specified workflow for troubleshooting.
Hi, Can you let me how to automatically replace "\\n" into new line when posting to Insta.

I have tried using Text Formatter with Replace but still it's not working.
 

Alston

Member
Yes Please refer to these:

 

Preeti Paryani

Well-known member
Staff member
Hi @Alston,

Upon reviewing your workflow, I can see that you have correctly added the Text Formatter (Pabbly) – Replace Text step. However, the issue is that its output is not mapped in the Instagram for Business – Create (Upload) and Publish Photo action.

Currently, the Caption field is still mapped from the original response instead of the formatted result.

Please do the following:
  1. Open the Instagram for Business – Create (Upload) and Publish Photo step.
  2. In the Caption field, remove the existing mapped value.
  3. Map the Result field from Step 4 – Text Formatter (Replace Text) instead.
  4. Save and test the workflow again.
This will ensure that the replaced line breaks (<br>) are correctly passed to Instagram and prevent formatting-related issues.

Let us know once tested.

1771824969530.png


1771824962942.png
 
Top