Codex PR Fix Agent
Send a coding task to Codex, open a draft PR when it succeeds, and notify Slack when Codex needs follow-up input.
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
5 nodes · Free & source-available
Codex PR Fix Agent
This template wires the Codex node into a production-style coding workflow. A task prompt enters the workflow, Codex clones the configured GitHub repository inside Heym, applies code changes, and either returns a diff/draft PR or pauses with a follow-up question.
What this workflow does
- CodeTask receives the coding request
- CodexFix runs the local Codex CLI against the configured repository
- FixResult returns summary, validation, changed files, and draft PR URL
- NotifyCodexQuestion sends the Codex follow-up URL to Slack from the
questionbranch
Use cases
- Fix failing tests from an alert or issue triage workflow
- Produce draft PRs from plain-English engineering tasks
- Route missing requirements to Slack while the main workflow waits
Setup
Create an OpenAI Codex credential with a ChatGPT/Codex access token and a GitHub credential with repository access. In CodexFix, set the repository URL, base branch, setup command, and publish mode. In NotifyCodexQuestion, connect a Slack credential and channel.
Notes
Codex credentials use access_token, not an OpenAI API key, and are not exposed through $credentials. The template uses draft_pr mode; switch to diff_only if you only want the patch in the workflow output.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- Dev & IT OpsCursor Post NotifierMonitor the Cursor blog on a schedule and Slack-notify your team when a new post goes live.
- Dev & IT OpsClaude Blog MonitorMonitor the Anthropic blog on a schedule and Slack-notify your team on new Claude posts.
- Dev & IT OpsGitHub Release RadarCompare the latest GitHub release tag against Redis and notify Slack when a project ships a new version.
- Dev & IT Opsweb.dev Article MonitorCron + crawler + Redis dedupe + Slack: get notified when Google's web.dev blog publishes a new article.
- Dev & IT OpsCloudback MCP Backup Coverage ReviewReview Cloudback backup coverage with a Docker-based MCP server, gate configuration changes with HITL, and notify ops in Slack.
- Dev & IT OpsResilient HTTP + Error HandlerAttach an Error Handler node to an HTTP call and Slack-notify your team the moment a request fails.
- Dev & IT OpsPlaywright Visual AI MonitorTake a full-page screenshot on a schedule, analyse it with an LLM for anomalies, and Slack-alert when something looks off.
- Dev & IT OpsRealtime WebSocket Alert RelayListen to an external WebSocket feed, audit critical events, and forward them to another realtime channel.
- Dev & IT OpsAsync Sub-workflow DispatcherValidate an incoming brief and dispatch a reusable sub-workflow in the background without a response node.
- Dev & IT OpsRabbitMQ Delayed PublisherPublish a release message to RabbitMQ with an optional delivery delay for downstream consumers.
- Dev & IT OpsSelf-stopping Status MonitorPoll an incident endpoint until it resolves, then automatically disable the polling trigger for future runs.
- Dev & IT OpsEjentum Code ReviewerA 4-agent MAS that refuses to rubber-stamp PRs: architect orchestrates three cross-lab specialists (reasoning, code, anti-deception), each backed by the Ejentum Logic API.