Share feedback, ideas and get community help

Updated 3 weeks ago

Two bots in same page

I have two bots in the same page. One, bot1 is a popup form that starts when a button is clicked and the other, bot 2, is a bubble to interact with users. Bot 2 (bubble) is set via wordpress plugin. I use some other buttons to open this bot 2 aswell so i can put some text in the input field.
My problem is that if a user starts a form (via popup bot 1) and clicks to 'exit' the popup, the bot stays 'suspended' and if i call Typebot.open(); on a cick of a button both bots open, not only the bot2 (bubble from plugin) as i want.
Is there a way to open a particular bot if both are present in the same page?
If i set to initiate bot2 in a button click then i will have double bubble bots...
2
M
P
i
31 comments
Give a look to https://docs.typebot.io/deploy/web/libraries/html-javascript and https://www.npmjs.com/package/@typebot.io/js to better understand how to manage differents istances.

I'm not expert but i think that these link can help you and i've tried to use IA to have scripts that you can test :

Initialize Bot1 (Popup):

Use the following script to initialize the popup bot:

javascript

<script type="module">
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js';
const bot1 = new Typebot();
bot1.initPopup({
typebot: 'YOUR_BOT1_ID',
// Additional configuration for bot1 if needed
});
</script>
Initialize Bot2 (Bubble):

Use this script to initialize the bubble bot:

javascript

<script type="module">
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js';
const bot2 = new Typebot();
bot2.initBubble({
typebot: 'YOUR_BOT2_ID',
// Additional configuration for bot2 if needed
});
</script>

Control Each Bot Separately:

To open Bot1 (Popup): Use bot1.open();
To open Bot2 (Bubble): Use bot2.open();
To integrate the Typebot scripts:

  1. Insert the Scripts into Your Page Code
If you have direct access to the page code (HTML, CSS, JavaScript), you can include the scripts as follows:

Open your webpageโ€™s HTML file or editor.
Insert the following code in the <head> section or before the closing </body> tag:
html

<script type="module">
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js';

// Initialize Bot1 (Popup)

const bot1 = new Typebot();
bot1.initPopup({
typebot: 'YOUR_BOT1_ID', // Replace with your Bot1 ID
});

// Initialize Bot2 (Bubble)

const bot2 = new Typebot();
bot2.initBubble({
typebot: 'YOUR_BOT2_ID', // Replace with your Bot2 ID
});
</script>
Add buttons to control the bots on your webpage:

html

<button onclick="bot1.open()">Open Bot 1 (Popup)</button>
<button onclick="bot2.open()">Open Bot 2 (Bubble)</button>

  1. WordPress
two ways:

a) Via the functions.php File

Go to Appearance > Theme File Editor in your WordPress dashboard.

Open the functions.php file of your active theme.

Code:

php

function add_typebot_scripts() {
?>
<script type="module">
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js';

// Initialize Bot1 (Popup)
const bot1 = new Typebot();
bot1.initPopup({
typebot: 'YOUR_BOT1_ID',
});

// Initialize Bot2 (Bubble)
const bot2 = new Typebot();
bot2.initBubble({
typebot: 'YOUR_BOT2_ID',
});
</script>
<?php
}
add_action('wp_footer', 'add_typebot_scripts');

b) Plugin

Install a plugin like Insert Headers and Footers.

Go to Settings > Insert Headers and Footers.

Paste the same Typebot script into the Footer Scripts section.

  1. If You Use Elementor or Other Page Builders
If your website uses a page builder like Elementor:

Edit the page where you want the bots.
Add an HTML Widget or a Custom Code Block.
Paste the Typebot script into the widget and save.
Obviously these last replies have been realied with IA (trained with typebot documentation) help ๐Ÿ˜‰
thank you i'll try it .
you are welcome.
Please give me a feedback that i'm curious if it work well or not.
Thank You
sure. i'll share the output
nothing works. by clicking buttons nothing happens. And the objective is not the same...

I have the typebot wordpress plugin to show the bot bubble in all pages (bot1);

Also i have some buttons (and links) that opens the bot1 and populate the input text field;

I have a button to open a specific bot2 in popup mode;

If i hit a link/button to open bot1 before i open bot2, it works well. But if i click the button to open bot2 (as a popup) and then close the popup and if i use links/buttons to open default bot1, both bots open (popup and bubble);

