Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| E-mail addressRequired | The address the person signs in to Slack with. This needs the users:read.email scope on the app. |
| Stop the run when nobody matches | Turn it off to get found: false instead, so the flow can decide what to do next. A deactivated account also reads as not found. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
email | textits `{{ }}` must give a string |
failIfNotFound | true/false, by default true |
Output
| Field | Type |
|---|---|
userPerson | object |
foundSomebody matched | boolean |
Sample output, and the expression for each field
- foundtrue
- user
- id"U0123ABCD"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"email": "<e-mail address>",
"failIfNotFound": true
},
"label": "Find user by e-mail",
"type": "slack.findUserByEmail",
"version": 1
}