Skip to content

Commit

Permalink
📝 Add flow share docs
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Dec 4, 2023
1 parent eeac493 commit e228f68
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
5 changes: 5 additions & 0 deletions apps/docs/docs/editor/blocks/integrations/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ Then you can give the OpenAI block access to this sequence of messages:

This action allows you to transform a text input into an audio URL that you can reuse in your bot.

:::note
The generated audio URLs are temporary and expire after 7 days. If you need to store them, make sure to download them before they expire.
:::

<div
style={{
position: 'relative',
Expand All @@ -48,6 +52,7 @@ This action allows you to transform a text input into an audio URL that you can
left: 0,
width: '100%',
height: '100%',
marginBottom: '1rem',
}}
/>
</div>
Expand Down
15 changes: 15 additions & 0 deletions apps/docs/docs/editor/publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Publish

Once you publish your bot, its public URL will work and you can send it to anyone and start collecting results.

You can always modify your bot and the new changes won't be published as long as you don't hit the Publish button again.

<img
src="/img/publish.png"
width="400"
alt="Publish menu"
/>

- "Restore published version": drop your current changes and revert the bot to its published version.
- "Close typebot to new responses": close your typebot and your users will see the following message: "This bot is now closed."
- "Unpublish typebot": mark the typebot as unpublished and your users will see the following message: "The bot you're looking for doesn't exist"
16 changes: 8 additions & 8 deletions apps/docs/docs/editor/share.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Share

Once you publish your bot, its public URL will work and you can send it to anyone and start collecting results.

You can always modify your bot and the new changes won't be published as long as you don't hit the Publish button again.
Your typebot flow can be publicly shared. For this, open the Share menu and enable the `Make the flow publicly available` option:

<img
src="/img/share.png"
width="400"
alt="Publish menu"
alt="Share menu"
/>

- "Restore published version": drop your current changes and revert the bot to its published version.
- "Close typebot to new responses": close your typebot and your users will see the following message: "This bot is now closed."
- "Unpublish typebot": mark the typebot as unpublished and your users will see the following message: "The bot you're looking for doesn't exist"
The flow can then be tested by non-authenticated guests. They are able to check all the options and can play the bot in preview mode.

<img
src="/img/guest-editor.png"
alt="Guest editor"
/>
Binary file added apps/docs/static/img/guest-editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/static/img/publish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/docs/static/img/share.png
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 e228f68

@vercel
Copy link

@vercel vercel bot commented on e228f68 Dec 4, 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.typebot.io
docs-git-main-typebot-io.vercel.app
docs-typebot-io.vercel.app

Please sign in to comment.