Connection Cards
User Flows
This tutorial will show how to use user connections inside the pieces.
In this example we will write a flow that will send a notifcation for user slack channel
The flow consists of three steps:
- The trigger will be webhook, an example payload:
{
"body": {
"user": "USER_ID",
"channel": "general",
"message" : "Message"
}
}
- The second step is to fetch the connection information, the connection name is in format
slack_USERID
, so we addslack_
and the user from webhook body.
- The third step use values based on value from previous steps click (X) and fill the values from previous steps.