You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a payment code via WhatsApp using the BAILEYS API through Typebot, the message formatting alters the content. The API returns a Pix payment code containing three consecutive asterisks (***), but when sent via WhatsApp, it only displays a single asterisk (*). This happens because WhatsApp interprets two asterisks as bold formatting, removing them from the displayed text.
To Reproduce
Steps to reproduce the behavior:
Make an HTTP request to an API that returns a Pix payment code.
Store the response in a variable within Typebot.
Send this variable as a WhatsApp message using the BAILEYS API.
The received message in WhatsApp will incorrectly display only one asterisk instead of three.
The WhatsApp message should display the payment code exactly as it was returned by the API, including all three asterisks (***) without interpreting them as formatting characters.
Screen recording
(If possible, attach a screen recording or screenshot showing the incorrect formatting in WhatsApp.)
Additional Information
I have tried escaping the asterisks using \* or different string formats, but nothing seems to work. Is there a way to ensure the message is sent exactly as it appears in the API response without triggering WhatsApp's text formatting?
The text was updated successfully, but these errors were encountered:
Describe the bug
When sending a payment code via WhatsApp using the BAILEYS API through Typebot, the message formatting alters the content. The API returns a Pix payment code containing three consecutive asterisks (
***
), but when sent via WhatsApp, it only displays a single asterisk (*
). This happens because WhatsApp interprets two asterisks as bold formatting, removing them from the displayed text.To Reproduce
Steps to reproduce the behavior:
Example:
Correct code returned by the API:
Code received on WhatsApp (incorrect formatting):
Expected behavior
The WhatsApp message should display the payment code exactly as it was returned by the API, including all three asterisks (
***
) without interpreting them as formatting characters.Screen recording
(If possible, attach a screen recording or screenshot showing the incorrect formatting in WhatsApp.)
Additional Information
I have tried escaping the asterisks using
\*
or different string formats, but nothing seems to work. Is there a way to ensure the message is sent exactly as it appears in the API response without triggering WhatsApp's text formatting?The text was updated successfully, but these errors were encountered: