Share feedback, ideas and get community help

Updated 4 months ago

AIRTABLE connection between HTTP BLOCK and AIRTABLE TOKEN (SOLVED)

At a glance

A community member was trying to connect Typebot with Airtable using an HTTP BLOCK, but encountered an issue where Airtable was adding an empty line even though the community member followed the instructions correctly. The community member provided a log from Typebot showing that the variables passed were "empty". The community member asked for help to understand and solve the issue. The community member also provided a flow draft and a public flow, but did not include any sensitive information. The community member later found the solution, which was that the body format was incorrect. The correct format should be { "fields": { "Name": "{{Name}}", "Email": "{{Email}}" }} instead of { "fields": { "Name": "{{answers.Name}}", "Email": "{{answers.Email}}" }}.

Useful resources
I've followed these rules to create an HTTP BLOCK to try to join Typebot With Airatble and it look like to work but, every time, on airtable has added an empty line also if i properly folowed all that you can read and follow.

This is the log by Typebot on that you can see that variables passed are "empty"

{
"statusCode": 200,
"response": {
"id": "recWQ01EWxZzTLx8i",
"createdTime": "2024-09-30T08:56:11.000Z",
"fields": {}
},
"request": {
"url": "https://api.airtable.com/v0/BASE_ID/Table_Id",
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer TOKEN_API"
},
"timeout": 10000,
"json": {
"fields": {
"Nome": "",
"Cognome": "",
"Mail": "",
"Telefono": ""
}
}
}
}

Some one can help me to understand how to solve?

Thank you

here a flow draft --> https://typebot.co/airtable-block and here the public flow (https://app.typebot.io/typebots/cm1ou5cxq00046e1myschtk3e/edit) being that i not suggest your Token or anything in the previous bot.

SOLUTION --> PROBLEM WAS ON BODY FORMAT :

I used this :

{
"fields": {
"Name": "{{answers.Name}}",
"Email": "{{answers.Email}}"
}
}

That was not corect because it must be

{
"fields": {
"Name": "{{Name}}",
"Email": "{{Email}}"
}
}

(i'm so Ignorant in this but, at the end, i've inderstand and now, with an HTTP REQUEST BLOCk i can connect Typebot With Airtable
Add a reply
Sign up and join the conversation on Discord