Create KYC packet and post notification to channel
When a fund's document request comes in, a KYC packet is created from the right template in your compliance folder and the reviewers get a Slack message with the link.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-kyc-packet-and-post-notification-to-channel/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Legal · Regulatory compliance
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-kyc-packet-and-post-notification-to-channel
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-kyc-packet-and-post-notification-to-channel/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-kyc-packet-and-post-notification-to-channel - 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-kyc-packet-and-post-notification-to-channel - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-kyc-packet-and-post-notification-to-channel
zaps/create-kyc-packet-and-post-notification-to-channel/
- 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/google-docs.tsThe
google-docsaccount it uses - connections/slack.tsThe
slackaccount it uses - triggers/hook.tsWhat starts it:
webhookhook_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 document request arrives at a Webhooks by Zapier catch hook (
webhook,hook_v2). Your fund-intake form or script posts the submission to it. - Route: the workflow reads
entity_typeand picks the Google Docs template for that entity type. An entity type with no template stops the run and writes nothing. - Google Docs creates a new packet from that template in the compliance folder, fills in the fund's EIN, formation date, registration info, fund name, GP details and today's date, and shares it as view-only by link. The PDF export is created too.
- Slack posts one message to the reviewer channel with the packet's title, owner, document link and PDF link. The reviewer group is not mentioned unless you turn that on.
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 |
|---|---|
COMPLIANCE_FOLDER |
The Drive folder for new packets: pick it with the user's Google Docs connection. root means the top level of My Drive |
SLACK_CHANNEL |
The channel the reviewers read: look it up with the user's Slack connection |
LLC_TEMPLATE_ID |
The Google Doc template for LLC funds: pick it with the user's Google Docs connection |
LP_TEMPLATE_ID |
The Google Doc template for limited partnership funds: pick it with the user's Google Docs connection |
REVIEWER_MENTION |
The Slack user group to @-mention, in the form <!subteam^S…>. Only needed if MENTION_REVIEWERS is true in workflow.ts |
Also review the defaults with them: SHARING_PREFERENCE (reader lets anyone with the link view; change it only if reviewers should edit), MENTION_REVIEWERS in workflow.ts (false; set it to true to @-mention the reviewer group), and the TEMPLATE_IDS keys (llc, lp), which must match the entity_type the intake sends. Add or remove keys to match the fund types you run.
Before turning it on, confirm the template documents use these placeholder names: EIN, formation_date, registration_info, fund_name, gp_details and date. If they differ, rename the keys in workflow.ts. Also confirm the intake system sends fund_name, entity_type, ein, formation_date, registration_number, gp_name or gp_details, and owner under those names, because the code reads them by these names.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-kyc-packet-and-post-notification-to-channel, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-kyc-packet-and-post-notification-to-channel, 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
google-docsto the user's Google Docs connection for the account that owns the templates and the compliance folder; it needs write access to that folder. Bindslackto the user's Slack connection for the workspace that owns the reviewer channel. The webhook trigger needs no account. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/hook.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 draft test run before publishing. Use a fund name that makes the test document easy to find and delete:
{
"fund_name": "[install-test] Example Fund I",
"entity_type": "llc",
"ein": "00-0000000",
"formation_date": "2020-01-15",
"registration_number": "TEST-0001",
"gp_name": "Example GP LLC",
"owner": "ops-team"
}
Check that one new document named after the fund exists in the compliance folder, with the placeholders filled and sharing set to view-only by link. Check that one message with its link appeared in the reviewer channel. If run-status tools aren't available, check the result in Google Drive and Slack directly. The user deletes the test document and tells the reviewers the test message was a test; the agent doesn't delete test data. Then publish, and once the trigger is active, give the user their webhook URL to point their intake system at.
Notes
- Packets are shared by link, so anyone with the link can view the document. Keep
SHARING_PREFERENCEat"reader"unless your policy allows more. - The packet is created before the Slack message is posted, so if the Slack step fails the packet still exists. Check the channel for a missing message before re-running, or the reviewers will not see that packet.
- To extend it, send a direct message to the assigned owner for urgent reviews, or export the document as PDF and attach it to a downstream task tracker.
- Keep real template IDs, folder IDs, channel IDs and the webhook URL out of any repository. Anyone with the webhook URL can create packets in your folder.