Run in Enrichment Spreadsheet
Use this function as a column step in
deepline enrich.deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=attention_create_field_configuration_item:{"id":"{{id}}","title":"{{title}}","category":"CRM","contents":"{{contents}}","promptType":"{{promptType}}","contentType":"{{contentType}}"}' --json
Map payload values to spreadsheet columns with
{{column_name}} placeholders.Input Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
payload.id | string | Yes | UUID of the field configuration. | |
payload.title | string | Yes | Short human-readable title of the item. Trimmed; 1-128 characters. | |
payload.category | "CRM" | "Indicators" | "BuiltInInsight" | "CustomInsight" | Yes | Category of the item. | |
payload.contents | string | Yes | Prompt text that Attention will evaluate against each conversation. | |
payload.description | string | No | Optional longer description. 0-2000 characters. | |
payload.promptType | string | Yes | Prompt family used to analyze the conversation. | |
payload.contentType | string | Yes | Expected shape of the extracted content. | |
payload.responseType | string | No | Optional response data type hint. | |
payload.options | array | No | Optional allowed response values for multiple-choice items. | |
payload.dependsOn | array | No | UUIDs of other items this item depends on. | |
payload.maxValues | integer | No | Maximum number of values allowed for multi-select items. | |
payload.allowLongResponse | boolean | No | Whether the analyzer may produce a longer free-text response. | |
payload.extractQuotes | boolean | No | Whether the analyzer should attach supporting quotes to the response. | |
payload.analysisLevel | "conversation" | "deal" | "lead" | "contact" | "account" | No | Level at which the item is evaluated. | |
payload.metadata | object | No | Numeric scoring metadata for a field-configuration item. Required when the item represents a numeric score - min_score must be less than or equal to max_score. | |
payload.displayOrder | integer | No | Optional starting position in the team’s ordered item list; existing assignments at or after this position are shifted by one. | |
payload.requestStage | integer | No | Optional analysis stage in which the resulting assignments are evaluated. |
Allowed values
| Field | Allowed values |
|---|---|
payload.category | CRM, Indicators, BuiltInInsight, CustomInsight |
payload.analysisLevel | conversation, deal, lead, contact, account |
Output Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
result.data | object | Yes | Envelope returned when a field-configuration item is created. The data.assignments array documents the fan-out (one entry per team the parent configuration is assigned to). | |
result.meta | object | No | Additional response metadata (status, paging). |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute attention_create_field_configuration_item --payload '{
"id": "string",
"title": "string",
"category": "CRM",
"contents": "string",
"promptType": "string",
"contentType": "string"
}' --json
CLI flags
| Flag | Description |
|---|---|
--json | Print machine-readable output. |
--wait | Wait for terminal provider status when supported. |
--debug | Enable wait mode with additional status/log output. |
--wait-timeout SECONDS | Max seconds to wait in wait mode. |
--poll-interval SECONDS | Polling interval in seconds during wait mode. |
--timeout SECONDS | Request timeout in seconds. |
--connect-timeout SECONDS | Connection timeout in seconds. |
Cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.
- Billing mode:
no_bill.