> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Attention Create Field Configuration: Inputs, Cost & CLI

> Create Field Configuration. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=attention_create_field_configuration:{"name":"{{name}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                | Type      | Required | Default | Description                                                                                                                            |
| ------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.name`      | `string`  | Yes      |         | Human-readable name of the configuration. Trimmed; 1-128 characters.                                                                   |
| `payload.teamsUUID` | `array`   | No       |         | UUIDs of the teams to assign this configuration to. Ignored when `allTeams` is true.                                                   |
| `payload.allTeams`  | `boolean` | No       |         | When true, the configuration applies to every team in the organization.                                                                |
| `payload.criteria`  | `object`  | No       |         | Criteria expression that controls when this field configuration applies. Conditions are combined using the specified boolean operator. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request payload for creating a new field configuration. The owning organization is inferred from the API key - any organization UUID included in the body is ignored.",
    "properties": {
      "name": {
        "type": "string",
        "description": "Human-readable name of the configuration. Trimmed; 1-128 characters."
      },
      "teamsUUID": {
        "type": "array",
        "description": "UUIDs of the teams to assign this configuration to. Ignored when `allTeams` is true.",
        "items": {
          "type": "string"
        }
      },
      "allTeams": {
        "type": "boolean",
        "description": "When true, the configuration applies to every team in the organization."
      },
      "criteria": {
        "type": "object",
        "description": "Criteria expression that controls when this field configuration applies. Conditions are combined using the specified boolean operator.",
        "properties": {
          "conditions": {
            "type": "array",
            "description": "Ordered list of conditions to evaluate.",
            "items": {
              "type": "object",
              "description": "A single condition within a field-configuration criteria expression. Conditions reference a field name and the value it must match for an intelligence item to apply.",
              "properties": {
                "field": {
                  "type": "string",
                  "description": "Name of the field the condition applies to."
                },
                "value": {
                  "type": "string",
                  "description": "Value the field must match for this condition."
                }
              },
              "additionalProperties": false
            }
          },
          "operator": {
            "type": "string",
            "description": "Boolean operator used to combine the conditions.",
            "enum": [
              "AND",
              "OR"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                       |
| ------------- | -------- | -------- | ------- | ------------------------------------------------- |
| `result.data` | `object` | Yes      |         | Envelope containing a single field configuration. |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging).    |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Envelope containing a single field configuration.",
        "properties": {
          "data": {
            "type": "object",
            "description": "A Field Configuration (internally `IntelligenceItemCollection`) groups a set of intelligence items that are surfaced together for the teams it is assigned to. Field Configurations are scoped to a single organization.",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "Unique identifier of the field configuration."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the field configuration."
              },
              "organizationUUID": {
                "type": "string",
                "description": "UUID of the organization the field configuration belongs to."
              },
              "teamsUUID": {
                "type": "array",
                "description": "UUIDs of the teams this field configuration is assigned to. Ignored when `allTeams` is true.",
                "items": {
                  "type": "string"
                }
              },
              "allTeams": {
                "type": "boolean",
                "description": "When true, this configuration applies to every team in the organization and `teamsUUID` is ignored."
              },
              "isDefaultTemplate": {
                "type": "boolean",
                "description": "Whether this configuration is the organization's default template."
              },
              "criteria": {
                "type": "object",
                "description": "Criteria expression that controls when this field configuration applies. Conditions are combined using the specified boolean operator.",
                "properties": {
                  "conditions": {
                    "type": "array",
                    "description": "Ordered list of conditions to evaluate.",
                    "items": {
                      "type": "object",
                      "description": "A single condition within a field-configuration criteria expression. Conditions reference a field name and the value it must match for an intelligence item to apply.",
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "Name of the field the condition applies to."
                        },
                        "value": {
                          "type": "string",
                          "description": "Value the field must match for this condition."
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "operator": {
                    "type": "string",
                    "description": "Boolean operator used to combine the conditions.",
                    "enum": [
                      "AND",
                      "OR"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "description": "Timestamp when the configuration was created.",
                "format": "date-time"
              }
            },
            "required": [
              "allTeams",
              "createdAt",
              "isDefaultTemplate",
              "name",
              "organizationUUID",
              "teamsUUID",
              "uuid"
            ],
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute attention_create_field_configuration --payload '{
  "name": "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: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
