# Need to add or remove a discord role for users based on Google Sheet Data

**URL:** <https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952>\
**Category:** Questions\
**Tags:** connections\
**Created:** [June 9, 2024, 2:55am UTC](https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952 "2024-06-09T02:55:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Back\_Linkz](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@Back\_Linkz](https://community.make.com/u/Back_Linkz)\
**Post date:** [June 9, 2024, 2:55am UTC](https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952/1 "2024-06-09T02:55:16Z")

</div>

Hi all,

My overview scenario is this:  
I have users in Beehiiv (newsletter). Some will be premium (paid).  
I"m going to be dumping this data into a google sheet.

For those that upgrade/pay, I’m going to send them a google form to share their discord username (to invite them to a closed channel).

What I’m needing to do is this:  
I’m going to be combing the beehiv data with the entry forms data. So two sheets into a third since I need to know the beehiv email, the current status of their membership, and the discord username associated with that individual.

Now I need to run a command that looks at that current discord, and if the discord user is also a premium subscriber, it’s assigned a role to give access to a closed channel.

if the discord user WAS a premium subscriber (but is no longer, and that should be reflected/changed on the google sheet), the role is revoked.

---

<div class="post-metadata">

**Author:** ![Back\_Linkz](https://avatars.discourse-cdn.com/v4/letter/b/e79b87/32.png) [@Back\_Linkz](https://community.make.com/u/Back_Linkz)\
**Post date:** [June 9, 2024, 3:45am UTC](https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952/2 "2024-06-09T03:45:07Z")

</div>

![Screenshot 2024-06-08 at 11.44.32 PM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/e/de2ebbeee0788ebb8b25de4e68869e9bf337b066.png)

This is my thinking…

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [June 9, 2024, 4:36am UTC](https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952/3 "2024-06-09T04:36:05Z")

</div>

Welcome to the Make community!

It certainly looks doable. You also need to consider edge cases where the user upgrades before they have provided their Discord username.

I would suggest completing the **Make Academy** before jumping into building your first scenario. If you need **specific assistance** when you are **building a scenario** it’s easier to help you then.

Otherwise, you can also **hire a professional** by posting in the #solution-exchange:professional-services category.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

### General

- [Help Center](https://www.make.com/en/help) | [Tutorials](https://www.make.com/en/help/tutorials.html)
- [Make Academy](https://academy.make.com) – learn Make and get your certificate
- [Discord Server](https://samliew.com/make-discord-invite) – join us in a community-run live chat

### Help Center Basics

- [Mapping](https://www.make.com/en/help/mapping/mapping) – What is mapping? What can I map?
- [Mapping with arrays](https://www.make.com/en/help/mapping/mapping-arrays) – How to map items in an array
- [Aggregate an array for mapping complex fields](https://www.make.com/en/help/tools/flow-control#customizing-the-output)
- [Tokens for `parseDate`](https://www.make.com/en/help/functions/tokens-for-date-time-parsing) | [Tokens for `formatDate`](https://www.make.com/en/help/functions/tokens-for-date-time-formatting)
- [HTTP modules](https://www.make.com/en/help/tools/http) – Make a request, Get (download) a file
- [Webhooks](https://www.make.com/en/help/tools/webhooks) – Error Handling, Responding to webhooks

### Articles & Videos

- [Router Magic Formula](https://www.youtube.com/watch?v=4Q-5BsCtJu4) - YouTube
- [Error Handlers in Make](https://www.youtube.com/playlist?list=PLRE9E-rAD8U10mx2TRs54Nq1XJDdK9Kx4) - YouTube playlist
- [Getting started with OpenAI](https://community.make.com/t/getting-started-with-openai-gpt-3-and-make/7796)
- [How to use Regex in Make](https://community.make.com/t/how-to-use-regex-in-make/202)

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> ### Join the [Make Fans](https://samliew.com/make-discord-invite) Discord server to [chat](https://samliew.com/make-discord-invite) with other makers!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [July 11, 2024, 3:49am UTC](https://community.make.com/t/need-to-add-or-remove-a-discord-role-for-users-based-on-google-sheet-data/40952/4 "2024-07-11T03:49:05Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


