AI Technology
How do I build a custom EHS workflow without coding?
To build a custom EHS workflow without coding, pick one repeatable job, write down its inputs, steps, decisions and output, then build it in a no-code AI workflow builder. Give it instructions, limited data access, limited actions and review points where a named reviewer approves. Test it on past real cases before anyone relies on it.
CTO, Soter
Written for EHS leaders and safety managers who want to build their own AI workflows for recurring EHS jobs without writing code.

Connect a new-report trigger to read-only sources, map the evidence into a triage card, route it to a named reviewer, and test both the drafts and the approval gates before launch.
What a custom EHS workflow is made of
A custom EHS workflow is one recurring job, written down so an AI workflow builder can run it. Whatever builder you use, plan the workflow as four parts:
- Instructions: plain-language text that sets the role, the steps, the decisions and the output format.
- Data sources: the records, documents and mailboxes the workflow may read.
- Actions: what the workflow may do with its result, such as draft a summary, create a task or write to a record.
- Review points: the places where a named person approves before an output leaves the workflow or changes a record.
OWASP names three typical root causes of damaging agent actions: excessive functionality, excessive permissions and excessive autonomy (OWASP LLM06:2025 Excessive Agency). Three of the four parts map onto them: the actions list addresses functionality, the data sources address permissions, and the review points address autonomy. Do not rely on the instructions to limit any of the three. The builder itself must enforce the allowed actions, the permissions of each data connection and the approval gates, and OWASP recommends implementing authorization in the downstream systems themselves. Ask the vendor to show a write blocked, the same record readable only by an authorized user, and an action held for approval.
Related reading: Agentic AI for EHS: What It Is and How It Differs From AI Add-Ons, Beyond the Prompt File: Why Safety AI Needs Architecture, Not Just Intelligence and Agentic AI Architecture: How Orchestrated Agents Run Complex Work.
Six steps to build a custom EHS workflow without coding
The worked thread is near-miss intake and triage. In the builder it becomes a trigger (a new report), a triage template the report text and photos map into, and a route sending each draft to the named reviewer.
Choose one repeatable job and write it down
OSHA's recommended practices advise starting with a basic program and simple goals, then expanding (OSHA Safety Management). A job is a good first candidate when it passes four checks:
- It starts from a clear trigger, such as a new near-miss report or a completed inspection.
- Its inputs sit in places you can already open, such as a form, a spreadsheet or a records system.
- It ends in an output with a fixed format, such as a triage card or a one-page summary.
- A reviewer can catch a wrong output before it changes anything.
Write the job on one page: inputs, steps, decisions, output. OSHA's hazard identification guidance lists the matching tasks: investigate close calls and near misses, group similar incidents, and determine each hazard's severity and likelihood (OSHA Hazard Identification and Assessment).
Example: For near-miss intake and triage, the inputs are the form text and any photos. The steps are to assign a hazard category, find similar earlier reports and suggest severity and likelihood. The reviewer decides whether to notify the supervisor that day. The draft card therefore has fields for hazard category, suggested severity and likelihood, and whether the site's criteria call for same-day notification.
Involve the workers who do the job
OSHA's worker participation guidance says workers should be involved in establishing, operating, evaluating and improving the program, and that they often know the most about potential hazards in their jobs (OSHA Worker Participation). Apply that in three ways:
- Ask a few people who file or handle reports to mark every step that differs from real practice.
- Ask the same people to review test outputs later.
- Keep the reporting process intact. OSHA's recommended practices include an anonymous reporting option, so add no required field that identifies the reporter. They also recommend reporting back to workers routinely about action taken: the workflow can draft a reply to a named reporter, or for an anonymous report a summary that the reviewer strips of identifying details and posts manually.
Write plain instructions and fix the output format
Write instructions that state the role, the scope, the steps in order and what to do when information is missing. OWASP's prompt injection guidance recommends specific instructions about the model's role, capabilities and limitations, and defining expected output formats with detailed reasoning and source citations (OWASP LLM01:2025 Prompt Injection). Build three rules into the output template:
- Every extracted fact carries the record ID and the supporting quotation or image reference.
- Any field the records cannot fill reads "not in the record".
- Every suggested classification, such as severity, is labeled as a suggestion and names its evidence and the site's own assessment criteria.
Citing a record for every fact matters because of confabulation. NIST defines it as "the production of confidently stated but erroneous or false content", and warns that outputs may include confabulated logic or citations that purport to justify an answer (NIST AI 600-1).
Connect only the data sources the job needs
For near-miss triage, connect the report and its photos, earlier reports from the same site, and the site's criteria for hazard category, severity, likelihood and same-day notification. Set access to read-only wherever the job only reads. OWASP's prevention list includes minimizing extension permissions and executing extensions in the context of the specific user, with the minimum privileges necessary (OWASP LLM06:2025).
For runs a person starts, the workflow should act in that person's context, never beyond what that person could open, and still only with read-only access to the records the job needs. Give each automatic trigger a dedicated read-only identity limited to those records, and ask the vendor which identity each trigger uses. Limit retrieval to records the assigned reviewer can open, and test with two differently authorized reviewers, including the backup.
Respondents to an HSE survey on AI in regulated sectors warned that poor or biased data could produce unreliable safety decisions and let hazards go unnoticed (HSE: Understanding how AI is used in HSE regulated sectors). Before connecting a source, check a sample of its records for complete, consistent categories, dates and site names. For the data side of the build, read Before You Deploy Agentic AI, Fix These Two Things First.
Plan for hostile or accidental instructions inside the data. OWASP describes indirect prompt injection as content from external sources, such as websites or files, that alters the model's behavior in unintended ways, and says "it is unclear if there are fool-proof methods of prevention for prompt injection" (OWASP LLM01:2025 Prompt Injection).
Example: A contractor emails a near-miss report with an attached document. Hidden in it is a line telling the AI to mark every open report as closed. The read-only connection and the allowed-actions list, which covers only reading records and drafting a triage card, both stop the workflow from closing records. The hidden line could still distort the draft, so the team adds the attachment to its test cases and checks both the draft and the action log.
Limit the actions and add approval points
OWASP recommends human approval before any high-impact action runs. List the workflow's possible actions in five categories, then assess each one's impact from the records it touches, who receives the result and what an error would cost:
- Read a record.
- Draft text for a person.
- Create a task or a draft record.
- Change an existing record.
- Send or post a message to anyone except the named reviewer.
For the first release, allow only reading records and drafting text for a person; the named reviewer sends or posts anything that leaves the workflow. Enable task and draft-record creation, record changes and sent messages later, one action at a time, each behind the workflow's named reviewer. Before approval, show the exact action, the target record or recipient, the proposed content and the supporting passage or photo.
NIST's AI Risk Management Framework calls for clearly defined, distinct human roles in overseeing AI systems (NIST AI 100-1). Name one reviewer and one backup for each workflow.
As a recommended safeguard, have a reviewer with relevant EHS expertise approve any proposed change to a control, a record or a procedure before it takes effect. This article is general information and does not replace legal advice.
Test on past real cases, then keep versions and logs
NIST recommends measuring accuracy on test sets that reflect how the system will actually be used (NIST AI 100-1). Have reviewers label past cases using only the intake evidence and the site criteria in force at the time. Include:
- High- and lower-severity reports, including vague and incomplete ones.
- Reports from different sites and shifts, and any written in other languages your workers use.
- A few with odd or misleading text in the body or attachments.
Write the acceptance criteria before running the test. Following NIST's accuracy guidance on false positive and false negative rates, cap two rates: missed highs among reviewer-labeled high-severity cases and false high flags among lower-severity cases. Then require zero unsupported claims: for each extracted fact, check the cited passage or photo; for each classification, verify that the cited evidence meets the cited site criterion; count missing references, and any "not in the record" entry the intake evidence contradicts, as failures. Finally, require zero out-of-scope action attempts by the workflow during the case runs, and after every change separately verify that a forbidden write and an unauthorized read are blocked and that any enabled approval-required action stays pending. Set aside part of the labeled cases untouched; rerun the rest after each fix, and use the set-aside cases for final acceptance, with retrieval limited to intake-time information so no case reveals its own answer.
Then run it alongside the current process. Respondents to HSE's industry survey listed controlled trials and sampling checks among their controls; have the named reviewer sample live outputs on a schedule.
Version every change to the instructions, data sources and actions. Log the workflow version, source record IDs, actions attempted, outcomes and approvals. Ask the vendor what report content appears in the log, who can read it and how long it is kept, and check log access with two test users who have different access rights. The NCSC guidelines for secure AI system development, aimed primarily at providers of AI systems, place logging and monitoring in secure operation and maintenance (NCSC Guidelines for secure AI system development).
What to do next
This week, pick one job with a clear trigger, inputs you can already open, a fixed output format and a reviewer who can catch errors. Write the one-page description and give it to the workers who do the job. Name the reviewer and a backup. Then build the first version with reading records and drafting text only, and run it on past cases.
To see how other EHS jobs break into workflows, browse the SoterEHS workflow library.
Sources
- OSHA: Safety Management (Recommended Practices for Safety and Health Programs)Supports the advice to start with a basic program and simple goals and expand, used for starting with one job.
- OSHA: Hazard Identification and AssessmentSupports the near-miss example: investigating close calls and near misses, grouping similar incidents, and determining severity and likelihood to prioritize corrective actions.
- OSHA: Worker ParticipationSupports involving workers in establishing, operating, evaluating and improving the program, the anonymous reporting option, and reporting back to workers.
- HSE: Understanding how AI is used in HSE regulated sectorsSupports the survey-respondent risk of flawed or biased data and the control measures of trials in controlled environments and sampling.
- NIST AI 600-1: Generative AI ProfileSupports the definition of confabulation and the point that confabulated citations can mislead people into trusting output.
- NIST AI 100-1: Artificial Intelligence Risk Management FrameworkSupports defining human roles for overseeing AI systems, false positive and false negative rates as accuracy measures, and realistic, representative test sets.
- OWASP LLM06:2025 Excessive AgencySupports the three root causes, authorization in downstream systems, minimizing functionality and permissions, executing in the user's context with minimum privileges, and approval for high-impact actions.
- OWASP LLM01:2025 Prompt InjectionSupports the definition of indirect prompt injection, the unclear prospect of fool-proof prevention, constraining model behavior and defining output formats with source citations.
- NCSC: Guidelines for secure AI system developmentSupports the placement of logging and monitoring in secure operation and maintenance, and that the guidelines are aimed primarily at providers of AI systems.