/
/
Create a Rillet customer from Chargebee without duplicates
For operations teams who want customers set up in Rillet without retyping, just by asking their AI assistant.
On this page
Connector
Connect Rillet, pick your AI tool and paste the prompt.
The problem
Retyping Chargebee customers into Rillet creates duplicates
Setting up a Chargebee customer in Rillet means retyping their details, which invites typos and duplicates. Someone has to search Rillet under different spellings first, then check that the new record really exists.
Without PopdockAI
- Copy the customer details out of Chargebee
- Search Rillet by email and by name
- Retype everything into a new customer
- Check later whether it saved
With PopdockAI
- The customer read straight from Chargebee
- Rillet checked by email and exact name, with a stop on a match
- The exact record shown before you confirm
- One create, read back, and Chargebee never changed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** If Chargebee customer `{chargebee-customer-id}` does not yet exist in Rillet, create it there, after the user confirms the details. Use {payment-terms} for payment terms if given.
**Step 1: Read the Chargebee customer (chargebee server)**
Call `chargebee-get-customer` with `id` = {chargebee-customer-id}. Keep `company`, `first-name`, `last-name`, `email`, `net-term-days`, `preferred-currency`. If nothing is returned, stop and say so.
**Step 2: Check Rillet for an existing customer (rillet server)**
Call `rillet-get-customer-emails` and look for the same `email` (case-insensitive). Call `rillet-get-customers` and look for an exact case-insensitive match on `name` or `invoicing-name` against the Chargebee company or full name. If any match is found, show it, do not create anything, and stop.
**Step 3: Confirm**
Show the user exactly what will be created: `name` (the company, else first plus last name), `name-on-invoice` (same), `payment-terms` ({payment-terms} if given, otherwise derived from `net-term-days` in the same wording style as existing Rillet customers' `payment-terms`), and `send-invoices-automatically` (default false). Tell the user that `rillet-add-customer` has no email field, so the email must be added in Rillet afterwards. Ask the user to confirm. Do not proceed without an explicit yes.
**Step 4: Create and verify (rillet server)**
Only after confirmation, call `rillet-add-customer` once with those values. Then call `rillet-get-customers` again and report the new `customer-id`.
**Rules & Guidelines:**
* `chargebee-get-customer` is on the chargebee server. `rillet-get-customer-emails`, `rillet-get-customers` and `rillet-add-customer` are on the rillet server.
* `rillet-add-customer` is the only write tool allowed, called at most once. Never call `rillet-update-customer`, any invoice tool, or any Chargebee tool other than `chargebee-get-customer`.
**Validation:**
* If the Chargebee customer has no company and no name, stop and ask the user for a name.
* If the verification read does not show the new customer, report the failure and do not retry.Who it's for
One answer, three teams that use it
Billing specialists
Set up ledger customers without retyping
Create the Rillet customer from the Chargebee record in one message, ready for invoicing.
Add Chargebee customer contoso-204 to Rillet with net 30 payment terms.
Accounts receivable
Avoid duplicate customer records
Rillet is checked by email and name first, so the same customer is not created twice.
Is Chargebee customer fabrikam-17 already in Rillet? If not, create it.
Finance operations
Know new customers really landed
The new customer is read back after it is created, so you can trust it is in the ledger.
Create Chargebee customer northwind-88 in Rillet and confirm it saved.
How it works
What PopdockAI does when you ask
You give the Chargebee customer id and your AI assistant checks Rillet for an existing match. Nothing is created until you have seen the details and said yes.
01
Ask
You give a Chargebee customer id and optionally payment terms.
02
Check
It reads the customer and searches Rillet by email and name.
03
Confirm
You see exactly what will be created and say yes.
04
Create
It creates the customer once and reads it back to confirm.
What PopdockAI provides
The tools behind the answer
Ready made tools for Rillet and one secure connection to your AI tool. No code, no exports.
chargebee-get-customer
rillet-get-customer-emails
rillet-get-customers
rillet-add-customer
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Chargebee customers in Rillet once, as you approved
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
