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=opensosdata_business_lookup:{"entity_name":"{{entity_name}}","state":"AL"}' --json
Map payload values to spreadsheet columns with {{column_name}} placeholders.

Required Fields

NameTypeRequiredDefaultDescription
payload.entity_namestringYesBusiness or restaurant name to look up (e.g. ‘Noble Beast Brewing’). Fuzzy matching is applied by OpenSOSData.
payload.state"AL" | "AK" | "AZ" | "AR" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "ID" | "IL" | "IN" | "IA" | "KS" | "KY" | "LA" | "ME" | "MD" | "MA" | "MI" | "MN" | "MS" | "MO" | "MT" | "NE" | "NV" | "NH" | "NJ" | "NM" | "NY" | "NC" | "ND" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VT" | "VA" | "WA" | "WV" | "WI" | "WY" | "DC" | "PR"YesTwo-letter US state code (e.g. ‘OH’, ‘FL’). All 52 US jurisdictions are supported. Note: OH, CA, MI, WA do NOT expose officer names in their SOS records. The entity is found but officers[] will be empty for these states.

Allowed values

FieldAllowed values
payload.stateAL, AK, AZ, AR, CA, CO, CT, DE, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY, DC, PR

Advanced: Direct CLI

Use direct execution for single payload debugging.
deepline tools execute opensosdata_business_lookup --payload '{
  "entity_name": "string",
  "state": "AL"
}' --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: per_result (per result).
  • Estimated Deepline credits: 0.44 per pricing unit.
  • Billing mode: post_deduct.