Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Power Automate / Workflows (for MSTeams)

Schemesworkflow://, workflows://
Cargo featureservice-workflows
Servicehttps://www.microsoft.com/power-platform/products/power-automate
Body formatsmarkdown (first is the default)
Attachmentsno
Title length250 characters
Body length1,000 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedyes

URL formats

{schema}://{host}/{workflow}/{signature}
{schema}://{host}:{port}/{workflow}/{signature}

{schema} is one of workflow://, workflows://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{host}Hostnamestringyes
{port}Portint, 1 to 65535no
{signature}Signaturestringyessecret; must match ^[a-z0-9_-]+$
{workflow}Workflow IDstringyessecret; must match ^[A-Z0-9_-]+$

Query parameters

ParameterMeaningTypeDefaultNotes
idWorkflow IDstringsets {workflow}
imageInclude Imageboolyes
paUse Power Automate URLboolnoalso powerautomate
routePower Automate Routing IDstringalso routeid; must match ^[0-9]+$
sigSignaturestringsets {signature}
templateTemplate Pathstringsecret
verAPI Versionstringalso api-version
wrapWrap Textboolyes

Prefixed parameters:

  • :name=value: Template Tokens

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

workflow://host/wf/sig
workflows://host:443/workflow1b/signature/
workflow://host/3XXX5/iXXXU/?route=42
workflow://host:443/workflow1a/signature/?image=no
workflows://host/wf1/?sig=abc-def
workflows://host:443/signature/?id=workflow1c
workflows://host:443/workflow1b/signature/?ver=2016-06-01
workflow://host/3XXX5/iXXXU/?pa=yes&routeid=42

Rejected URLs:

workflow://
workflow://:@/
workflow://host/workflow
workflow://host:443/^(/signature

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'workflow://host/wf/sig'

Notes

Power Automate / Workflows for MS Teams (workflow://, workflows://): Adaptive Card messages through a workflow webhook.

?template= reads a local JSON file when the message is sent, or downloads an http(s):// one before the first send and keeps it.