What the model is told
Create a record in NocoDB, for example a customer enquiry. Confirm the name, email and notes with the customer before calling. Tell them it has been recorded. The response includes the new record id.
Request
POSThttps://app.nocodb.com/api/v3/data/YOUR_NOCODB_BASE_ID/YOUR_NOCODB_TABLE_ID/records
Headers
Content-Typeapplication/jsonxc-tokenYOUR_NOCODB_API_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": "15d1aef2-fec6-4005-a26b-5cfe4809eb99",
"type": "HTTP_REQUEST",
"label": "Create NocoDB Record",
"name": "create_nocodb_record",
"customName": false,
"description": "Create a record in NocoDB, for example a customer enquiry. Confirm the name, email and notes with the customer before calling. Tell them 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://app.nocodb.com/api/v3/data/YOUR_NOCODB_BASE_ID/YOUR_NOCODB_TABLE_ID/records"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "xc-token",
"value": "YOUR_NOCODB_API_TOKEN"
}
],
"body": "{\n \"fields\": {\n \"Name\": \"{{name}}\",\n \"Email\": \"{{email}}\",\n \"Notes\": \"{{notes}}\"\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.