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=emailbison_get_all_leads_for_campaign:{"campaign_id":"{{campaign_id}}"}' --json
Map payload values to spreadsheet columns with
{{column_name}} placeholders.Input Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
payload.campaign_id | integer | Yes | The ID of the campaign. | |
payload.search | string | No | Search term for filtering replies. | |
payload.filters | object | No | ||
payload.filters.lead_campaign_status | string | No | Filter by lead campaign status. One of in_sequence, sequence_finished, sequence_stopped, never_contacted, replied. | |
payload.filters.emails_sent | array | No | Filter by the number of emails sent. | |
payload.filters.emails_sent.criteria | string | No | Comparison operator for emails sent. One of =, >=, >, <=, <. | |
payload.filters.emails_sent.value | integer | No | Value for the number of emails sent. | |
payload.filters.opens | object | No | ||
payload.filters.opens.criteria | string | No | Comparison operator for email opens. One of =, >=, >, <=, <. | |
payload.filters.opens.value | integer | No | Value for the number of email opens. | |
payload.filters.replies | object | No | ||
payload.filters.replies.criteria | string | No | Comparison operator for replies. One of =, >=, >, <=, <. | |
payload.filters.replies.value | integer | No | Value for the number of replies. | |
payload.filters.verification_statuses | array | No | A verification status. Accepted values: verifying, verified, risky, unknown, unverified, inactive, bounced, unsubscribed | |
payload.filters.tag_ids | array | No | Filter by tag IDs. | |
payload.filters.excluded_tag_ids | array | No | Exclude leads by tag IDs. | |
payload.filters.without_tags | boolean | No | Only show leads that have no tags attached. | |
payload.filters.created_at.criteria | string | No | Comparison operator for the created_at date. One of =, >=, >, <=, <. | |
payload.filters.created_at.value | string | No | Value for the created_at date. Must be a valid date in YYYY-MM-DD format. | |
payload.filters.updated_at.criteria | string | No | Comparison operator for the updated_at date. One of =, >=, >, <=, <. | |
payload.filters.updated_at.value | string | No | Value for the updated_at date. Must be a valid date in YYYY-MM-DD format. |
Output Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
result.data | object | Yes | Provider response payload. | |
result.meta | object | No | Additional response metadata (status, paging). |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute emailbison_get_all_leads_for_campaign --payload '{
"campaign_id": "integer"
}' --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.