use-cases/verified-operations-workflows.md +91 −0 added
1---
2name: Run verified operations
3tagline: Run repeatable workflows and verify the result.
4summary: Use Codex to normalize inputs, run approved scripts or APIs, retry
5 bounded failures, and verify the result from logs or artifacts before
6 reporting back.
7bestFor:
8 - Operations tasks with structured inputs, explicit approval, and a result
9 that should be auditable.
10 - Repeated workflows such as access updates, invite batches, quota changes,
11 customer setup tasks, routing checks, and migration follow-ups.
12 - Teams that need Codex to run a narrow scope and report exactly what
13 succeeded, failed, or needs a human decision.
14starterPrompt:
15 title: Run an Approved Workflow
16 body: >-
17 I need to run this workflow:
18
19
20 Goal: [what should happen]
21
22 Inputs: [CSV, Google Sheet, list, ticket, or file path]
23
24 Approval or policy source: [Slack thread, doc, ticket, or none]
25
26 Runner: [script, API, CLI, skill, or manual app workflow]
27
28 Verification artifact: [result CSV, log, dashboard, screenshot, or other
29 proof]
30
31
32 Please:
33
34 - inspect the inputs and ask only for missing required fields
35
36 - normalize dates, amounts, owners, and IDs before running the workflow
37
38 - run a dry run first when the workflow supports it
39
40 - run only the approved scope
41
42 - record one success or failure row per item
43
44 - retry transient failures once without restarting successful rows
45
46 - summarize totals, failures, retries, and verification artifacts
47
48
49 Pause before irreversible actions or scope changes.
50 suggestedEffort: medium
51relatedLinks:
52 - label: Codex plugins
53 url: /codex/plugins
54 - label: Codex automations
55 url: /codex/app/automations
56 - label: Agent skills
57 url: /codex/skills
58---
59
60## Run operations you can audit
61
62If you have repeatable operations you need to run regularly, such as giving access to a user, applying a batch update, or calling a script with different parameters for example, you can use Codex to automate it and give you an auditable output.
63
64Use this workflow when Codex should run a repeatable operation and show you what happened with an artifact that counts as verification.
65
66## Describe the task and inputs
67
68
69
701. Give Codex the input table, files, tickets, or other list it should batch run the process on.
712. Point it to the approval source or policy that defines the allowed scope, if applicable.
723. Tell Codex which script, API, skill, CLI, or app workflow should do the work.
734. Optionally, ask for a dry run when the workflow supports one.
745. Ask Codex to run the batch operation and record one success or failure row per item.
75
76
77
78Keep the scope narrow, and add instructions for Codex to run the operation only when it has all the required inputs.
79If a row is missing a required field, Codex should flag that row instead of guessing.
80
81Connect the tools you use to run the operation with [plugins](https://developers.openai.com/codex/plugins), for example your ticketing system or your spreadsheet with list items.
82
83## Require proof to verify the result
84
85A useful operations run includes an artifact that you or a teammate can inspect, such as a result CSV, a log file, a dashboard link, a screenshot, a PR check, or any other proof that the operation was successful. When using the Codex app, you can inspect this [artifact](https://developers.openai.com/codex/app/artifacts) directly in the artifact viewer after the run to verify the result.
86
87## Turn the run into a reusable workflow
88
89After the first successful run, ask Codex to capture the repeatable parts. For common workflows, this can become a [skill](https://developers.openai.com/codex/skills), or an [automation](https://developers.openai.com/codex/app/automations) that runs on a schedule.
90
91For scheduled operations, use an automation only after the manual run produces reliable output. Keep sensitive actions that might affect access or data permanently draft-only unless you explicitly want Codex to take them.