Share feedback, ideas and get community help

Updated 4 months ago

Import error?!

At a glance

Community members are discussing issues with exporting and importing a bot from the Typebot platform. One community member tried to create a flow in n8n to perform daily backups of the nodes, but encountered an error. They asked if there is a way to automatically export the nodes. Another community member suggested getting the bot via the API and importing it to Typebot, which should work. The original community member confirmed they tried this approach, but still encountered an error. After some back-and-forth, the community members determined that the issue was with the format of the file being imported, and the original community member was able to resolve the issue and automate the backups as desired.

Attachment
image.png
B
y
11 comments
Where did you export the bot from?
It seems it's not a valid file
I thought it would work, importing directly from the JSON obtained via API, but it turned out I was trying to create a flow in n8n to perform daily backups of the nodes.

However, I realized that it's not possible, it gives an error! Is there any forecast or way to automatically export the nodes?
Attachment
image.png
Provide the file you are trying to export. Getting the bot via API and import it to Typebot afterwards should work.
That's exactly what I did, provide the bot ID (v1/typebots/ID). Then I tried to import, but it gave the error we saw there.
Like I said, provide the file you are trying to import so that we can debug the issue
This needs to be what's after "typebot": {

So your file should look like:
Plain Text
{
  "version": "6",
  ...
}
Thank you, Baptiste, you're awesome! It worked just as you said, and I was able to automate the backups.
Add a reply
Sign up and join the conversation on Discord