tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

Post a Discord message for each completed CircleCI job

Every time a CircleCI job reaches a final state, this workflow posts a message about it to the Discord channel you pick, so your team sees job results without opening the CircleCI dashboard.

Circleci Discord

2 steps Setup ~5 min Used on 2.0k sites Free to import

The Post a Discord message for each completed CircleCI job workflow on the FlowMattic canvas, with 2 steps across Circleci, Discord
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Build results are easy to miss when they live only in CircleCI. Developers push a change, switch to other work, and find out much later that a job broke. If your team already talks in Discord, putting job results there means someone sees them while the change is still fresh.

The CircleCI trigger fires when a job reaches a terminal state, meaning it has finished running one way or another. FlowMattic receives the job details from that event. The Discord step then posts a message to the channel you choose, and you decide which job details go into the text.

As imported, every finished job produces a message, whatever its outcome. On a busy project that can be a lot of posts. A Filter after the trigger lets you narrow it down, for example to failed jobs only. Each run is listed in Task History, so you can see what CircleCI sent and what was posted.

A #builds channel for a small dev team

Point the Discord step at a dedicated builds channel. Everyone on the team can scroll it to see which jobs finished and how, without a CircleCI login.

Open-source project with community contributors

Contributors who hang out in your project's Discord server see job results for their pull requests in a channel they already read.

Release-day monitoring

While you ship a release, the channel shows each test and deploy job as it finishes, so the people on the call can follow progress in one place.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Circleci Job Completed

    Fires when a CircleCI job reaches a terminal state, such as success or failure. The job's details from CircleCI become available to map into the Discord message.

  2. Step 2Action
    Discord Send Channel Message

    Sends a message into a Discord channel of your choosing for each finished job. Write the message text and map the job details from CircleCI into it, then send a test run to check how it looks.

What you need

  • FlowMatticCore
  • CircleCI AccountAccount
  • Discord AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Add a Filter after the CircleCI trigger that continues only when the job's status shows a failure. The channel then carries alerts that need action instead of every result.
  • Replace the Discord step with Send Direct Message if one person, such as the on-call developer, should get the job results privately.
  • Run one CircleCI job after import so FlowMattic captures the event data, then map the job name and status into the message before you turn the workflow on.

Questions about this workflow

Does every CircleCI job post to Discord, or only failed ones?

Every job that reaches a terminal state posts a message as imported. Add a Filter on the job status after the trigger if you only want some outcomes in the channel.

What is the difference between this and the CircleCI Workflow Completed trigger?

Job Completed fires once per job, so a pipeline with several jobs sends several messages. FlowMattic also has a Workflow Completed trigger for CircleCI if you would rather get one message per pipeline.

Can I send CircleCI results to more than one Discord channel?

As imported, all messages go to the single channel set in the Discord step. Add a second Send Channel Message step pointed at another channel if a different group should see the same results.

Can I mention people in the Discord message?

The message is the text you write in the step, with job details mapped in. Test how Discord displays any mention you add before relying on it.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

No additional usage fees over and above the annual fee ... AND Technical Support is great... they get back to you quite quickly and go above and beyond what is expected...

Verified User in Consumer Goods

Crafting bridges between my favorite apps, FlowMattic has truly impressed me with its ability to seamlessly automate workflows. This has noticeably accelerated the efficiency of my business processes, making everything run more smoothly and productively.