Tailflow
Skip to article
Browse documentation

Discord · Action

Find user

Finds one person in the server you connected by their username, display name or nickname in that server, and hands their id to the steps below. It is the step before Send direct message when the person is known by name and not by id.

At a glance

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

Settings

queryRequiredAccepts event fields
A username or a nickname in this server, with or without the @. Takes event fields.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.discord_find_user_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The person's id. It is what Send direct message takes.
username
Their username.
name
Their display name, or their username when they set none.
nickname
Their nickname in the server, or empty when they have none.

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.
  • The match is exact, ignoring capitals: "sam" does not find "samantha". Other bots are never matches.
  • Nobody, or more than one person, fails the step, so a message is never sent to the wrong person. The flow keeps running.
  • Validate run does not make the lookup. Test run makes it.
  • If the Tailflow app is removed from the server, the step fails and the flow stops until Discord is reconnected by signing in.