Agent-Guided Codex PR Dispatcher
Let an Agent inspect a GitHub request, prepare a confirmed Codex task, open a ready PR, and notify Slack when Codex needs 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.
9 nodes · Free & source-available
Agent-Guided Codex PR Dispatcher
This template turns a plain-language coding request into a controlled Codex run. An Agent extracts the GitHub repository and task, checks repository context with GitHub tool nodes, plans with Sequential Thinking, then hands a structured task to the Codex node. Codex asks for one explicit approval before it starts and opens a ready-to-review pull request when approved.
What this workflow does
- userInput receives a coding request that includes a GitHub repository URL
- codingAgent translates the request to English, extracts the repository and task, checks GitHub context, and returns
repoUrl,taskPrompt, andbranchNameas JSON - codexTask consumes those fields, starts from
main, and usesopen_prpublish mode - finalResult returns the Codex summary after completion
- If Codex needs approval or clarification, the
questionbranch formats a Slack message with the answer URL
Use cases
- Turn Slack or portal coding requests into Codex PRs with one approval checkpoint
- Route repository-specific bug reports into a reproducible Codex task
- Give an intake Agent GitHub read tools while keeping code changes delegated to Codex
- Notify the team when Codex needs missing requirements before touching the repo
Setup
Add an LLM credential to codingAgent, a Codex credential and GitHub credential to codexTask, GitHub credentials to the three GitHub tool nodes, and a Slack credential to notifyQuestion. The Agent already has a Sequential Thinking MCP connection. If you want web research, attach your own brave_search_api and website_loader sub-workflows to codingAgent and keep the prompt's "only use search when repository context is not enough" rule.
Notes
Credential and sub-workflow IDs are intentionally blank in this public template. Codex uses open_pr, so switch to draft_pr or diff_only if you want a less aggressive default. The Agent-provided branch name is constrained to lowercase letters, numbers, and hyphens with a 50-character maximum.
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 OpsCodex PR Fix AgentSend a coding task to Codex, open a draft PR when it succeeds, and notify Slack when Codex needs follow-up input.
- 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.