RunShortcutCsvBody

Body for Run Shortcut from CSV. The file must already be uploaded to Floqer; pass its object key.

Properties

file_refstringrequired

Object key of the already-uploaded file, exactly as Floqer issued it. Not a URL — a URL is rejected. The file must have been uploaded by someone in your organization.

mappingobjectrequired

Column header in the file -> input `reference` on the shortcut. References come from Get Shortcut's `input_schema[].reference` — the same keys Run Shortcut takes in `input_data`. Headers are read from row 1; naming a header the file does not have fails the import and reports which one. Columns omitted here are not sent, and inputs with no column fall back to the shortcut's `defaultValue`. Two columns may not map to the same input.

sheet_namestring

XLSX only — which worksheet to run. Defaults to the first sheet in the workbook. Naming a sheet the workbook does not have fails the import.

Example

RunShortcutCsvBody example
{
  "file_ref": "leads.csv_jane@acme.com_9f3c1a2b-4d5e-6f70-8a9b-0c1d2e3f4a5b.csv",
  "mapping": {
    "Email": "email",
    "Company Name": "company_name",
    "LinkedIn URL": "linkedin_url"
  },
  "sheet_name": "string"
}