Invechar

Chat Workflows

Automate routine work in a channel with no code. A word, an emoji, a form, a schedule or a record event starts a few steps: send a message, ask a question, create a task, ask for approval, post the Brain's proposal or post to Slack.

Updated

What it does

A chat workflow is a small automation that lives in one channel or group. It has one trigger and up to 8 steps.

Triggers

  • Someone writes a word: a message in this channel contains the word or phrase (for example "damaged").
  • Someone reacts: an emoji is added to a message here (for example 馃毃).
  • Someone fills a form: started from the Workflows menu at the top of the conversation.
  • On a schedule: every weekday, day, week or hour at your local time.
  • A record event: a new order, an order shipped, a PO received, a return opened, stock running low or out, a channel stock mismatch, a competitor undercut.

Steps

  • Send a message into the channel.
  • Ask a question: posts a short form in the channel and waits for the answer.
  • Create a task in Projects, assigned to someone or to whoever started it.
  • Ask for approval: posts Approve and Reject buttons for the people you pick and waits. Reject stops the workflow.
  • Post the Brain's proposal: posts what the Brain proposes (for example restocks) with a link to Daily Tasks. It never runs anything by itself.
  • Post to Slack through your Slack connection.

Use answers in later steps by writing the question's name in double braces, like {{amount}}, or {{trigger.text}}, {{person}}, {{event.summary}} and {{approval.by}}.

When to use it

  • A damage report form whenever someone writes "damaged" in #ops.
  • A spend approval before buying samples.
  • A Monday restock review posted in #purchasing.
  • A ping in #ops for every new wholesale order.

Step by step

  1. Open the channel and click the people icon to open Details.
  2. Under Workflows, click New workflow, or start from a ready made one.
  3. Pick the trigger and fill in its detail.
  4. Add steps and fill each one in. Use the arrows to reorder.
  5. Click Save workflow. Use History to see each run and Pause to stop it.

Every button and setting

  • Start from: Damage report, Spend approval, Monday restock review, New order ping.
  • History: every run with what each step did.
  • Edit, Pause or Resume, Delete: for anyone who can post in the conversation.
  • Workflows menu (top of the conversation): starts form workflows.

FAQ

Can a workflow trigger itself? No. Messages posted by workflows, the Brain and other bots never start a workflow, and each message or reaction starts a workflow once.

Is there a limit? 10 workflows per conversation, 20 runs per workflow per hour. Over the limit, it pauses for the rest of the hour and says so.

Whose permissions does it use? The person who made it. If they can no longer post in the channel, the workflow pauses itself.

Does the Brain proposal step change anything? Never. A person approves in Daily Tasks.

Who can add a Brain proposal step? Someone who can read store data, in a conversation without guests. If that changes later (the owner's role, or a guest joins), the step is skipped and the run history says why.

Troubleshooting

  • It did not run: check it is not paused, that the word is a whole word in the message, and that the hourly limit was not reached.
  • Post to Slack did nothing: connect Slack in Team chat connections, and check today's Slack limit.
  • The approval is stuck: only the people picked as approvers can decide it.