Add country code to phone number

I am getting customer information (name, phone number, etc.) from a CRM system via API. I am building a workflow to append the data to a Google spreadsheet.

The phone number comes without country code, but I need to save it with country code (+55 for Brazil in my case) in front of the number. For example, if the API sends 51985957491, I would like to save this number as +5551985957491, appending +55 at the beginning.

Is there a way perhaps to modify the expression in the Set node to always include the “+55”?

Yes you can set the value to:

+55 {{$json[field]}}

2 Likes

So simple… Thanks @BramKn

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.