# All the moving parts, working as one.

> Connect flows, decisions, approvals, and applications into one Procedure that completes the process from beginning to end.

Source: https://stepwork.com/procedures

## Procedure in practice

Example procedures:
- **Grant access from a Jira ticket (Basic):** See how a Jira access request moves through four connected cards to retrieve the right details, grant access in Google Workspace, and create a user in an internal tool.
- **Approve access before granting it (Branching):** See how a Rule card sends privileged requests to the manager in Slack first, sends standard ones straight to Google Workspace, and brings both paths back together before the account is created.
- **Offboard everyone on this week's list (Looping):** See how a loop repeats two cards for each leaver Workday returns, then hands every result to one summary for IT.

## Every part of the process, connected.

Combine flows, files, rules, approvals, waits, scripts, and API calls to run the process from beginning to end.

- **Webhook:** Starts the Procedure when another system sends a signal, and it has to sit first in the chain. Use it when a new ticket, form submit, or outside event should kick off the rest of the steps so nobody has to press Run each time.
- **Extraction:** Gets data from apps that will not export it. Stepwork reads values, tables, and states from an application screen, then passes them to the next flow, a rule, or another system. Later steps can choose a path, update another app, or send a message, without copying between systems.
- **File processing:** Turns PDFs, scans, phone photos, spreadsheets, and emails up to 7 MB into structured variables. Pick from five actions — read text, extract typed fields, classify documents, split batch packets so downstream cards loop per document, or fill PDF forms — and test on a real sample file before running.
- **Rule logic:** Sends the Procedure down one path based on a value from an earlier step. Place it after you already have something to check, when the next action depends on that result: one branch if the condition matches, another if it does not. Only one path continues.
- **Approval:** Sends a Slack DM with Approve and Reject buttons and values pulled from earlier steps (first answer wins). Set a timeout from 5 minutes to 7 days, choose whether rejection stops the run or lets Rule logic decide, and pass Approved, Approved by, and Decided at downstream.
- **Wait:** Holds a run for minutes, hours, days, or weeks (up to 90 days) or until a fixed or variable-driven date with timezone, time of day, and optional offset. Releases the container while waiting and lets your team click Resume now at any time.
- **Script:** Handles calculations, parsing, validation, and data formatting in Python, JavaScript, or Bash inside an isolated sandbox. Pass typed values from earlier cards, check syntax and run live tests in the editor, and map named outputs plus exit_code into downstream steps.
- **Execution:** Does the work inside an app the way a person would: clicks, forms, downloads, and uploads. Add it when something still has to happen on screen after you already have the details, so the Procedure can finish the job in Google Admin, Drive, a vendor portal, or another tool without someone doing it by hand.
- **API:** Lets a Procedure get something from another app, or send something to it, without opening that app on screen. Use it when the next step needs a detail or confirmation from that app, and Stepwork should bring that answer straight into the Procedure.
- **Slack:** Posts a message from Stepwork into a channel or to a person, using values from earlier steps. Add it when someone needs a clear update that the work finished, stalled, or needs eyes, without anyone pasting details by hand from another app.

## And more building blocks

Sketch a step for later, nest a Procedure you already trust, shape text with AI, and turn finished runs into a short digest.

- **Procedure:** Runs another Procedure as a single step inside this one. Use it when a sequence you already trust should repeat inside a larger process, so you reuse the whole chain instead of rebuilding the same cards again.
- **AI:** Sends values from earlier steps into a prompt and returns text you can use next. Reach for it when you need a short write-up, a classification, or a cleaned message before Slack, a rule, or another card continues.
- **Draft:** Holds a planned step before it is a real card. Drop it in while you are still sketching the process, name what should happen later, then turn it into Extraction, Execution, or another type when you are ready to build it.
- **Summary:** Turns results from Procedure runs into a short readable digest. Use it when people need the outcome of many steps in plain language, without opening every card or replaying the full history.

## Data from any app, ready for the next step.

Highlight a table once. Each run follows its pages, cleans it up, and hands the rows to the steps that follow.

- Read tables, lists, and repeating cards
- Join up to 100 pages into one table
- Clean it up in plain words

_Visual: Extraction steps read four apps in turn. A Salesforce opportunities table keeps its links as their own column. A ServiceNow incident list is read with an open pop-up left out of the rows. Coupa supplier invoices laid out as cards become one row each. A NetSuite saved search is followed across 9 pages and joined into 412 rows._

## Digital files and physical scans: parsed, edited, split, and summarized.

Pull digital exports and scanned physical documents from email, Google Drive, non-API portals, on-prem shares, or scheduled exports. Parse, extract, edit and flatten PDFs, separate batch scans, classify, and summarize, then deliver anywhere.

- Fetch from email, Google Drive, non-API portals, on-prem scanner shares, or schedules
- Parse layouts & OCR, extract cited fields, edit/flatten PDFs, split bundles, classify & summarize
- Pass files or structured data straight to other flows, Drive, warehouses, lakes, databases, or APIs

## Adapt your procedures as your work evolves

Change individual steps, connect systems in new ways, and keep your processes moving without rebuilding everything from scratch.

## Change one part, not the whole process.

Update, replace, or reuse individual parts of a Procedure while keeping everything else intact.

What you can change:
- Update a single part
- Replace a card without rebuilding
- Add or remove a step
- Reuse a Procedure inside another

_Visual: A Jira onboarding Procedure on the canvas: open tickets are extracted, routed by rule logic, ticket details extracted, then the user is created in Google Admin and Azure._

## Connect the steps your APIs can’t reach.

Use APIs or webhooks to start and finish a Procedure, while Stepwork coordinates the human work, decisions, and follow-ups in between.

What happens in between:
- Start a Procedure from an API or webhook
- Assign tasks that require human input
- Keep approvals and decisions moving
- Send the completed outcome back to your systems

_Visual: An inbound lead Procedure on the canvas: a submitted form starts the run, the lead is enriched and scored, then the contact and deal are created and the owner is pinged in Slack._

---

This is the Markdown version of https://stepwork.com/procedures, built from the same copy as the page. Everything about Stepwork for AI tools: https://stepwork.com/llms.txt. Book a demo: https://calendly.com/shaun-maclellan/1-1-w-shaun-stepwork
