New affiliates are enrolled in the program and assigned unique referral codes and links for tracking their referrals.
The agent uses the company API key to call create_affiliate to enroll a new affiliate by email, ensuring the account is active. It then calls create_affiliate_link to generate a unique tracking URL for that affiliate. The agent should verify the affiliate was created successfully and that the link is valid before reporting back to the user.
- Category: Sales and marketing
- Effect: Changes data in your accounts
- MCP servers: Ambassly MCP (https://koskamo.com/explore/ambassly-mcp)
- Source: Ambassly MCP server — Docs (https://ambassly.com/docs/mcp)
- Source quote: "Affiliates: list_affiliates, get_affiliate, create_affiliate (direct enrolment, optional custom ?via= code, idempotent per email and program), create_affiliate_invite, set_affiliate_code, create_affiliate_link."
- Playbook page: https://koskamo.com/explore/use-cases/enroll-affiliates-and-generate-tracking-links
Prompt: Enroll the affiliate with email 'newpartner@example.com' in our main program and generate their first tracking link.