¿Is it possible to use the custom request to get location without calling a second flow?

(Augusto Vera) #1

I am launching the custom requesto to send a location button, then a text question, but it does not work, all I need are the coordinates of the location sent by the user. If I do not ask the question after the location button it appears but the flow does not stop, and if I put the question the flow stops but the send location button dissapears.

(Daniel Beckett) #2

Unfortunately the new file trigger is required which means that it’s always going to be a two flow process. The first flow should end with the request location action and then any further actions should continue in the flow with the new file trigger.

(Augusto Vera) #3

Thanks Daniel, I need to get back to the triggering flow because I captured some data previous to the location, and also in order to finish it with more data capture, ¿if I trigger back the parent flow and jump to a label where I left, will it preserve the previously captured data?

(Daniel Beckett) #4

You could save data to Attributes which are stored against the user’s response path automatically and available in both flows. This way you can use the data you had in the previous flow and then capture everything else in the new one.

1 Like
(Augusto Vera) #5

Just one more question. ¿The value returned is a Json, or text of the location coordinates?

(Karen Barker) #6

Hi,

The values of the coordinates are returned as lat and long values in the metadata of the “Receive a file” trigger. :slight_smile:

1 Like
(Augusto Vera) #7

Thanks it worked and managed to store it in a backend database! :slight_smile: