End-to-end workflow: parse company data → create/reuse Extruct table → upload rows → add columns → run enrichment.
Before making API calls, check that EXTRUCTAPITOKEN is set by running test -n "$EXTRUCTAPITOKEN" && echo "set" || echo "missing". If missing, ask the user to provide their Extruct API token and set it via export EXTRUCTAPITOKEN= . Do not proceed until confirmed.
Pasted list (most common): User pastes company names, URLs, and metadata as freeform text. Parse into structured records. Extract domains by stripping protocol, www., and trailing slashes.
Create an Extruct company table from user-provided data, upload rows, and optionally add enrichment columns. Handles the full flow: parse input (CSV, pasted list, or structured data), create or reuse a table, upload domains in batches, add agent columns, and trigger enrichment. Triggers on: "create table", "upload companies", "add to extruct", "new extruct table", "import companies", "upload list to extruct". Source: extruct-ai/gtm-skills.