Resources
Manage the AI agents, connectors, and triggers that power your automations.
This page is being rewritten
The Resources screen groups AI Agents, Connectors and Triggers under one view. The sections below still describe shared variables, files and secrets, which is not what this screen does — treat them as out of date until this page is revised.
Resources has no sidebar entry. Open it directly at flow.work.studio/resources. Connectors and Triggers are also reachable from Setup in the sidebar.
What Are Resources?
Resources are reusable assets shared across all automations in your workspace:
Variables
Store values that multiple automations can read.
Create a Variable
- Go to flow.work.studio/resources
- Click Variables tab
- Click + New Variable
- Enter:
- Name:
company_name - Type: Text, Number, Boolean, or JSON
- Value: Initial value
- Name:
Use in Automations
Reference variables in expressions:
// Read a variable
{{ variables.company_name }}
// Use in a CONNECTOR step parameter
Welcome to {{ variables.company_name }}!
Set Variables in Automations
Use the VARIABLE step type to set variables:
Step: VARIABLE
Name: order_counter
Value: {{ variables.order_counter + 1 }}
Variable Types
Secrets
Store sensitive values securely (API keys, passwords, tokens).
Create a Secret
- Go to flow.work.studio/resources
- Click Secrets tab
- Click + New Secret
- Enter:
- Name:
stripe_api_key - Value: Your secret value
- Name:
Security
Secrets are:
- Encrypted at rest (AES-256)
- Never displayed after creation
- Audited when accessed
- Masked in logs
Use Secrets
Reference secrets in automation expressions:
// In a CONNECTOR step header or parameter
{{ secrets.stripe_api_key }}
// In a FUNCTION step
const apiKey = context.secret.stripe_api_key;
Secrets vs Connections
Rotate Secrets
When you need to update a secret:
- Open the secret
- Click Update Value
- Enter new value
- All automations automatically use the new value
Files
Upload and manage static files for use in automations.
Upload a File
- Go to flow.work.studio/resources
- Click Files tab
- Click + Upload File
- Select your file
Supported Files
Use Files in Automations
Reference files in CONNECTOR step parameters:
// File URL for attachments
{{ files.company_logo.url }}
// File content (for text files)
{{ files.config.content }}
File Limits
Secrets
Store sensitive values securely (API keys, passwords, tokens).
Create a Secret
- Go to flow.work.studio/resources
- Click Secrets tab
- Click + New Secret
- Enter:
- Name:
stripe_api_key - Value: Your secret value
- Name:
Security
Secrets are:
- Encrypted at rest
- Never displayed after creation
- Audited when accessed
- Masked in logs
Use Secrets
Reference in automations:
Action: HTTP Request
URL: https://api.stripe.com/v1/charges
Headers:
Authorization: Bearer {{secrets.stripe_api_key}}
Rotate Secrets
When you need to update a secret:
- Open the secret
- Click Update Value
- Enter new value
- All automations automatically use the new value
Organizing Resources
Folders
Group related resources:
Resources/
├── Email Templates/
│ ├── welcome_email
│ ├── order_confirmation
│ └── password_reset
├── Config/
│ ├── api_endpoints
│ └── feature_flags
└── Secrets/
├── stripe_key
└── sendgrid_key
Naming Conventions
Recommended Names
- Use
snake_case:welcome_email,api_key - Be descriptive:
order_confirmation_template - Include type:
stripe_secret_key
Access Control
Control who can view and modify resources:
Secrets
Even with View permission, secret values are never displayed. Only the name and metadata are visible.
Best Practices
Do
- Use secrets for all sensitive data
- Organize with folders
- Document template placeholders
- Use descriptive names
- Rotate secrets regularly
Avoid
- Hardcoding values in automations
- Storing secrets as variables
- Unused resources (clean up)
- Overly complex variable structures
Related Guides
- Automations → — Use resources in workflows
- Settings → — Workspace configuration