# Should You Give Clients the n8n Workflow JSON?

Source: https://rushilo.com/blog/give-clients-n8n-workflow-json
By om.assets, Rushilo. Updated 2026-11-26.

> Include a reviewed n8n workflow export when the client owns the custom deliverable. Agree on reusable components, connect client-owned credentials, name dependencies and test in the destination instance. Deliver a short runbook, verify live inputs and outputs, and record who owns future changes.

**Give the client a reviewed n8n workflow JSON export when they are buying a custom workflow they will own or operate.** Deliver it with the account and credential map, a short runbook, and proof that it works in their environment. If you sell a managed service or license a reusable component, spell out the access and exit terms before work begins. A JSON file can transfer the workflow's structure. The client still needs to know which systems to connect and how to tell that an execution succeeded. [n8n export and import documentation](https://docs.n8n.io/build/manage-workflows/export-and-import).

## What should the client own and what should the contract say?

Agree who will operate the automation after delivery. If the client is paying you to solve an internal task and keep the result, a usable workflow in their account and a copy of the final export make that ownership practical. A fixed price for one automation can include the tested workflow, project access and enough documentation to run it. Spell out which part of the price includes handoff and how much time the client needs to make available.

A managed service can be structured differently. If you are responsible for maintaining the automation and supplying part of the infrastructure, identify what clients can take when the service ends. Examples include an export of their workflow, input and output records where appropriate, and instructions for recreating the setup. If a workflow calls a module that you retain, describe what it does, who runs it and what happens to that dependency on exit. If you sell a reusable template, define the license and the support obligations that apply when the client changes it.

| Working arrangement | Typical deliverables to discuss | Question to answer in the scope |
|---|---|---|
| Custom workflow in the client's project | Working automation, reviewed JSON backup, account and dependency map, runbook | Who owns the configuration and decides when the workflow changes? |
| Managed implementation | Agreed access, service handoff or documented export, operating and incident terms | What happens after the last day of service? |
| Licensed reusable template | Reviewed export, setup instructions and license terms | Which parts can the customer modify, transfer or reuse later? |
| Custom project with a shared module | Client-specific workflow plus documented rights to the dependency | What happens if the module owner changes pricing or retires it? |

Treat project access and the right to use a deliverable as separate decisions. Someone who can edit inside an n8n workspace may have technical control over part of an automation. Whether they can use an independently licensed module in another business is a contract question. Give the client an understandable list of what is specific to their project and what is reused. A handoff is much easier when everybody understands those rights before seeing the final invoice.

If there are subcontractors or third-party templates involved, review which assets you can include. For example, an intake workflow might contain your customer's field mapping and a purchased document template. You may be able to transfer the mapping while needing the client to obtain its own license for the template. Flag that dependency early so the person who signs the order knows whether they are buying an independent installation or a working service they need to renew.

## What does an n8n workflow JSON export contain?

