Share feedback, ideas and get community help

Home
Members
Vilela™
V
Vilela™
Offline, last seen 2 months ago
Joined September 13, 2024
I'm following this instructions:
27 comments
c
B
V
M
I'm attempting to integrate Typebot with GPT-4V (Vision) through the Webhook Block.
It works seamlessly when the URL points to any image from Google Images, randomly selected. However, it encounters issues when the image is sent/uploaded through Typebot.

The error message provided is too ambiguous, I'm speculating that the problem may be related to the cross-origin policy.
Plain Text
"error": {
  "message": "Invalid image.",
  "type": "invalid_request_error",
  "param": null,
  "code": null
}

I'm seeking any clues or advice that could help troubleshoot this issue.
26 comments
B
M
V
For example, it can't handle array of arrays.
It ends up converting the inner arrays to a string.
4 comments
B
V
How feasible is it to develop a custom block using Forge with intricate functionalities, such as multiple outputs or a tailored user input interface similar to those found in a bot engine?

For instance, in the absence of the "Rating" or "AB Test" blocks, could Forge be utilized to create comparable custom blocks?
4 comments
V
B
Is there a method to initiate an action either 'upon user exit' or 'after a specified duration of inactivity,' such as 'x seconds since the last iteration'?
3 comments
B
L
I'm trying to run it locally, following the steps from and using NEXT_PUBLIC_E2E_TEST=trueto bypass the auth.
The site seems to be stuck in a perpetual loading state, and I can't find any errors in the browser console or the terminal where I'm running the pnpm dev, as you can see in the images.

What might I be overlooking?
4 comments
V
B
What may cause this?
It's not loading (otherwise we would see the "...")
I got no error.
Just a premature end.
6 comments
B
V
Add a tool to OpenAI, and then remove it.
In this case, tools will be set to [] instead of undefined, which is not acceptable to OpenAI.
Plain Text
{
  "status": 500,
  "body": {
    "message": "400 [] is too short - 'tools'",
    "code": "INTERNAL_SERVER_ERROR"
  }
}
4 comments
B
I have this minimal bot, that works fine in the test environment.
I can enable the Whatsapp integration, publish and still works fine.
29 comments
M
V
B
In certain situations (I'm not sure about the specific conditions yet), when interacting with the bot through WhatsApp, the bot initiates a second flow in the middle of the first one, duplicating all messages. At first glance, it appears that this issue occurs only when there is a prolonged gap between user interactions.

Is there a known bug related to this?
23 comments
B
M
V
I send an image to Typebot. In Typebot I get an URL like:
https://typebot.myurl.io/api/typebots/<bunchoffstuff>
If I access this url I get the error: {"message":"Not authenticated"}

But if I access my minio, I can see that the original image URL is something like:
https://s3.myurl.io/typebot/public/workspaces/<bunchofstuff>
And that's public accessible.

How to avoid this?
(I need the public available URL to send it to GPT Vision)
53 comments
B
V
While using the Whatsapp (official) integration, looks like the first user messages only starts the flow, but it's not collected. Even if my very first block is a Text Input Block. Is it possible to collect the very first user message from Whatsapp?

Also:
If the user sends a text message I get a text message.
If the user sends an file I get a URL (while using the Text Input Block).
But, if the user sends an image with a text, the text is lost. Any workarround to avoid this situation?
19 comments
B
V
M
I'm current selfholsting using docker.
But I made some code changes (created a forge block) so I guess docker is not an option anymore, right?

So I'm trying to deploy at Vercel (with a superbase database) following the instructions here:
https://docs.typebot.io/self-hosting/deploy/vercel

I'm getting a "PostgreSQL DATABASE_URL should start with postgres" (it does) warning followed by a "ELIFECYCLE  Command failed with exit code 1." error.

Any advice?
5 comments
B
V
Can a Forge Custom Block create or a set variable?
How?
4 comments
B
Within Whatsapp, users have the option to choose between sending a text message, an image, or both. TypeBot, on the other hand, provides separate text and image inputs, lacking a combined option. Is there any workaround to this in TypeBot?
(I'm using GPTVision)
15 comments
V
B
L
If I do something like the image (URL: https://hub.dummyapis.com/delay?seconds=10)
it takes 20 seconds (10 of each request) of black screen, then display A, B, C.
I was expecting A, 10 seconds, B, 10 seconds, C.
Looks like it run all the sequence till it finds a user input to start displaying the results. Why?
Can I do anything to avoid this?
5 comments
B
p
V
V
Vilela™
·

Formating

I'm using the code bellow every time I want to display a monetary variable:
Plain Text
{{= {{variable}}.toLocaleString('pt-br', { style: 'currency', currency: 'BRL'}) =}}

Is there a better way to do this?
21 comments
A
B
V