- AUTOMATION
- ACCURACY
- DATA
- HUMAN
Short answer
How can I automate loyalty points with AI?
Your AI monitors your sales data and triggers point updates the moment a transaction is confirmed. You get a real-time reward system that runs through your existing sales logs. Here is how the data moves.
The results of the task.
Where your data lands.
Once Swarm is connected, your agent handles these four things.
AUTOMATION
Instant point updates
The AI identifies new sales and applies the correct points immediately. This keeps your customer balances current without manual entry.
ACCURACY
Error-free math
Your agent calculates totals based on your specific rules. It removes the risk of human calculation mistakes during busy shifts.
DATA
Clean sales logs
Every transaction is tied to a specific customer ID. You get a clear trail of how points were earned and when.
HUMAN
Manual overrides
The AI handles the standard transactions. You stay in control to handle special exceptions or manual adjustments.
The workflow
What your AI does when a sale happens.
The AI acts as the bridge between your sales records and your loyalty database.
Identify the sale
Your agent scans your recent sales data to find new, unprocessed transactions.
process_loyalty_transactionCalculate rewards
The AI determines how many points the specific purchase is worth based on your rules.
process_loyalty_transactionUpdate totals
The agent pushes the new point balance to the customer's profile.
process_loyalty_transactionConfirm completion
Your AI reports back that the transaction is finished and the points are live.
process_loyalty_transaction
Try it
Copy these to start.
Use these prompts to kick off the process in your AI client.
Starting points
Swap the bracketed text for your actual file names or database IDs.
Swarm Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_UQfpSkM8M2hLJa9S0rGui9ydqbaZDxgBGlmExA5M/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Swarm capabilities are ready to use.
{
"mcpServers": {
"swarm-mcp": {
"url": "https://edge.vinkius.com/vk_preview_UQfpSkM8M2hLJa9S0rGui9ydqbaZDxgBGlmExA5M/mcp"
}
}
}Process the latest sales from [Sheet Name] and update the loyalty points.
Check [File Name] for new transactions and award points to those customers.
Look at the sales data in [Database ID] and run the loyalty updates.
Find the customer in [Contact List] and add points for their recent purchase.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Swarm once, then ask.
You only need to link Swarm to your AI client once. Your credentials stay encrypted, and you can start running tasks immediately.
Connect Swarm to your AIFAQ
How this task behaves.
- 01
Can the AI change my actual sales records?
No. The AI only reads the sales data to trigger updates; it does not modify your original transaction history.
- 02
Does the AI automatically delete old customers?
No. The AI only processes transactions and updates point totals. It has no capability to delete user profiles.
- 03
How does the AI know how many points to give?
The AI follows the logic you provide in your prompt or the rules defined in your sales data.
- 04
Can I review the points before they are applied?
Yes. You can ask your agent to list the calculated points for your approval before it runs the update tool.
- 05
What happens if a customer ID is missing?
The AI will flag the transaction as incomplete and ask you for the missing information.
More questions about Swarm? See everything the Swarm Connector can do
Connect Swarm to Claude, Cursor, ChatGPT & more
