Skip to main content
Best answer

Send a direct message to a new discord user.

  • December 20, 2024
  • 6 replies
  • 35 views

Forum|alt.badge.img

When new users join Discord I want to send them a direct message. What’s the dynamic variable to use to send each new user a direct message?

Best answer by admfrkBest answer by admfrk

@SamB no it continued to throw a snowflake error. I looked that up and got to the bottom of it. Turns out I had a misaligned value in the text section that was causing all the fuss. Once i removed that everything worked as intended. Thanks

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31047 replies
  • December 20, 2024

Hi ​@admfrk 

Zap action: Discord - Send Direct Message

Field: User

Value: Likely expects the internal Discord User ID.

Help link for determining the expected valid value for a dropdown field: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

 

Help links for using Discord in Zaps: https://zapier.com/apps/discord/integrations#help


Forum|alt.badge.img
  • Author
  • Beginner
  • 2 replies
  • December 22, 2024

Right but choosing Static would then be the same user every time and choosing custom to use dynamic fields seems to select the same user every time too even though username or ID are being used. Each one is the proceeded with a value. 

 

The entire flow should be super simple:
App: Discord
Event trigger: New User Added
Account: Your Discord Server

User: Username or ID from the new user added
Message: Your message.

User in the second step seems to always pull the same user. ID and Username are populated as Username: [name] or ID:[0123456789] representing a single user. Is there a dynamic or variable that should work here?


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31047 replies
  • December 22, 2024

@admfrk 

The point of using “Custom” mode to map a dynamic variable is that each time the Zap runs the variable value will change.

Try turning the Zap ON and testing live.

Then check your Zap Runs history details to see the DATA IN/OUT for each step to help you trace the data flow and troubleshoot: https://zapier.com/app/history/

 

If you need more help, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings visible.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7532 replies
  • January 10, 2025

Hey there ​@admfrk 👋

Did the Zap continue to send messages to the same user once it was turned on and running live despite selecting the user’s ID from the trigger?

Keen to ensure you’re all set here so please let us know if you need any further help!


Forum|alt.badge.img
  • Author
  • Beginner
  • 2 replies
  • Answer
  • January 10, 2025

@SamB no it continued to throw a snowflake error. I looked that up and got to the bottom of it. Turns out I had a misaligned value in the text section that was causing all the fuss. Once i removed that everything worked as intended. Thanks


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7532 replies
  • January 13, 2025

Awesome job digging into that snowflake error and figuring out what was causing it, ​@admfrk! 🙌 And thanks so much for sharing your solution here—I’m sure others in the Community will find it really useful to know. 🧡

I’m so glad you were able to pinpoint the issue and get it fixed. If there’s anything else you need help with, feel free to reach back out. Until then, happy Zapping! ⚡