Tailflow
Skip to article
Browse documentation

Discord · Action

Send direct message

Sends a direct message to one member of the server you connected. It arrives from the Tailflow app. The recipient is a Discord user id, usually the one a Find user step above produced.

At a glance

IntegrationDiscord
Credits1
ConnectionDiscord, by signing in, or a pasted key

Settings

userRequiredAccepts event fields
The person's id, usually from a Find user step above.
messageRequiredAccepts event fields
The text, in Discord's Markdown. Up to 2,000 characters.
silent
On or off. On delivers the message without a notification.

What it hands on

Nothing. This action delivers the event rather than adding to it, so the steps below it read the same thing they would have read without it.

Good to know

  • The Discord connection has to be one made by signing in, which adds the Tailflow app to your server. A connection made by pasting a webhook URL, or made before this action existed, can only post to its channel: the step says "Reconnect Discord to use this action" until Discord is connected again by signing in.
  • A recipient that is not a Discord user id is refused before anything is sent.
  • The message is sent only to a member of the connected server. A recipient who is not a member, or who does not accept direct messages from the app, fails the step and stops the flow.
  • A message over 2,000 characters is refused before Discord sees it. Nobody is pinged, whatever the message names.
  • If the Tailflow app is removed from the server, the step fails and the flow stops until Discord is reconnected by signing in.