adverse-sapphire•2y ago
Trouble integrating POST Airtable API
I am STRUGGLING to get this API from Airtable to work. It's function is to collect the name, phone number and email into the variables {name}, {phone}, and {email}, then the API would allow it to be sent to Airtable in the columns for name, email, and phone. Any solutions?
10 Replies
To integrate the POST Airtable API, you need to follow these steps:
1. Ensure you have selected the POST option in your API block.
2. Add a new set of headers after authorization.
3. Navigate to the 'Create records' section in your API documentation for Airtable.
4. Copy everything after 'data' and paste it into your API block.
When adding information from your assistant to your Airtable:
1. Replace the existing data with the variables {name}, {phone}, and {email} that you want to collect.
2. Test your integration by clicking 'Send Request'. It will prompt you to put in a test variable. If the test is successful, the variable you put in will appear in your Airtable.
3. Repeat these steps for all variables of data you want to collect.
Remember, the variable can be anything, and you can map to from least specific to most specific information. This goes in the first line of 'Capture Response' in your API block.
For more detailed information, you can refer to the Airtable Integration document.
adverse-sapphireOP•2y ago
like this?
{
"records": [
{
"fields": {name}
},
{
"fields": {phone}
}
]
}
I got a 422 server error
it says it can't find the firleds but i created them in the JSON code
{
"records": [
{
"fields": {
"name": "{name}",
"phone": "{phone}",
"email": "{email}"
}
},
{
"fields": {
"name": "{name}",
"phone": "{phone}",
"email": "{email}"
}
}
]
}
unless I am wrong
@Tico | Voiceflow Assistant
@W. Williams (SFT) could you help me with this please?
Can you send a screenshot?
of the Airtable
adverse-sapphireOP•2y ago
I finished it
evident-indigo•2y ago
I'm struggling with this too, @Izzy . How were you able to get this done?
adverse-sapphireOP•2y ago
use webhooks
evident-indigo•2y ago
Thank you! Do you happen to have an example?
adverse-sapphireOP•2y ago
I made a video on this
let me send it to you
evident-indigo•2y ago
Thank you so much 🙌🏾
adverse-sapphireOP•2y ago