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=attio_create_file:{"object":"{{object}}","record_id":"{{record_id}}","file_type":"folder"}' --json
Map payload values to spreadsheet columns with {{column_name}} placeholders.
Required Fields
| Name | Type | Required | Default | Description |
|---|
payload.object | string | Yes | | Object slug or ID. |
payload.record_id | string | Yes | | Record ID. |
payload.file_type | "folder" | "connected-folder" | "connected-file" | Yes | | |
Allowed values
| Field | Allowed values |
|---|
payload.file_type | folder, connected-folder, connected-file |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute attio_create_file --payload '{
"object": "string",
"record_id": "string",
"file_type": "folder"
}' --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.