Flow rendered
Json
Input schema of the flow

Ban a user, notify them by email, and us by Slack

Note: This flow connects to a Postgresql resource and updates the user table. It requires the following columns: username, email, banned, ban_reason.

Set banned flag, notify user via email, send slack message about the operation.

Inputs

  • db* (object, format: resource-postgresql)

    default: "$res:g/all/demodb"
  • gmail* (object, format: resource-gmail)

  • slack* (object, format: resource-slack)

  • reason(optional) (string)

    default: "aggressive towards windmills"
  • username* (string)

    default: "don"
  • slack_channel* (string)

    default: "bans"

4 Steps