-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Question
Is it possible to use a personal xp- token in a standard function?
Context
Some of my clients lock down channel creation to admins only, and they want a workflow where users submit their requests for a channel. Unfortunately, workflows don't inherit the admin's permission when the admin approves it so the workflow fails. The workaround is to create a custom function that uses an admin token (saved in .env) and then calls the conversations.create API call, and it works fine
The biggest issue is that the standard function has the capability to assign channel managers, whereas the custom function using the API does not. I opened an issue with the SDK team but nothing came out of it for now.
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.