• READY TO USE
  • PERSONALIZED
  • AUTOMATED
  • HUMAN

How to generate new referral codes with your AI

Connect Friendbuy to your AI client once. After that, you can issue unique referral codes just by asking.

Ask AI about this page

Short answer

How can I make new referral codes using my AI?

You tell your agent which customer needs a code, and it uses Friendbuy to generate a unique identifier for them. This lets you handle personalized invites without opening the Friendbuy dashboard. You'll get the new code directly in your chat.

The results of your request

What you get from your agent

These are the outcomes when you ask your AI to handle referral tasks.

READY TO USE

Instant referral codes

The AI generates a unique code via Friendbuy. You receive the code immediately to send to your customer.

PERSONALIZED

Customer-specific links

Your agent ties each code to a specific user. This ensures the right person gets the right reward.

AUTOMATED

Hands-off creation

The agent handles the technical work of registering the code. You just provide the customer details.

HUMAN

Manual approval

You decide which customers are eligible for a code. The AI only acts when you give the command.

The workflow

What your AI does when you ask for a code.

The AI translates your chat instructions into specific actions within Friendbuy.

  1. Process the request

    Your agent reads your message to find the customer name or email you want to use.

    create_referral_code
  2. Generate the code

    The agent calls the tool to create a new, unique referral identifier in your Friendbuy account.

    create_referral_code
  3. Confirm creation

    The AI verifies that the new code was successfully registered and is active.

    create_referral_code
  4. Provide the code

    The agent sends the finished referral code back to you in the chat window.

    create_referral_code

Try it

Copy these to start.

Use these prompts to trigger the code generation process.

Starting points

These are starting lines. Replace the names and emails with your actual customer data.

Friendbuy Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_T6ZqQ69sJEQhzwScIDPv09uoj0DX6zEnpzOAllnI/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Friendbuy capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "friendbuy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_T6ZqQ69sJEQhzwScIDPv09uoj0DX6zEnpzOAllnI/mcp"
    }
  }
}
Copy into chat04
  • Create a new referral code for the customer 'Jordan Smith' in Friendbuy.

  • Generate a unique referral code for the user with email alex.v@example.com.

  • I need a referral code for my VIP customer, Casey Jones.

  • Make a new referral code for the user 'Taylor Reed' in my Friendbuy account.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Friendbuy once, then ask.

Connect your account through the link below. Your login details stay encrypted, and you can start using the tools immediately.

Connect Friendbuy to your AI

FAQ

How this task behaves

  • 01

    Can the AI delete existing referral codes?

    No. The AI can only create new codes using the available tools.

  • 02

    Can the AI change my reward settings in Friendbuy?

    No. The AI only has permission to create codes; it cannot modify your account settings or reward rules.

  • 03

    Do I need to provide the customer's email?

    Yes. You need to tell the AI which specific customer should receive the code.

  • 04

    Can the AI generate codes for a list of people at once?

    You can ask the AI to go through a list, but it will process each code creation one at a time.

  • 05

    Does the AI store my Friendbuy password?

    No. Your credentials are encrypted and managed securely by Vinkius.

  • More questions about Friendbuy? See everything the Friendbuy Connector can do

Connect Friendbuy to Claude, Cursor, ChatGPT & more