Woocommerce to Bitly

Hello,
I have a trigger "WooCommerce : New Order Created" which captures a customer's latitude and longitude.
The action is WhatsApp Cloud API : Send Template Message. I need to send the customer's location via whatsapp but facebook does not approve special characters in the template therefore this template is rejected:

Client Billing Information
*Billing Name*
{{1}}

*Billing ID Number*
{{2}}

*Billing Phone Number*
{{3}}

*Location*
https://www.google.com/maps/dir/?api=1&destination={{4}}

The latitude and longitude captured by Pably Connect is: -17.768129996471057,-63.19126335452961

Is it possible to convert the location url into bitly shortened url and this way Facebook allows the template to be run?

Thank you.
 
P

Pabblymember11

Guest
Hey @Desarrollo Swiitch

It doesn't look possible to share the location in such a manner. You can send the location a simple text but location via API is not possible.
 
Top