Whatsapp location in Digital bot

Hello all.

We are using a Digital bot for handling inbound messaging for whatsapp.

In one step, we would like the customer to share the location, and we tried to use an slot accepting .* to catch the URL, but in the slot variable only puts

http

Nothing more.

Anyone has catched the maps location in a Whatsapp bot?

Thanks

Hi davidlopez,

Just to clarify, you want the end user to say their location, and then capture it? or are you trying to do something automatic with whatsapp?

1 Like

Hello, Zino.

At one moment, in the Genesys Digital Bot, we want the user to share the location. For this we use a slot, and we try to capture the link.

The problem is that when the user shares the link, the text in the chat is (for example)

Location shared: Google Maps

And the text captured by the slot is:

https://maps.google.com/maps?q=325490279066763

The slot doesn't have 32.5490279,-0.76763 as coordinates, it has 325490279076763 (the comma and the - have been removed).

The slot is accepting .*, and by the results in the regex checker it should work.

Thanks.

Hey David,
Apologies for the late response.
There is a bug currently, I have created a ticket.

To fix the issue, you can use builtin:any slot type instead and that should keep the co-ordinates in the slot.

Javed

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