Import deliveries
import_deliveriesImport deliveries into Vepathos so their rows never pass through this chat: a file, a link or pasted rows, street addresses included (it geocodes them, so they skip geocode_addresses). What a row carries besides the address — customer, phone, packages, weight, volume, note, delivery window — survives only here, however few rows. Send one source: file when your host hands attachments to tools (ChatGPT: _meta openai/fileParams); url for a public https link or a Google Drive, Sheets or Docs share link as copied; text for pasted rows or a CSV or JSON file's text (a few hundred rows; larger files go by url). A path on the user's disk is not a url: this server cannot read it. When your host can read local files, send a CSV or JSON file's text as text; for a spreadsheet (.xlsx) ask for a share link or a CSV export, or let the user upload it in their Vepathos account, where it becomes a saved plan (list_plans, then optimize_routes). Do not shell out (curl/gdown/pip), and never parse or convert the file with a script. The stops load into a new plan named after the file, or replace the stops of plan_id. Returns import_id; next get_import_result until plan_id, then optimize_routes with that plan_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of the file, or a Google Drive, Sheets or Docs share link as copied. | |
| file | No | The attachment, filled in by hosts that hand files to tools (ChatGPT file params); never build it by hand. | |
| text | No | Deliveries as text: rows the user pasted, or a CSV or JSON file's text. | |
| plan_id | No | Load the stops into this existing plan, replacing its stops and keeping its depot, fleet and settings. Omit to create a new plan named after the file. | |
| filename | No | Names the new plan; default: the file's. | |
| timezone | No | IANA time zone the rows' dates and times are written in. | |
| depot_country | No | Country the addresses are in, to disambiguate the geocoding. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | No | ||
| plan_id | No | The plan the stops load into; null until they load (get_import_result). | |
| import_id | No | ||
| dataset_id | No | ||
| expires_at | No | ||
| account_url | No | Opens the plan in the user's Vepathos account. Requires signing in; private to the account. | |
| poll_after_seconds | No |