So Discord has:
- Usernames (ex. ohms),
- Discriminators (ex. #3539),
- and User IDs (ex. 968557998576386149)
As of now my Typeform collects username only, I’m then running a find_user action on pipedream to get their ID, then I’m giving that ID a role. Problem is, if two users have the same name I could run into issues.
Pierce on slack recommends: You can bypass the props in the pre-built find_user action and recreate it in a Node.js step instead
The trigger would be a typeform being filled with Username + Discriminator (ohms#3539) > a custom Node.Js action would accept this input, find the unique user, and output a Discord ID (968557998576386149) > the add_role action would give the Discord ID their role.