< Back to workshops

Build a random reaction GIF generator with Workflow Builder

Like pulling the perfect reaction GIF out of a hat

beginner 15 mins

Create your own reaction GIF generator

Workflow Builder helps you automate everyday tasks and processes in Slack. Workflows can be as simple or as complex as you’d like, and can even be connected to other apps you use to get work done. In this workshop, you’ll learn how to build a custom automation with Workflow Builder to generate random GIFs with no coding required!

Now it’s time to add steps to your workflow. Slack has built-in steps and third-party integration steps (connectors) that can be found on the right sidebar. For this workflow, you will use the GIPHY connector. This step will prompt a person to fill out a form to search for a random GIF and save the form information to be used in the following steps.

  1. Search for or navigate to the Giphy step
  2. Click Random GIF
  3. Leave the box checked for “Generate a form…”  and click Next
  4. Configure the Random GIF step (optional):
    • Change the Form title, e.g. “Random Cat GIF”
    • Click the Tag question, enter a Default value (e.g. “cat”), and click Done
    • Click the Rating question, change the Default value, and click Done
    • Click Next
    • Click Save

The next step in the workflow is to send the random GIF to the current channel.

  1. In the Search steps input field, type message
  2. Click Send a message to a channel
  3. Under Select a channel, make sure Channel where the workflow was used is selected
  4. Clear the default contents of the Add a message text box
  5. Click {} Insert a variable
  6. Click Random GIF: Giphy GIF
  7. Click Save

It’s important to name your workflow so people can understand what the workflow is and how it might be used.

  1. Click the Untitled Workflow at the top of the form
  2. Update the workflow NameDescription, and click Save
  1. Click Finish Up
  2. Verify the Name and Description are correct
  3. Verify the Permissions (optional)
  4. Click Publish

Your workflow is now published and ready to test!

  1. Click Copy Link
  2. Click Done
  3. Close the Workflow Builder
  4. Go to a channel in your Slack workspace, paste the link in the Message box, and press Enter
  5. Click Start Workflow
  6. Fill in the form and click Submit
  7. Enjoy your random GIF!

After the workflow is added to a channel, you can trigger the workflow using a slash command.

  1. In the Message box, start by typing a slash “/” followed by the first few letters of the name of your workflow
  2. Make sure the correct workflow is highlighted and press Enter