Is it Possible to Use a Custom Expression for Adding a Member to a Discord Channel After an Event is Triggered?

This topic was automatically generated from Slack. You can find the original thread here.

I’m trying to setup a workflow that adds a member to a Discord channel after an event is triggered. When selecting which Discord member to add, I want to enter a custom expression instead of selecting someone from the dropdown. Is this possible? I keep getting a {"permission_overwrites":["0"]} error when trying to use {{steps.trigger.event.body.data.integrations.discord.id}} in the Members to add field. Any help is appreciated, thanks.

Here’s what I’m working with:

You need to wrap it inside an array - since it is able to accept multiple members.

[{{steps.trigger.event.body.data.integrations.discord.id}}]

Try doing this (placing the array in the double curly brackets)

{{[steps.trigger.event.body.data.integrations.discord.id]}}

Trying now, thanks for the help

Not too sure, sorry :cry:

Hello , apologize for the late response. I can reproduce your issue! I have created a ticket here and added it to Pipedream prioritized backlog, Pipedream component dev will take a look at it soon.

Also thanks @U02NF9HLN3H for your help!

Hi , thanks a lot. I want to note that this error also happens when trying to input a custom expression (which is what I’m trying to do) as well as selecting a Discord user from the drop down.

Hello , thanks for the information. This happens when I tried both custom expression and select Members to add from the dropbox

Got it

Just wanted to make sure

Thanks