Files

Technique 1: Slack Workflow Builder

📝 This technique uses Workflow Builder, which requires a Slack paid plan.

This technique sends data to Slack using a webhook to start a workflow created using Slack Workflow Builder.

Setup

The Slack app manifest included with each example showcases steps of a workflow in Workflow Builder along with the webhook trigger inputs.

For details on how to setup this technique in GitHub Actions, read the setup section of the docs.

Example workflows

  1. Format generated files: Message outputs from prior steps.
  2. Post release announcements: Share releases to a channel.
  3. Update a channel topic: Highlight the current build status.

Format generated files

Convert build outputs from earlier GitHub Action steps into a Slack message.

This example uses data from a payload file to send a message to a hardcoded channel.

Related files:

Post release announcements

Select a channel to post news about the most recent release to.

This example uses Slack functions and inline inputs to do the following:

  1. Open a form to select a channel.
  2. Send a message to the selected channel.
  3. React with a :tada: emoji.

Related files:

Update a channel topic

Show the latest commit status in the header of a channel.

This example uses the default GitHub event context and payload to update a channel topic.

Related files: