Run community outreach without manual exports. The flow pulls members from a Discord server, keeps only those with a chosen role, and returns a clean list you can act on. It suits teams that need to message role holders, verify access, or build segments for campaigns.
Behind the scenes, a webhook or a manual test starts the run. A setup step provides the Discord server ID, the target role ID, and a Google Sheets URL. The system reads the last processed member ID from the sheet, fetches the next 100 members from Discord, merges results, and filters by the role. It then responds with only matching members. A paging loop saves the last ID back to Google Sheets so the next run continues where it left off. This reduces rate issues and handles large communities in chunks.
You need a Google Sheet with a single column named ID and a Discord bot with the server members intent enabled. Expect faster segment building and fewer errors from copy and paste work. Use it to build DM lists, role audits, or targeted announcements. Swap the response step for your own action, like posting to a CRM or sending messages.