> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browseract.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Share and Use Workflows in n8n Using JSON Files

> This beginner-friendly guide will walk you through the process of importing and exporting workflows in n8n using JSON files, enabling seamless workflow sharing and collaboration.

### Importing a JSON Workflow into n8n

Follow these simple steps to import a workflow from a JSON file:

**Step 1: Log in to n8n**

* Access your n8n instance (either cloud or self-hosted)
* Sign in with your credentials

### **Step 2: Create a New Workflow**

* Click on "Create Workflow" button
* This will open a blank workflow canvas

<img src="https://mintcdn.com/browseract/VxM6JDZfhG4cSpQX/images/download_image(4).png?fit=max&auto=format&n=VxM6JDZfhG4cSpQX&q=85&s=52fe1ac43f581478dc24279024e0623d" alt="download_image (4).png" width="1244" height="94" data-path="images/download_image(4).png" />

### **Step 3: Import the JSON File**

* Look for the "..." (three dots) menu button, typically located in the top-right corner
* Click on it and select "Import from File" from the dropdown menu
* Browse your computer and select the JSON workflow file you want to import
* The workflow will be loaded onto your canvas

<img src="https://mintcdn.com/browseract/VxM6JDZfhG4cSpQX/images/download_image(5).png?fit=max&auto=format&n=VxM6JDZfhG4cSpQX&q=85&s=188fcee4b928dbb623ae4a5a15153479" alt="download_image (5).png" width="1896" height="621" data-path="images/download_image(5).png" />

### **Step 4: Configure the Workflow**

* Review all the nodes in the imported workflow
* Follow any prompts or instructions provided by the workflow
* Configure necessary credentials, API connections, and parameters for each node
* Set up any required authentication or account connections
* Test your workflow to ensure it functions correctly
* Save and activate the workflow when ready

<img src="https://mintcdn.com/browseract/1wSaeCpRk4hxiYKf/images/download_image(6).png?fit=max&auto=format&n=1wSaeCpRk4hxiYKf&q=85&s=e5b7d5c0574d6b63ccaf4943a58f1ccc" alt="download_image (6).png" width="1751" height="807" data-path="images/download_image(6).png" />

### Exporting Your Workflow as a JSON File

To share your n8n workflow with others, export it as a JSON file:

### **Step 1: Open Your Workflow**

* Navigate to the workflow you want to export

### **Step 2: Download the JSON File**

* Click the "..." (three dots) menu button
* Select "Download" from the dropdown menu
* The workflow JSON file will be downloaded to your computer automatically

### **Step 3: Share Your Workflow**

* Share the downloaded JSON file with colleagues, team members, or the n8n community
* Recipients can import the file using the import steps outlined above

### Best Practices

* **Review before activating**: Always check imported workflows thoroughly before running them in production
* **Update credentials**: Remember to reconfigure all authentication and API credentials after importing
* **Test thoroughly**: Run test executions to verify the workflow operates as expected
* **Document your workflows**: Add notes within your workflow to help others understand its purpose and configuration
* **Organize your files**: Use descriptive file names when saving JSON exports (e.g., "customer-onboarding-workflow\.json")
* **Version control**: Consider keeping multiple versions of your workflows as you make improvements

### Troubleshooting Tips

* If a workflow fails after import, check that all required nodes and integrations are available in your n8n instance
* Ensure you have the necessary permissions and API access for third-party services used in the workflow
* Review the execution logs to identify any configuration issues

That's all there is to it! You can now easily import and export workflows in n8n, making it simple to share automation solutions and collaborate with others.

<img src="https://mintcdn.com/browseract/1wSaeCpRk4hxiYKf/images/download_image(7).png?fit=max&auto=format&n=1wSaeCpRk4hxiYKf&q=85&s=43f6f616257bebe8ae76be5429b37fbe" alt="download_image (7).png" width="1736" height="787" data-path="images/download_image(7).png" />
