Create customer reference records in shared project list
When a new customer is added in QuickBooks, their reference record in your shared SharePoint list is created or refreshed, so every team works from the same customer details.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-customer-reference-records-in-shared-project-list/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Sales · Sales enablement
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-customer-reference-records-in-shared-project-list
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-customer-reference-records-in-shared-project-list/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-customer-reference-records-in-shared-project-list - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy create-customer-reference-records-in-shared-project-list - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-customer-reference-records-in-shared-project-list
zaps/create-customer-reference-records-in-shared-project-list/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 5 to fill in
- connections/quickbooks.tsThe
quickbooksaccount it uses - connections/sharepoint.tsThe
sharepointaccount it uses - triggers/customer.tsWhat starts it:
quickbookscustomer_v2 - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new customer is added in
quickbooks(customer_v2, New Customer). sharepointsearches the shared list for an item whose customer ID column matches the customer'sId.- If a match exists,
sharepointupdates that item: name, customer ID, email and phone. If not, it creates a new item with the same fields.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
SITE_ID |
The SharePoint site that holds the shared customer reference list: ask which site, then look up its ID |
LIST_ID |
The shared customer reference list on that site: ask which list, then look up its ID |
CUSTOMER_ID_COLUMN |
The list column that stores the QuickBooks customer ID: look up its internal name from the list's columns, not its display header |
EMAIL_COLUMN |
The list column for the customer's primary email address: look up from the list's columns |
PHONE_COLUMN |
The list column for the customer's primary phone number: look up from the list's columns |
The name column is SharePoint's standard Title, so it needs no setting.
Ask whether updates should also run when an existing QuickBooks customer changes. This template covers new customers only; see Notes.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-customer-reference-records-in-shared-project-list, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-customer-reference-records-in-shared-project-list, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
sharepoint(used by the workflow) to the user's Microsoft SharePoint connection for the account that can edit the shared list, andquickbooks(used by the trigger) to their QuickBooks Online connection for the company file that creates the customers. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/customer.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run this sample as a test run before publishing. Use a test customer in the user's QuickBooks Online test company, with a name that starts with "[install-test]":
{
"Id": "58",
"DisplayName": "[install-test] Harbor Lane Bakery",
"PrimaryEmailAddr": { "Address": "billing@example.com" },
"PrimaryPhone": { "FreeFormNumber": "555-0100" }
}
Check that one item in the shared list has the customer ID 58, the display name as its title, and the email and phone in their columns. Run it a second time with the same Id: the same item should update, not a second item appear. If run-status tools aren't available, check the result in Microsoft SharePoint directly. Ask the user to delete the test item and test customer. Then publish, confirm the trigger is active, and confirm the workflow is enabled.
Notes
- The customer ID is the match key. If the list already holds two items with the same customer ID, only the first is updated.
- An empty email or phone in QuickBooks overwrites the matching column with an empty value on update.
- To notify billing or project owners when a new reference is created, add a Slack or email step after the create step.
- To add richer context, add the primary contact name or billing terms as list columns and map them from the trigger's fields.
- To refresh references when existing customers change too, add a second trigger for QuickBooks Online's Updated Customer event.
- Real SharePoint IDs and column names belong only in the user's own copy, never in this shared one.