n8n saves workflows in JSON and supports exporting and importing the file. Think of the export as the workflow definition and associated settings. It is helpful for copying the definition into another workspace or restoring a prior version. The destination still needs working connections, resources, node types, and other workflow dependencies. n8n specifically warns that exported workflow files include **credential names and IDs** and that an HTTP Request node imported from cURL can have authentication headers stored in it. [n8n export and import guide](https://docs.n8n.io/build/manage-workflows/export-and-import) · [n8n Cloud migration guide](https://support.n8n.io/article/migrating-from-cloud-to-self-hosted).

Open the export before sharing it. Look for tokens or headers in node settings, personal information in test values, internal URLs, email addresses in notification steps and references to private customer accounts. Clear out the example values or replace them with deliberate placeholders in your delivery copy. Treat the reference names as part of the client's configuration inventory. If a production secret was previously shared in plaintext, involve the credential owner so they can rotate it and update dependent connections.

The credential should belong to an account the client can administer. Have the relevant owner create the new credential in the destination and authorize access using their approved process. Map which nodes use it. Use the minimum permissions the workflow needs, and tell the client who can reconnect or revoke access. Depending on project access and plan configuration, someone may be able to view or run a shared workflow without editing nodes tied to credentials they did not receive. Test with the role of the person who will actually manage the workflow. [n8n workflow sharing permissions](https://docs.n8n.io/workflows/sharing/).

Imagine three separately named nodes all use the same client CRM connection. The operator needs to know that rotating one credential will affect three nodes. Instead of recording three copies of an access secret, document one credential, who owns it, and the three affected steps. If the customer will also connect a reporting spreadsheet, record the account that can move the sheet and the expected columns in the runbook. This makes the export useful when a new hire needs to work out which owner to contact.

## How do you move an n8n workflow to a client's instance?

When you can build in the client's project from the start, use its own credentials and dependencies as early as possible. That approach lets you test permissions and account ownership before the final handoff. If development occurred in your own sandbox, prepare the approved export and import it into the destination. If you're migrating between hosted and self-hosted instances, check the n8n version and the availability of the exact nodes used. n8n's migration guide describes the workflow export and import process and recommends reviewing credentials when moving. [n8n export and import](https://docs.n8n.io/build/manage-workflows/export-and-import) · [n8n migration guide](https://support.n8n.io/article/migrating-from-cloud-to-self-hosted).

1. Review the export and store a copy of the current working version in an approved location.
2. Confirm the destination project, people and plan. Import the reviewed file and identify missing nodes and dependencies.
3. Set the environment-specific values. Confirm the CRM stage, sheet tab, alerts channel, sub-workflow, schedule time zone and other settings the export cannot resolve for the customer.
4. Connect the appropriate client-owned credentials. Test access to the specific data and actions each node needs.
5. Run the same controlled test records in the destination and compare inputs, outputs and failure handling.
6. Publish the approved version when ready. For a webhook migration, coordinate the switch to the new production endpoint with the owner of the sending system.

If a Webhook node is involved, check which URL you are using. n8n documents separate test and production URLs, and the production webhook is registered when you publish. Update the source once the destination version is ready. In a sales intake example that source could be the form builder. Have its owner confirm the configuration change while the receiving owner checks the run history. If both environments can take actions on the same record, plan one controlled switch and verify which one should be active. [n8n Webhook documentation](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/).

One agency worker in the n8n community described reconnecting accounts and updating base IDs, database IDs and development webhooks as the time-consuming part of moving an export. Use that list as an example of issues to discover during your first rehearsal. Where the client already has a standard project layout, adapt your checklist to it. A familiar environment is easier for the client to maintain than a copy of your development workspace. [n8n community onboarding discussion](https://community.n8n.io/t/how-do-agencies-handle-client-onboarding/300599/2).

### Try a destination audit before scheduling the switchover

For example, a retailer has a pilot form and one sheet in development. Its live instance uses two regional forms and a sheet owned by a different team. During a rehearsal, send an invented request from each region. Verify which sheet receives it and who can investigate if it appears on neither sheet. Then test one account that has the operator's role and permission to view the relevant executions. A test that passes only under your administrator credentials does not prove that the client can take over.

Ask the receiving owner to read back any values that are difficult to see from the diagram, such as a shared folder, a sales alias, a weekend schedule or the email domain that should receive alerts. In the retailer example, both regional forms might use the same field name for different pick-up instructions. Verify the actual shape of each sample and the resulting columns before you assume the same mapping will work. Record the workflow version and representative sample inputs so a later upgrade can be tested against the same expectations.

## What tests should you run before calling the handoff complete?

Test the smallest complete business process that proves your deliverable. Suppose a prospect submits a demo request and the workflow creates or updates a CRM contact and sends the sales team a notification. Work with invented records or a designated test account. Agree which contact, owner and stage should result, and verify the notifications go only to the intended people. The workflow's success is whether that job happens, including cases where there is a duplicate or missing value.

| Test | Expected outcome | Evidence to keep |
|---|---|---|
| Valid inquiry for a new contact | One new lead with the expected owner and field mapping | Sample input, execution reference and resulting record |
| Same inquiry repeated | One record with the agreed duplicate behavior | Both execution references and the single destination record |
| Required field missing | The workflow records a clear reason and routes the exception | Error output and where the operator saw the warning |
| CRM access unavailable in the test environment | The message reaches the designated owner and the input is recoverable | Alert output and link to the runbook step |
| Production endpoint smoke test | The intended destination accepts an approved test event | Client confirmation and execution reference |

Keep operational proof separate from sample credentials and any actual customer content. Identifiers for invented records are enough to tie the report to the exercise. Let the client's operator perform at least one step, such as finding the run history or pausing a test workflow. If they can do that with their normal role, the handoff has demonstrated something more valuable than an administrator's success when all permissions are open.

Test a partial failure separately from a full failure. Suppose the contact is created correctly, but the notification step fails. A whole-workflow retry may create another contact if the flow cannot recognize the first result. Agree whether the operator should retry only the unresolved action or reprocess the original event with a unique record ID. Rehearse one example using the client's test project. Compare the before and after CRM entries so the recovery process is clear. If the workflow originated as a paid pilot, the [guide to testing an automation freelancer](/blog/is-botpool-legit) has an example of writing acceptance checks before a production move.

Add an explicit cutover and rollback note. For example, keep the prior configuration as a reviewed backup, name the person who is authorized to restore it, and agree on a failure condition such as duplicate CRM entries or no new contacts after the first known test event. Decide how to reconcile anything submitted near the switch. Once the operators have watched the approved test pass, retire temporary developer access according to the agreed process. The client needs to retain access to their own project and credential administration after your part ends.

## What belongs in a one-page client runbook?

Write it so someone who joins the client next month can answer five questions. What starts the workflow? What counts as a successful run? Which account owners must stay involved? How will an operator know something failed? Who is allowed to pause or change it? Use the labels they see in n8n and in their own systems. Provide the name of any support channel and the hours associated with it. This avoids an exercise where an operator can open the export but cannot tell why the automation stopped.

For the sample CRM intake, specify the form name, the client project, the CRM pipeline and sales notification channel. Include a sample input with fake values. List the credential by its label and approved owner, without copying the secret. Describe the duplicate policy and what the notification looks like. If the business wants a different lead owner later, write down how to request and verify that one change. Store the runbook next to the export in a client-approved location with a useful filename and date.

Budget for dependencies that do not appear in the diagram. A reporting workflow may depend on a pricing spreadsheet that nobody sees unless the spreadsheet owner is on the call. A calendar automation may depend on the destination's time zone or a single recurring event name. List those details alongside the version of the workflow you actually handed off. If someone later makes a small edit, note the identity of the editor, the date and the test that was rerun. Add a fresh export for changes that affect how other teams use it.

Use the handoff to establish support expectations. For example, you can agree that the original build includes fixes for issues discovered in the first two weeks, while changes to a CRM schema or a new field added by the customer receive a separate estimate. Name the contact for each situation. If you are on call, specify how you receive alerts, what access you keep and when you would need the client to authorize a change. See [n8n Cloud versus self-hosting for client work](/blog/n8n-self-hosted-vs-cloud-clients) for the hosting responsibilities and the [Rushilo AI Automation course](/ai-freelancing) for the broader client workflow.

A concise support entry could read “a valid inquiry produces one contact and one team message within the client's agreed time. Operations checks execution details and alerts. The CRM administrator reconnects the account. Send a test inquiry after any change to the form.” Save the corresponding record of what was actually tested so both teams have the same acceptance criteria. If the client uses n8n as part of a wider change, ask who coordinates this automation with the other systems when they have maintenance scheduled.

For a second workflow, reuse the same fields in the support entry so the operator knows where to look. Put the test or production environment name first if two versions are in active use. Name the role that can tell a real failure from a missed input, and identify the people who can change the upstream tool. If the record arrived in n8n on time but was never written to the CRM, the CRM administrator may be needed. If the record never reached n8n, the form owner is the first person to ask. Clear ownership shortens a long support exchange after the original team has moved on.

Set a date for the client to confirm handoff and put the cost of that work in the scope. If two hours of setup and a half-hour walkthrough are included, explain what must be ready before the walkthrough. An operations team might need to create a mailbox or ask its administrator to allow the integration. Agree on how you will handle a rescheduled handoff if those inputs are missing, and demonstrate this process on one client example in the [Rushilo AI Automation pack](/ai-freelancing) before expanding to several workflows.

## When is a JSON export by itself enough?

A reviewed file and a short readme can be enough for a reusable example that has no production accounts, secrets or dependent workflows. Someone downloading a demonstration can supply their own input and connect any services they choose. A live paid build often writes records, sends messages or runs on a schedule, so confirm the environment and responsibilities before treating the handoff as done. The more side effects it has, the more useful it is to demonstrate how to pause and test it.

Before invoicing for final delivery, ask the client to show where they would find the approved JSON, identify the account owner who can reconnect the CRM, and check a recent run. If they cannot answer one of those questions, take a few minutes to close that gap. You can then price future modifications by a new scope with both teams agreeing on the state of the workflow you handed off.

## Frequently asked questions

### Should an n8n freelancer give the client the workflow JSON?

Include a reviewed JSON export when the client is buying a custom workflow they are entitled to own or maintain. Agree in writing on what they receive, which generic assets you keep, and any third-party dependencies. Then show the client that the approved version works in their own environment.

### Does an n8n workflow export include credentials?

n8n says workflow exports contain credential names and IDs. Credentials need to be created or mapped in the destination. Inspect the workflow itself because authentication headers, URLs or resource identifiers can be saved directly in node settings, especially when a request was built from a cURL example.

### Can clients run an imported n8n workflow immediately?

They need the required nodes, credentials, accounts, and environment-specific settings. Test a representative input in the destination and confirm the result before publishing. When a Webhook node is involved, update the sending system with the destination's production URL and confirm the handoff with a safe real test.

### How do you protect reusable work while giving the client the JSON?

Agree before starting which customer-specific workflow, configuration and documentation the client receives, and which general templates or shared modules remain yours. If the delivered automation depends on a shared component, disclose that dependency and include the access, support and exit terms the client will need to keep it running.

### What is the best way to prepare for an n8n client handoff?

Build in the client's project when possible, use approved service credentials, rehearse with dummy records and walk through a failure case with the person who will operate it. The Rushilo AI Automation pack covers scoping small projects and expressing an automation's real business outcome before selling it.

## Sources

- [n8n Docs: Export and import](https://docs.n8n.io/build/manage-workflows/export-and-import)
- [n8n Help Center: Migrating from Cloud to self-hosted](https://support.n8n.io/article/migrating-from-cloud-to-self-hosted)
- [n8n Docs: Workflow sharing](https://docs.n8n.io/workflows/sharing/)
- [n8n Docs: Webhook node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/)
- [n8n Community: How do agencies handle client onboarding?](https://community.n8n.io/t/how-do-agencies-handle-client-onboarding/300599/2)
