Airtable

Create Airtable Record

Adds a new record to an Airtable table.

Unverified

What the model is told

Create a record in Airtable, for example a customer enquiry or callback request. Confirm the name, email and notes with the customer before calling. Tell the customer it has been recorded. The response includes the new record ID.

Request

POSThttps://api.airtable.com/v0/YOUR_AIRTABLE_BASE_ID/YOUR_AIRTABLE_TABLE

Headers

  • Content-Typeapplication/json
  • AuthorizationBearer YOUR_AIRTABLE_TOKEN

Body

{
  "fields": {
    "Name": "{{name}}",
    "Email": "{{email}}",
    "Notes": "{{notes}}"
  }
}

Parameters

  • name stringThe customer's full name.
  • email stringThe customer's email address.
  • notes stringWhat the customer asked for.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "d95a9aa5-7d1e-4102-ab07-be64d79fb9d6",
    "type": "HTTP_REQUEST",
    "label": "Create Airtable Record",
    "name": "create_airtable_record",
    "customName": false,
    "description": "Create a record in Airtable, for example a customer enquiry or callback request. Confirm the name, email and notes with the customer before calling. Tell the customer it has been recorded. The response includes the new record ID.",
    "parameters": [
      {
        "name": "name",
        "type": "string",
        "description": "The customer's full name."
      },
      {
        "name": "email",
        "type": "string",
        "description": "The customer's email address."
      },
      {
        "name": "notes",
        "type": "string",
        "description": "What the customer asked for."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.airtable.com/v0/YOUR_AIRTABLE_BASE_ID/YOUR_AIRTABLE_TABLE"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer YOUR_AIRTABLE_TOKEN"
        }
      ],
      "body": "{\n  \"fields\": {\n    \"Name\": \"{{name}}\",\n    \"Email\": \"{{email}}\",\n    \"Notes\": \"{{notes}}\"\n  }\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.