Duaer

Integrations

Start a Duaer workflow with Slack Trigger

In Duaer, Slack Trigger starts a workflow when Slack sends an event. It can listen for 9 events, such as Any Event, App Home Opened, Bot / App Mention, and 6 more.

Start a Duaer workflow with Slack Trigger

  1. On the Duaer canvas, open the node panel, search for Slack Trigger, and add it as the first node.
  2. In Credential to connect with, pick or create a Slack API credential.
  3. Pick the events that should start a run, for example Any Event or App Home Opened.
  4. If needed, select Add Option for the optional settings listed below.
  5. Select Execute step, then cause a real event in Slack to capture a sample. Publish the workflow so Duaer registers the webhook and starts a run for every event.

Events that start a Duaer workflow with Slack Trigger

  • Any Event: Triggers on any event.
  • App Home Opened: When a user opens your app's Home tab.
  • Bot / App Mention: When your bot or app is mentioned in a channel the app is added to.
  • File Made Public: When a file is made public.
  • File Shared: When a file is shared in a channel the app is added to.
  • New Message Posted to Channel: When a message is posted to a channel the app is added to.
  • New Public Channel Created: When a new public channel is created.
  • New User: When a new user is added to Slack.
  • Reaction Added: When a reaction is added to a message the app is added to.

Slack Trigger options in Duaer

Under Add Option, Slack Trigger offers Resolve IDs, Usernames or IDs to Ignore, and Emoji Names to Filter.

Configure a webhook in Slack

  1. In Slack API Apps, open your app, go to Event Subscriptions, and turn on Enable Events.
  2. Enter the Duaer Slack Trigger webhook URL as the Request URL. Slack sends a verification request and Duaer answers it for you.
  3. Under Subscribe to bot events, add the events to listen for, such as app_mention, message.channels, or reaction_added. Save and reinstall the app when prompted.
  4. Choose the matching event under Trigger On in the node. For an event not listed, subscribe to it in Slack and choose Any Event.

A Slack app has one Request URL, so the test and production URLs cannot both work. Unpublish the workflow while testing, or create a separate test app.

Verify the webhook

Copy the Signing Secret from Basic Information > App Credentials in your Slack app and paste it into Signature Secret on the Duaer Slack credential. Duaer then checks each request’s signature; requests with a bad signature or a timestamp older than 5 minutes get 401 and do not start the workflow.

Questions

Which Slack Trigger events can start a Duaer workflow?

Duaer's Slack Trigger can listen for 9 events, including Any Event, App Home Opened, Bot / App Mention, File Made Public, File Shared, and 4 more. Pick one or more on the node.

Does Slack Trigger run before the Duaer workflow is published?

Only while you test with Execute step. Duaer registers the Slack Trigger webhook for production runs after you publish.

Which credential does Slack Trigger use in Duaer?

Duaer's Slack Trigger uses a Slack API credential. The secret stays in the credential, not in node parameters.

In this section