Skip to main content
Question

How do I assign/discard specific Discord roles based on WordPress site subscriptions?

  • August 20, 2023
  • 6 replies
  • 192 views

Anna93

Hi,

I searched the forum but couldn't find an answer.

I need path:
- if someone buys / has an active subscription on the website (wordpress) then he has a specific role on the Discord channel
- if the subscription ends, this role is taken away from him

Is it possible via Zapier?
​Sprawdź szczegóły

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
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • August 20, 2023

Hi @Anna93 

Good question.

 

Try adding a Filter step to the Zap: https://zapier.com/apps/filter/help

 

WooCommerce Zap trigger:

 

Available Discord Zap app actions:

 


Anna93
  • Author
  • Beginner
  • August 20, 2023

Thank you for your answer.

For me it is incomprehensible how discord is supposed to find a user. There is no username field in the order in Discord.

 

 


Anna93
  • Author
  • Beginner
  • August 21, 2023

Hi,

does anyone know if I can buy a more expensive plan to support me in such integration as I described help?

Because I see that the problem here is unknown.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • August 21, 2023

Hi @Anna93, welcome to the Community! 👋

Ah, yes it’s currently only possible to search for a user by username so if that information isn’t captured in WooCommerce when ordering, a Find User (Discord) action isn’t going to allow you to locate the correct user in Discord. A more expensive plan wouldn’t solve this unfortunately.

We have an existing feature request for the ability to search for users by email which would allow you to take the email address associated with the WooCommerce order and search for the corresponding user in Discord. This was discussed previously in Community here: 


I’ve gone and added your vote to that feature request as it would be what you’d need to get the Zap to assign to role to the correct user in Discord. I can’t make any promises as to when/if that feature request would be added but we’ll be sure to email you as soon as it is.

In the meantime, one workaround I can think of would be to add an additional required field to the checkout so that when customers place an order you’re able to capture their Discord username. This would allow it to be sent through from WooCommerce along with the other order details. Not an ideal solution I know, but hopefully it’ll help to get you up and running in the meantime?


Anna93
  • Author
  • Beginner
  • August 22, 2023

Thank you very much for your answer.

I added a username field in the order form. It still does not work.

My subscription is paid for by the Stripe plugin. Not PayPal.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • August 22, 2023

@Anna93 

We would need to see updated screenshots with how your Zap steps are configured to have context.