• READY TO USE
  • PERSONALIZED
  • AUTOMATED
  • HUMAN

How to generate new referral codes with your agent

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

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

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 agent to handle referral tasks.

READY TO USE

Instant referral codes

Your agent 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

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

HUMAN

Manual approval

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

The workflow

What your agent does when you ask for a code.

Your agent 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

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

    create_referral_code
  3. Confirm creation

    Your agent verifies that the new code was successfully registered and is active.

    create_referral_code
  4. Provide the code

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

    create_referral_code

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Friendbuy tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

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
  • 01

    Create a new referral code for the customer 'Jordan Smith' in Friendbuy.

  • 02

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

  • 03

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

  • 04

    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 agent

FAQ

How this task behaves

  • 01

    Can your agent delete existing referral codes?

    No. Your agent can only create new codes using the available tools.

  • 02

    Can your agent change my reward settings in Friendbuy?

    No. Your agent 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 your agent which specific customer should receive the code.

  • 04

    Can your agent generate codes for a list of people at once?

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

  • 05

    Does your agent 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

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Friendbuy to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Friendbuy plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Friendbuy to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.