Based on a tutorial by [CREATOR_NAME]
Are you spending too much time waiting for your NN workflows to execute during development? Constantly triggering webhooks or making API calls just to test your workflow can be frustrating and time-consuming.
I’ve summarized this excellent tutorial from the NN Advanced Course to show you how two powerful features—Pinning Data and Edit Output—can dramatically speed up your workflow development process.
Quick Navigation
What is Pinning Data? (00:00-01:20)
Pinning data is a powerful feature that allows you to save the output of any node in your workflow. This means you don’t have to re-execute time-consuming operations every time you make a change.
Key Points:
- Pinning data helps reduce execution time when building workflows
- It lets you avoid triggering external systems repeatedly
- Pinned data is only used during testing, not in production
- You can identify pinned data by the blue icon on the canvas
My Take:
This feature is especially valuable when working with rate-limited APIs or when parts of your workflow take several minutes to execute. It’s one of those quality-of-life improvements that can save you hours of development time.
How to Pin Data (01:21-02:35)
Pinning data in NN is straightforward. You can pin the output of any node by clicking the pin icon that appears in the top-right corner of the output panel.
Key Points:
- Click the pin icon in the output panel of any node
- The node will show a blue icon on the canvas when data is pinned
- You can keep one set of pinned data per node
- When the workflow is activated normally, it executes as usual (ignoring pinned data)
My Take:
I find pinning data particularly useful for webhook triggers. Instead of configuring test systems to send webhooks repeatedly, I can capture one webhook payload and pin it for all my development work.
Using the Edit Output Feature (02:36-04:15)
The Edit Output feature complements pinning by allowing you to manually modify the output data of any node. This lets you test different scenarios without recreating specific conditions in external systems.
Key Points:
- Use Edit Output to test edge cases (null values, wrong data types, etc.)
- You can paste data from previous executions
- It’s particularly helpful when debugging failed workflow runs
- Works perfectly alongside the pinning feature
My Take:
This feature is invaluable for error handling testing. By intentionally introducing problematic data, you can ensure your workflow gracefully handles unexpected inputs without having to reproduce these scenarios in real external systems.
Practical Example with Webhooks (04:16-06:25)
The tutorial demonstrates a practical workflow example that listens to a webhook, processes data, sends a Slack message, and updates Google Sheets if an ID is known.
Key Points:
- Pin webhook data to avoid repeatedly triggering test events
- Use the blue checkmark to verify data is successfully pinned
- Copy JSON output from previous executions to replicate error states
- Paste previous execution data to debug and fix workflow issues
// Example of how to copy JSON from previous execution
// 1. Navigate to past executions
// 2. Find the execution with the error
// 3. Open the webhook node output
// 4. Switch to JSON view
// 5. Click copy button
// 6. Return to editor and paste into Edit Output
My Take:
The ability to quickly jump between different data states by combining pin data and edit output is game-changing for complex workflow development. I particularly like how you can replicate error conditions without having to wait for them to occur naturally.
Working with Mock Data (06:26-07:50)
The tutorial concludes by showing how to use external mock data tools like Mockaroo to generate realistic test data that can be pasted directly into NN’s Edit Output feature.
Key Points:
- Use Mockaroo to generate structured random data
- Configure fields with realistic constraints and formats
- Set percentage chance for empty/null values to test handling
- Select JSON format for easy copy-pasting into NN
My Take:
This approach is far more efficient than manually creating test data or using less sophisticated random generators. The ability to control the percentage of empty fields makes it particularly useful for testing error handling in your workflows.
This article summarizes the excellent tutorial created by [CREATOR_NAME]. If you found this summary helpful, please support the creator by watching the full video and subscribing to their channel. This is Video #3 in the NN Advanced Course series.