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=wizleads_scrape_salesnav:{"name":"{{name}}","type":"salesnav-company","inputs":{}}' --json
Map payload values to spreadsheet columns with
{{column_name}} placeholders.Input Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
payload.name | string | Yes | A name for the task. | |
payload.type | "salesnav-company" | "salesnav-profile" | Yes | Type of scraping task. | |
payload.inputs | object | Yes | Input parameters for the task. | |
payload.account | "salesnav" | No | "salesnav" | Account type to use for this task. |
payload.wait_for_completion | boolean | No | true | When true or omitted, Deepline waits briefly for the Sales Navigator scrape task to finish and returns task detail if ready. Set false to return the task id immediately. |
payload.poll_interval_ms | integer | No | 5000 | Polling interval used while wait_for_completion is true. Defaults to 5000 ms. |
payload.max_wait_ms | integer | No | 30000 | Maximum time to wait for terminal Sales Navigator scrape results. Capped below the CLI read timeout so the task id is returned before the client times out. |
Allowed values
| Field | Allowed values |
|---|---|
payload.type | salesnav-company, salesnav-profile |
payload.account | salesnav |
Output Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
result.task_id | string | Yes | WizLeads task id. Use this with wizleads_get_task when status is running. | |
result.id | string | No | WizLeads task id from terminal task detail. | |
result.name | string | No | ||
result.type | string | No | ||
result.status | string | No | ||
result.link | string | No | Provider result file URL when the Sales Navigator scrape is done. | |
result.link_size | number | No | Number of scraped rows reported by WizLeads task detail. | |
result.launcher | object | No | Raw launch response from the provider. | |
result.task | object | No | Terminal task detail when the scrape finishes in time. | |
result.latest_task | object | No | Latest task detail observed before returning a running response. | |
result.async_get_action | string | No | Follow-up action to poll when the scrape is still running. |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute wizleads_scrape_salesnav --payload '{
"name": "string",
"type": "salesnav-company",
"inputs": {}
}' --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:
per_result(per result). - Estimated Deepline credits:
0.04per pricing unit. - Billing mode:
post_deduct.