2
0

📝 (whatsapp) Add position collection example

This commit is contained in:
Baptiste Arnaud
2024-05-12 08:02:35 +02:00
parent e4a7774c40
commit e755f08b40
3 changed files with 25 additions and 0 deletions

View File

@ -61,6 +61,31 @@ You can customize how your bot behaves on WhatsApp in the `Configure integration
**Start bot condition**: A condition that will be evaluated when a user starts a conversation with your bot. If the condition is not met, the bot will not be triggered.
## Collect position
You can ask for the user's location with a basic [Text input block](../editor/blocks/inputs/text). It will be saved as a variable with the latitude and longitude with the following format: `<LAT>, <LONG>`.
<Tabs>
<Tab title="Flow">
<Frame style={{ maxWidth: '400px' }}>
<img
src="/images/whatsapp/position-flow.jpg"
alt="Position collection flow"
className="rounded-lg"
/>
</Frame>
</Tab>
<Tab title="Bot">
<Frame style={{ maxWidth: '400px' }}>
<img
src="/images/whatsapp/position-bot.png"
alt="Position collection bot"
className="rounded-lg"
/>
</Frame>
</Tab>
</Tabs>
## FAQ
<AccordionGroup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB