Skip to content

Commit

Permalink
📝 (whatsapp) Re-organize whatsapp overview doc
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Oct 3, 2023
1 parent 876625d commit a102d45
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions apps/docs/docs/embed/whatsapp/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ WhatsApp is currently available as a private beta test. If you'd like to try it

You can preview and test your bot by clicking on the Preview button in the editor and change the runtime to "WhatsApp".

## Publish

Head over to the Share tab of your bot and click on the WhatsApp button to get the integration instructions of your bot.
<img src="/img/whatsapp/preview-dropdown.png" alt="WhatsApp preview dropdown" width="600px" />

## Limitations

Expand All @@ -23,27 +21,32 @@ WhatsApp environment have some limitations that you need to keep in mind when bu
- GIF and SVG image files are not supported. They won't be displayed.
- Buttons content can't be longer than 20 characters. If the content is longer, it will be truncated.
- Incompatible blocks, if present, they will be skipped:

- Payment input block
- Chatwoot block
- Script block
- Google Analytics block
- Meta Pixel blocks

## Configuration
## Contact information

You can customize how your bot behaves on WhatsApp in the `Configure integration` section
You can automatically assign contact name and phone number to a variable in your bot using a Set variable block with the dedicated system values:

<img src="/img/whatsapp/configure-integration.png" alt="WhatsApp configure integration" />
<img src="/img/whatsapp/contact-var.png" alt="WhatsApp contact system variables" width="600px" />

**Session expiration timeout**: A number from 0 to 48 which is the number of hours after which the session will expire. If the user doesn't interact with the bot for more than the timeout, the session will expire and if user sends a new message, it will start a new chat.
## Deploy on your phone number

**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.
Head over to the Share tab of your bot and click on the WhatsApp button to get the integration instructions of your bot.

## Contact information
### Configuration

You can automatically assign contact name and phone number to a variable in your bot using a Set variable block with the dedicated system values:
You can customize how your bot behaves on WhatsApp in the `Configure integration` section

<img src="/img/whatsapp/contact-var.png" alt="WhatsApp contact system variables" />
<img src="/img/whatsapp/configure-integration.png" alt="WhatsApp configure integration" width="600px" />

**Session expiration timeout**: A number from 0 to 48 which is the number of hours after which the session will expire. If the user doesn't interact with the bot for more than the timeout, the session will expire and if user sends a new message, it will start a new chat.

**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.

## FAQ

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit a102d45

@vercel
Copy link

@vercel vercel bot commented on a102d45 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs-git-main-typebot-io.vercel.app
docs-typebot-io.vercel.app
docs.typebot.io

Please sign in to comment.