Skip to main content

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_update_campaign_schedule:{"campaign_id":"{{campaign_id}}","monday":"{{monday}}","tuesday":"{{tuesday}}","wednesday":"{{wednesday}}","thursday":"{{thursday}}","friday":"{{friday}}","saturday":"{{saturday}}","sunday":"{{sunday}}","start_time":"{{start_time}}","end_time":"{{end_time}}","timezone":"{{timezone}}","save_as_template":"{{save_as_template}}"}' --json
Map payload values to spreadsheet columns with {{column_name}} placeholders.

Required Fields

NameTypeRequiredDefaultDescription
payload.campaign_idintegerYesThe ID of the campaign.
payload.mondaybooleanYesWhether the schedule includes Monday.
payload.tuesdaybooleanYesWhether the schedule includes Tuesday.
payload.wednesdaybooleanYesWhether the schedule includes Wednesday.
payload.thursdaybooleanYesWhether the schedule includes Thursday.
payload.fridaybooleanYesWhether the schedule includes Friday.
payload.saturdaybooleanYesWhether the schedule includes Saturday.
payload.sundaybooleanYesWhether the schedule includes Sunday.
payload.start_timestringYesThe start time in HH:MM format.
payload.end_timestringYesThe end time in HH:MM format.
payload.timezonestringYesThe timezone of the schedule.
payload.save_as_templatebooleanYes

Advanced: Direct CLI

Use direct execution for single payload debugging.
deepline tools execute emailbison_update_campaign_schedule --payload '{
  "campaign_id": "integer",
  "monday": false,
  "tuesday": false,
  "wednesday": false,
  "thursday": false,
  "friday": false,
  "saturday": false,
  "sunday": false,
  "start_time": "string",
  "end_time": "string",
  "timezone": "string",
  "save_as_template": false
}' --json

CLI flags

FlagDescription
--jsonPrint machine-readable output.
--waitWait for terminal provider status when supported.
--debugEnable wait mode with additional status/log output.
--wait-timeout SECONDSMax seconds to wait in wait mode.
--poll-interval SECONDSPolling interval in seconds during wait mode.
--timeout SECONDSRequest timeout in seconds.
--connect-timeout SECONDSConnection 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.