Substrate integration
Work with Substrate encounters, eligibility checks, and order prescreens.
Lodol's Substrate connector gives your workflows 10 actions and 3 triggers, and links Substrate with 3,450+ other apps.
- actions
- 10
- triggers
- 3
Triggers
Start a workflow when something happens in Substrate.
- New encounterRuns when Substrate adds an encounter created in the past day.
- Order prescreen completedRuns when the selected order prescreen first reports completed.
- Order prescreen failedRuns when the selected order prescreen first reports failed.
Actions
Steps a workflow can run in Substrate.
- List encountersPages through the account's encounters, newest first (by `created_at`, then `id`). Filters combine with AND, including `ids[]`. List filters (`status`, `procedure_code`) take several values.
- Create or update encountersCreates or updates encounters and triggers claim-status processing for newly created work. Accepts either a single encounter object or an array of encounters in one request. Up to 100 encounters.
- Get an encounterFetch a single encounter.
- List eligibility checksPages through the account's eligibility checks, newest first (by `created_at`, then `id`). Each item is the summary shown in `encounter.eligibility[]`; fetch one check for the parsed 271. Filters.
- Get an eligibility checkFetch a single eligibility check, including the parsed 271.
- Start an encounter actionQueues the action and returns `202` immediately. With webhooks enabled, an `encounter.action_completed` event is sent when it finishes; otherwise poll the `GET` on the same path for its status.
- Get an encounter actionReturns the state of the most recent run of this action type on the encounter, whether it was started through the API or by Substrate.
- Start an order prescreenCreates a prescreen for the order and starts it: Substrate fetches the patient's relevant records, evaluates the payer's coverage policies, and returns findings you can act on before the patient.
- List order prescreensReturns up to 25 prescreens for the order, newest first. `order_id` is required; a missing one returns `400`.
- Get an order prescreenFetch a prescreen and, once completed, its result.
No actions match that.
Send Substrate data to PostgreSQL, Amazon Redshift and other databases
Keep a copy of your Substrate data where you query and report on it. When something happens in Substrate, its trigger starts the workflow and the next step writes the record to your database, warehouse or Power BI, every time, with no export to run.
Substrate to PostgreSQL
When
New encounterThenInsert rows or Upsert row
Works with Amazon RDS, Cloud SQL, Supabase and Neon too.
Substrate to Amazon Redshift
When
New encounterThenExecute statement
Runs your INSERT through the Redshift Data API.
Substrate to Google BigQuery
When
New encounterThenAdd rows
One row at a time or by the thousand.
Substrate to MySQL
When
New encounterThenInsert rows or Upsert row
Works with MariaDB, Amazon RDS, Cloud SQL and PlanetScale too.
Substrate to Snowflake
When
New encounterThenInsert row
Values go in as bound parameters, never pasted into the SQL.
Substrate to Microsoft Power BI
When
New encounterThenAdd rows
Adds rows to a push dataset's table, ready for your reports.
Automate Substrate with Lodol.
Connect Substrate, then hand Lodol the job in Slack, Claude or ChatGPT.
Free plan, no credit card