Custom Nodes cost 3 credits per execution and run in an isolated virtual environment with a 5-minute runtime limit.
What Are Custom Nodes?
Custom Nodes allow you to build your own Gumloop nodes, define custom functionality, share with your team, deploy with one click, and integrate with any API or service.Creating a Custom Node
You can find the custom node builder through the node library: Step 1: Open the Node Library Click the node library button or pressCmd/Ctrl + B, then select Your Custom Nodes.


Node Structure
Custom nodes have three main components that you can configure:
When to Use Custom Nodes
Use Custom Nodes when you need to:Common Use Cases
API IntegrationSharing and Collaboration
Custom nodes can be shared with teammates and collaborators. By default, only the creator (Owner) can edit a custom node, but you can grant access to others with different roles.Sharing Your Custom Node
Step 1: Open the Share Dialog Hover over the custom node and click the Share button.
- Editor: Can view, edit, and manage the custom node
- Viewer: Can view and use the custom node in their workflows, but cannot edit it

Important Considerations
Using Secrets in Custom Nodes
Custom nodes often need to access sensitive data like API keys, tokens, or credentials. Gumloop provides a secure secrets management system that lets you store encrypted secrets and use them in your custom nodes without exposing them in your code or logs.Setting Up Secrets
Before using secrets in a custom node, you need to create them in your Personal Secrets settings: Step 1: Navigate to Personal Secrets Go to Settings > Profile > Secrets or visit gumloop.com/settings/profile/secrets.


How Secrets Work in Custom Nodes
When you describe a custom node that needs API credentials or sensitive data, Gumloop’s AI automatically generates code that accesses these values through environment variables usingos.getenv() or os.environ.get(). This keeps your secrets out of the code itself.
Example Prompts
Here are some example prompts that demonstrate how to request secrets in your custom nodes: Example 1: API Integration with AuthenticationGenerated Code Example
When you use a prompt like Example 1 above, the AI generates code that retrieves secrets from environment variables. Here’s what the generated code looks like:
os.getenv() to retrieve the secret value at runtime:
Mapping Secrets to Environment Variables
After creating a custom node that requires environment variables, you’ll see an Environment Variables section in the node’s configuration panel. This is where you map your stored secrets to the variables the code expects.
- Locate the Environment Variables Section: When you add a custom node to your workflow that requires environment variables, you’ll see a picker for each required variable in the node’s settings panel on the left side.
- Select Your Secret: Click the dropdown to see all secrets you’ve created in your Personal Secrets settings. Select the appropriate secret for each environment variable.
- Add New Secrets Inline: If you haven’t created the required secret yet, click + Create new secret at the bottom of the dropdown to add a new secret without leaving the workflow builder.
Security Features
Gumloop implements several security measures to protect your secrets:Automatic Secret Redaction
If your custom node accidentally prints or returns a secret value, Gumloop automatically replaces it with****SECRET_REDACTED**** in all logs and outputs. This prevents accidental exposure of sensitive data.

****SECRET_REDACTED**** in the run output. This redaction happens automatically for all secrets you’ve configured.
Best Practices for Secrets
When working with secrets in custom nodes, follow these guidelines:Secrets vs. Node Credentials
Custom node secrets are different from the credential connections you see on integration nodes (like Gmail or Slack):
Use Personal Secrets when you’re writing custom code that needs to authenticate with an API. Use Node Credentials when you’re using Gumloop’s built-in integration nodes.
Additional Resources
Custom Node Blog Post
Deep dive into custom node capabilities and use cases
Video Tutorial
Step-by-step walkthrough of building your first custom node
Custom Node Workshop
In-depth workshop covering advanced custom node techniques
