Create GitHub issues from Slack instantly
A Slack message pushed to your Zapier bot becomes a GitHub issue with an AI-drafted title and body, and the thread gets the issue link.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-github-issues-from-slack-with-ai/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Engineering · Software delivery
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-github-issues-from-slack-with-ai
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-github-issues-from-slack-with-ai/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-github-issues-from-slack-with-ai - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy create-github-issues-from-slack-with-ai - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-github-issues-from-slack-with-ai
zaps/create-github-issues-from-slack-with-ai/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/github.tsThe
githubaccount it uses - connections/slack.tsThe
slackaccount it uses - triggers/pushed-message.tsWhat starts it:
slackpushed_message_v2 - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a teammate pushes a Slack message to the Zapier bot (
slack,pushed_message_v2). The trigger also delivers the message text, its author, its channel and its permalink. - Workflow skips replies inside an existing thread and empty messages.
- AI by Zapier drafts a title (80 characters at most) and a description with Problem Definition, Proposed Solution and Tasks sections, from the message alone.
- Workflow adds a Meta block with the Slack link and the author to the description.
- GitHub creates an issue in the repository with that title and body.
- Slack replies in the message's thread with the issue link.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | Where | What goes there |
|---|---|---|
GITHUB_REPO |
config.ts |
The repository that gets the issues, as owner/name. Ask which one, then check the user's GitHub connection can create issues in it. |
Also review with the user:
MODEL_ID:standard/autolets Zapier pick an account-usable model. Change it only if the team needs a specific model, which may need its own AI connection.nameandaccess_typeintriggers/pushed-message.ts: the label Slack shows for the automation, and who in the workspace can push messages to it.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-github-issues-from-slack-with-ai, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-github-issues-from-slack-with-ai, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
slackto the user's Slack connection for the workspace where the bot lives, andgithubto the user's GitHub connection with access to the repository. The AI step uses Zapier-managed credentials (authentication_id"0") and needs no connection. - Source: publish
workflow.tsandconfig.ts, withGITHUB_REPOreplaced by the user's answer.triggers/pushed-message.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswithslack, find the row whosekeyispushed_message_v2, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the Slack trigger's output fields, the AI step's
get_completionfields and the GitHubissueaction's fields with the user's connections before the first test run, and fix any key inworkflow.tsthat doesn't match.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP) in a test channel the user owns. Post the test issue to a test repository, not a real one:
{
"message": {
"ts": "1700000000.000100",
"raw_text": "Export to CSV drops the last row when the report has more than 500 lines.",
"permalink": "https://example.slack.com/archives/C0123456789/p1700000000000100",
"user": { "name": "test.user", "real_name": "Test User" },
"channel": { "id": "C0123456789", "name": "test-channel" }
}
}
Confirm that one issue was created in the test repository with a title and the three sections, a Meta block linking the Slack message, and that the thread reply shows the issue link. The user closes or deletes the test issue, not the agent.
Notes
- Every message pushed to the bot opens an issue. Keep the bot's access to people who should file issues.
- The AI draft follows the layout in
INSTRUCTIONSinworkflow.ts. Change that text to match the team's issue format. - The Zap reads the message only. It doesn't fetch the rest of the Slack thread, so context that lives only in earlier replies won't reach the issue. Push the message with the context in it.
- To add labels or assign an owner, add the GitHub fields to the
issuestep. To also send a direct message to the person who pushed the message, add a Slackdirect_messagestep after the reply. - Never commit a real repository name that identifies a private project.