Resources

Manage the AI agents, connectors, and triggers that power your automations.


What Are Resources?

Resources are reusable assets shared across all automations in your workspace:

Resource Type Description
Variables Global key-value storage
Secrets Encrypted sensitive values
Files Static files (images, documents)

Variables

Store values that multiple automations can read.

Create a Variable

  1. Go to flow.work.studio/resources
  2. Click Variables tab
  3. Click + New Variable
  4. Enter:
    • Name: company_name
    • Type: Text, Number, Boolean, or JSON
    • Value: Initial value

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

Type Example
Text "Hello World"
Number 42, 3.14
Boolean true, false
JSON {"key": "value"}

Secrets

Store sensitive values securely (API keys, passwords, tokens).

Create a Secret

  1. Go to flow.work.studio/resources
  2. Click Secrets tab
  3. Click + New Secret
  4. Enter:
    • Name: stripe_api_key
    • Value: Your secret value

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

Use Case Choose
API with multiple operations Connection
Simple API key for expressions Secret
Database credentials Connection
Third-party token in FUNCTION Secret

Rotate Secrets

When you need to update a secret:

  1. Open the secret
  2. Click Update Value
  3. Enter new value
  4. All automations automatically use the new value

Files

Upload and manage static files for use in automations.

Upload a File

  1. Go to flow.work.studio/resources
  2. Click Files tab
  3. Click + Upload File
  4. Select your file

Supported Files

Category Extensions
Images .png, .jpg, .gif, .svg
Documents .pdf, .docx, .xlsx
Data .csv, .json, .xml
Other .zip, .txt

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

Limit Value
Max file size 25 MB
Max total storage Based on plan
Allowed types Configurable

Secrets

Store sensitive values securely (API keys, passwords, tokens).

Create a Secret

  1. Go to flow.work.studio/resources
  2. Click Secrets tab
  3. Click + New Secret
  4. Enter:
    • Name: stripe_api_key
    • Value: Your secret value

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:

  1. Open the secret
  2. Click Update Value
  3. Enter new value
  4. 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


Access Control

Control who can view and modify resources:

Permission Can Do
View Read values, use in automations
Edit Modify values
Admin Delete, manage permissions

Best Practices