BACK


When of the following rules are met, then invite the user to /payflow.

Webhook

Use an external service to determine if the user should be invited into the channel.

A post request will be made with { user, channel } data. If the webhook returns a 200, the rule will be triggered, if it returns a 400, it will not. Return a json response in either case with a message to include a reason in the activity logs. Maximum of 75 characters. A response must return within 5 seconds. Example: HTTP POST example.com/webhook { user, channel } -> 200 {'message': 'User belongs to BAYC club'}
Example: Let's say you have only this rule in the section "When any of the following rules are met, then invite the user to channel.". If you choose 'Trigger this rule' and the webhook fails, the user will be invited into channel. If you choose 'Do not trigger this rule', the user will not be invited into channel.

Unless of the following rules are met, then reject the user from /payflow.