Documentation

Browse tutorials, platform guides, and reference material for inventor.bot.

Invite Tracking

How to create an invite tracking system

Updated 5/15/2026

In this tutorial, you'll learn how to create a system to track who invited new members!

This tutorial assumes you know the basics of inventor.bot- we recommend doing the Ping Command tutorial if you haven't already.

Create a new invites database with code and count columns

SCR 20260515 khya

Make a new flow with the Invite Created trigger. Add a Database Create Row block that creates a row in the database with the outputs from the trigger.

SCR 20260515 jynv

Create a new flow with the Member Join trigger and add the Get Server Invites block with the Server ID output from the trigger.

SCR 20260515 kblp

Add a Database Lookup (Single) with these filters

  • code equals Get Server Invites - Invite Code
  • count less than Get Server Invites - Invite Uses

SCR 20260515 kbyg

Add an If Statement and check if Database Lookup (Single) - Found is true.
SCR 20260515 kcjr

You can add anything you want inside this If Statement. In this example, we'll send a welcome message that includes info about who invited the new member using the Get Server Invites outputs, like Invite Code and Invite Creator User ID

SCR 20260515 keyz

We also need to update the row using Database Update Row. Then we can stop looping over invites with Break.

SCR 20260515 kecd

Make sure both flows are published, then you can test it out!

SCR 20260515 knbs 16x9