I guess that i would have to kill bot2 everytime/when the popup is closed;
reading your flow me too think that you have to kill bot2 and the "solution" can be on the pop up management.
How do you manage it?
it's a bot that initiates in popup mode. What do you mean with "How do you manage it?"
Something should work... maybe using the option: onClose?: () => void;
i mean that a pop up can be built in a lot of ways for example with a specific plugin or with a page builder look like elementor or also with code etc etc
related to your popup there's to investigate in the close function that need to be customized to kill your bot for example usig onclose function a code similar to this:

<script type="module">
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js';

// Initialize Bot2 (Popup)
const bot2 = new Typebot();
bot2.initPopup({
typebot: 'YOUR_BOT2_ID', // Replace with your Bot2 ID
onClose: () => {
console.log('Bot2 closed');
// Destroy Bot2 or reset its state to avoid interference
bot2.destroy();
},
});

// Button to open Bot2
document.getElementById('open-bot2').addEventListener('click', () => {
bot2.open(); // Open the popup bot
});
</script>
i guess that's not the way forward
Its better to install your code on Tag Manager if you embed it on wordpress, i have some case that typebot script can broke another external script

And if you plan to open typebot with button trigger, just use hide and show elements on your wordpress builder
Thanks for the reply. i'll try that option for what regards using Tag Manager to push a bot instead of the plugin.
About the show/hide i'm not conviced or i'm not seeing it through...
Can anyone tell me if we can address to a bot that is on the same page as other bots? I'm trying IDs without success. How can one open a specific bot where's without interfer with other bots?
Can anyone let me know if i can kill an instance of a bot? this is getting complex and i'm loosing focus and energy with a simple feature...
Hi @Phill, sorry to hear that you struggle here
That's a good use case, let me try out on my end first
Indeed it does not seem we can open a particular embed when we have 2 different
OK I'm shipping something for this
For each command you can now pass an optional id prop to target a specific typebot. I.e. Typebot.open({ id: 'my-bubble' })
embed lib v0.3.33
Thank you very much.
you rock! @Baptiste thank you
@Baptiste There's a bug when using Library version: 0.3.33.
The flow gets stuck when dealing with HTTP Request block > Methode GET > Execute on client ... ON.
I've tested with POST and GET with no issues but when i test with GET with 'Execute on client' ON it stucks the flow in this block.
I've changed back to Library version: 0.3.12 and the block works as expected. (unfortunately the multiple bots in same page don't)
FYI Library version: 0.3.14 is the last version where HTTP Request block > Methode GET > Execute on client ... ON works for me. After that version 0.3.20 and so on I get the stuck problem where the chat stays at "infinite writting mode" image.
Can you provide a link so that I can reproduce the issue? @Phill
@Baptiste sure no problem. sending you PM.
Sorry I overlooked, I thought you were using cloud version
The lib v0.3.33 is not compatible with your Typebot instance version
So to use that lib version, you will need to upgrade your Typebot instance
I am currently releasing a new version: 3.2.0, make sure to wait for the deployment to finish: https://github.com/baptisteArno/typebot.io/actions/runs/12212084763
Add a reply
Sign up and join the conversation on Discord
Initialize Bot2 (Bubble):Use this script to initialize the bubble bot:javascriptControl Each Bot Separately:To open Bot1 (Popup): Use bot1.open();To open Bot2 (Bubble): Use bot2.open();","upvoteCount":0,"dateCreated":"2024-11-29T12:17:41.574Z","datePublished":"2024-11-29T12:17:41.574Z","dateModified":"2024-11-29T12:17:43.702Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#ca4ef187-5a20-4858-819f-f6f18fda41b8","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"To integrate the Typebot scripts:Insert the Scripts into Your Page CodeIf you have direct access to the page code (HTML, CSS, JavaScript), you can include the scripts as follows:Open your webpageโ€™s HTML file or editor.Insert the following code in the section or before the closing tag:htmlAdd buttons to control the bots on your webpage:htmlWordPresstwo ways:a) Via the functions.php FileGo to Appearance > Theme File Editor in your WordPress dashboard.Open the functions.php file of your active theme.Code:phpfunction add_typebot_scripts() { ?> Insert Headers and Footers.Paste the same Typebot script into the Footer Scripts section.If You Use Elementor or Other Page BuildersIf your website uses a page builder like Elementor:Edit the page where you want the bots.Add an HTML Widget or a Custom Code Block.Paste the Typebot script into the widget and save.","upvoteCount":0,"dateCreated":"2024-11-29T12:18:58.711Z","datePublished":"2024-11-29T12:18:58.711Z","dateModified":"2024-11-29T12:18:58.711Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#a836ef4a-1a60-42fb-9145-579d25bf4208","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"Obviously these last replies have been realied with IA (trained with typebot documentation) help ๐Ÿ˜‰","upvoteCount":0,"dateCreated":"2024-11-29T12:24:21.545Z","datePublished":"2024-11-29T12:24:21.545Z","dateModified":"2024-11-29T12:24:21.545Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#722f1d00-6ca8-4734-aca1-a966a5b2662f","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"thank you i'll try it .","upvoteCount":0,"dateCreated":"2024-11-29T12:26:15.594Z","datePublished":"2024-11-29T12:26:15.594Z","dateModified":"2024-11-29T12:26:15.594Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#f051dc1e-baa6-4e29-9686-841625708ec3","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"you are welcome.Please give me a feedback that i'm curious if it work well or not.Thank You","upvoteCount":0,"dateCreated":"2024-11-29T12:27:11.028Z","datePublished":"2024-11-29T12:27:11.028Z","dateModified":"2024-11-29T12:27:11.028Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#edb8880c-c7b7-4b20-85fb-96b26ee77dc9","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"sure. i'll share the output","upvoteCount":0,"dateCreated":"2024-11-29T12:27:36.837Z","datePublished":"2024-11-29T12:27:36.837Z","dateModified":"2024-11-29T12:27:36.837Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#8142f8e2-e983-4b09-b868-dfc3fd7a9208","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"nothing works. by clicking buttons nothing happens. And the objective is not the same... I have the typebot wordpress plugin to show the bot bubble in all pages (bot1);Also i have some buttons (and links) that opens the bot1 and populate the input text field;I have a button to open a specific bot2 in popup mode;If i hit a link/button to open bot1 before i open bot2, it works well. But if i click the button to open bot2 (as a popup) and then close the popup and if i use links/buttons to open default bot1, both bots open (popup and bubble);I guess that i would have to kill bot2 everytime/when the popup is closed;","upvoteCount":0,"dateCreated":"2024-11-29T13:02:25.579Z","datePublished":"2024-11-29T13:02:25.579Z","dateModified":"2024-11-29T13:02:25.579Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#09b7a097-3362-4b26-83f4-65e49e8d93f3","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"reading your flow me too think that you have to kill bot2 and the \"solution\" can be on the pop up management.How do you manage it?","upvoteCount":0,"dateCreated":"2024-11-29T13:06:14.396Z","datePublished":"2024-11-29T13:06:14.396Z","dateModified":"2024-11-29T13:06:14.396Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#51126835-a455-4eac-9a7d-76c46ae2a53e","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"it's a bot that initiates in popup mode. What do you mean with \"How do you manage it?\" Something should work... maybe using the option: onClose?: () => void;","upvoteCount":0,"dateCreated":"2024-11-29T13:15:15.472Z","datePublished":"2024-11-29T13:15:15.472Z","dateModified":"2024-11-29T13:15:15.472Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#6e6d5360-ecf8-446a-984c-4f3a598aa9a7","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"i mean that a pop up can be built in a lot of ways for example with a specific plugin or with a page builder look like elementor or also with code etc etcrelated to your popup there's to investigate in the close function that need to be customized to kill your bot for example usig onclose function a code similar to this:","upvoteCount":0,"dateCreated":"2024-11-29T13:19:26.584Z","datePublished":"2024-11-29T13:19:26.584Z","dateModified":"2024-11-29T13:19:26.584Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#c1f06341-3c9e-463e-9a68-3682e7a85f75","author":{"@type":"Person","url":"https://community.typebot.io/members/06269f8c-2ffe-4173-91a7-e0f2490ee2f8","name":"Mario Barretta","identifier":"06269f8c-2ffe-4173-91a7-e0f2490ee2f8","image":"https://cdn.discordapp.com/avatars/695557129049735179/37fdd4d775f348f08e32a44b3b7898af.webp?size=256"}},{"@type":"Answer","text":"i guess that's not the way forward","upvoteCount":0,"dateCreated":"2024-11-29T14:37:53.544Z","datePublished":"2024-11-29T14:37:53.544Z","dateModified":"2024-11-29T14:37:53.544Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#d79282f3-cb54-431f-b33b-5c848ab6868e","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Its better to install your code on Tag Manager if you embed it on wordpress, i have some case that typebot script can broke another external script And if you plan to open typebot with button trigger, just use hide and show elements on your wordpress builder","upvoteCount":0,"dateCreated":"2024-11-29T16:38:36.085Z","datePublished":"2024-11-29T16:38:36.085Z","dateModified":"2024-11-29T16:38:36.085Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#3b07cd4c-fe09-445a-9e31-6600b42694fb","author":{"@type":"Person","url":"https://community.typebot.io/members/62253d1b-d887-4c50-a25d-5e6415faaa9b","name":"imoclub","identifier":"62253d1b-d887-4c50-a25d-5e6415faaa9b","image":"https://cdn.discordapp.com/avatars/652171198867963923/97f5ac2f0e0e90d747a4297611c423b6.webp?size=256"}},{"@type":"Answer","text":"Thanks for the reply. i'll try that option for what regards using Tag Manager to push a bot instead of the plugin. About the show/hide i'm not conviced or i'm not seeing it through...","upvoteCount":0,"dateCreated":"2024-11-29T18:36:06.838Z","datePublished":"2024-11-29T18:36:06.838Z","dateModified":"2024-11-29T18:36:44.096Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#1a04eb8c-2712-4ba9-b494-ed4e4d207ddd","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Can anyone tell me if we can address to a bot that is on the same page as other bots? I'm trying IDs without success. How can one open a specific bot where's without interfer with other bots?","upvoteCount":0,"dateCreated":"2024-11-29T19:02:57.579Z","datePublished":"2024-11-29T19:02:57.579Z","dateModified":"2024-11-29T19:02:57.579Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#684ae5b8-4b7c-4e57-ba47-19d99a60ba1f","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Can anyone let me know if i can kill an instance of a bot? this is getting complex and i'm loosing focus and energy with a simple feature...","upvoteCount":0,"dateCreated":"2024-11-30T18:56:37.477Z","datePublished":"2024-11-30T18:56:37.477Z","dateModified":"2024-11-30T18:56:37.477Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#90ea25d2-43c4-4267-b453-c044ab2f752e","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Hi @Phill, sorry to hear that you struggle here","upvoteCount":0,"dateCreated":"2024-12-01T17:19:34.470Z","datePublished":"2024-12-01T17:19:34.470Z","dateModified":"2024-12-01T17:19:40.819Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#ea28e0db-5109-44df-a2fb-f2d8bb4dbdf4","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"That's a good use case, let me try out on my end first","upvoteCount":0,"dateCreated":"2024-12-01T17:20:49.868Z","datePublished":"2024-12-01T17:20:49.868Z","dateModified":"2024-12-01T17:20:49.868Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#8b5db774-818d-4176-8c80-05ea365b2caf","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"Indeed it does not seem we can open a particular embed when we have 2 different","upvoteCount":0,"dateCreated":"2024-12-01T17:23:06.506Z","datePublished":"2024-12-01T17:23:06.506Z","dateModified":"2024-12-01T17:23:06.506Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#5f65c56d-c855-4b91-996e-38b6e576508a","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"OK I'm shipping something for this","upvoteCount":0,"dateCreated":"2024-12-01T17:43:27.532Z","datePublished":"2024-12-01T17:43:27.532Z","dateModified":"2024-12-01T17:43:27.532Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#37ea81f1-c7cd-4b06-9a30-2029ef6931e2","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"For each command you can now pass an optional id prop to target a specific typebot. I.e. Typebot.open({ id: 'my-bubble' })","upvoteCount":0,"dateCreated":"2024-12-01T17:59:16.620Z","datePublished":"2024-12-01T17:59:16.620Z","dateModified":"2024-12-01T17:59:16.620Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#25c81c03-c692-4432-bf7f-a51db2c53860","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"embed lib v0.3.33","upvoteCount":0,"dateCreated":"2024-12-01T17:59:31.902Z","datePublished":"2024-12-01T17:59:31.902Z","dateModified":"2024-12-01T17:59:31.902Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#3627efea-8a3b-4594-8032-1c7b6f104773","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"Thank you very much.","upvoteCount":0,"dateCreated":"2024-12-01T19:26:39.827Z","datePublished":"2024-12-01T19:26:39.827Z","dateModified":"2024-12-01T19:26:39.827Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#31d68053-57d8-4a4c-b39b-0207985608ed","author":{"@type":"Person","url":"https://community.typebot.io/members/747489ef-203c-4814-8cf9-6562f510bfeb","name":"nuo","identifier":"747489ef-203c-4814-8cf9-6562f510bfeb","image":"https://cdn.discordapp.com/embed/avatars/0.png"}},{"@type":"Answer","text":"you rock! @Baptiste thank you","upvoteCount":0,"dateCreated":"2024-12-02T09:36:14.136Z","datePublished":"2024-12-02T09:36:14.136Z","dateModified":"2024-12-02T09:36:14.136Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#e3097751-80cd-4893-8c85-d5d1534f5c1a","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"@Baptiste There's a bug when using Library version: 0.3.33.The flow gets stuck when dealing with HTTP Request block > Methode GET > Execute on client ... ON.I've tested with POST and GET with no issues but when i test with GET with 'Execute on client' ON it stucks the flow in this block.I've changed back to Library version: 0.3.12 and the block works as expected. (unfortunately the multiple bots in same page don't)","upvoteCount":0,"dateCreated":"2024-12-02T15:38:13.972Z","datePublished":"2024-12-02T15:38:13.972Z","dateModified":"2024-12-03T10:11:43.431Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#7bdb12fb-a40e-4aa3-819a-05a547912df9","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"FYI Library version: 0.3.14 is the last version where HTTP Request block > Methode GET > Execute on client ... ON works for me. After that version 0.3.20 and so on I get the stuck problem where the chat stays at \"infinite writting mode\" image.","upvoteCount":0,"dateCreated":"2024-12-03T11:33:10.359Z","datePublished":"2024-12-03T11:33:10.359Z","dateModified":"2024-12-03T11:33:10.359Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#d70866fe-0a63-4bcd-81a6-d6a0fd696ea9","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Can you provide a link so that I can reproduce the issue? @Phill","upvoteCount":0,"dateCreated":"2024-12-05T17:00:50.550Z","datePublished":"2024-12-05T17:00:50.550Z","dateModified":"2024-12-05T17:01:00.404Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#13f8f5ae-d694-49ce-95d7-2fc40dbdd4ad","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"@Baptiste sure no problem. sending you PM.","upvoteCount":0,"dateCreated":"2024-12-06T18:12:53.935Z","datePublished":"2024-12-06T18:12:53.935Z","dateModified":"2024-12-06T18:12:53.935Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#071287c8-face-47f1-95a8-c9cfcb33ea95","author":{"@type":"Person","url":"https://community.typebot.io/members/c0452e22-ca9a-47f5-9273-a7d2a936a896","name":"Phill","identifier":"c0452e22-ca9a-47f5-9273-a7d2a936a896","image":"https://cdn.discordapp.com/embed/avatars/4.png"}},{"@type":"Answer","text":"Sorry I overlooked, I thought you were using cloud version","upvoteCount":0,"dateCreated":"2024-12-07T10:16:34.229Z","datePublished":"2024-12-07T10:16:34.229Z","dateModified":"2024-12-07T10:16:34.229Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#c0cd37ee-5fb4-425c-b406-e69de4f830f9","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"The lib v0.3.33 is not compatible with your Typebot instance version","upvoteCount":0,"dateCreated":"2024-12-07T10:20:28.328Z","datePublished":"2024-12-07T10:20:28.328Z","dateModified":"2024-12-07T10:20:28.328Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#29600b31-6d04-4e3e-a8e3-60656eb77ba7","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"So to use that lib version, you will need to upgrade your Typebot instance","upvoteCount":0,"dateCreated":"2024-12-07T10:20:47.777Z","datePublished":"2024-12-07T10:20:47.777Z","dateModified":"2024-12-07T10:20:47.777Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#3727c3af-b1ab-4690-a386-f7218e25276a","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}},{"@type":"Answer","text":"I am currently releasing a new version: 3.2.0, make sure to wait for the deployment to finish: https://github.com/baptisteArno/typebot.io/actions/runs/12212084763","upvoteCount":0,"dateCreated":"2024-12-07T10:21:21.566Z","datePublished":"2024-12-07T10:21:21.566Z","dateModified":"2024-12-07T10:21:22.674Z","url":"https://community.typebot.io/two-bots-in-same-page-TBpw7Q80rvpv#b97655c7-1036-4b9b-98a6-cf24fe5d3f44","author":{"@type":"Person","url":"https://community.typebot.io/members/589d2b28-a111-4f02-a228-ad757d0e0112","name":"Baptiste","identifier":"589d2b28-a111-4f02-a228-ad757d0e0112","image":"https://cdn.discordapp.com/avatars/621241109913403395/6fd7e5e4b8bca7e84d2c0bbdf9906a08.webp?size=256"}}]}}