What the model is told
Update the Status of an Airtable record using its record ID, which you get from the find tool. Confirm the new status with the customer first. Only the Status field changes. Tell the customer the update has been made.
Request
PATCHhttps://api.airtable.com/v0/YOUR_AIRTABLE_BASE_ID/YOUR_AIRTABLE_TABLE/{{recordId}}
Headers
Content-Typeapplication/jsonAuthorizationBearer YOUR_AIRTABLE_TOKEN
Body
{
"fields": {
"Status": "{{status}}"
}
}Parameters
recordId stringThe Airtable record ID, starting rec.status stringThe new status value. It must match an option in your table.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "e3a1e7ee-f19f-4815-9b10-e1b75c8675d4",
"type": "HTTP_REQUEST",
"label": "Update Airtable Record",
"name": "update_airtable_record",
"customName": false,
"description": "Update the Status of an Airtable record using its record ID, which you get from the find tool. Confirm the new status with the customer first. Only the Status field changes. Tell the customer the update has been made.",
"parameters": [
{
"name": "recordId",
"type": "string",
"description": "The Airtable record ID, starting rec."
},
{
"name": "status",
"type": "string",
"description": "The new status value. It must match an option in your table."
}
],
"config": {
"endpoint": {
"method": "PATCH",
"url": "https://api.airtable.com/v0/YOUR_AIRTABLE_BASE_ID/YOUR_AIRTABLE_TABLE/{{recordId}}"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer YOUR_AIRTABLE_TOKEN"
}
],
"body": "{\n \"fields\": {\n \"Status\": \"{{status}}\"\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.