# Introduction to Workflows

Workflows let you automate repetitive tasks in Weavestream. Instead of manually checking data, running analysis, and taking action, you build a visual automation that does it for you — on demand or on a schedule.

# What Is a Workflow?

A workflow is a series of connected steps (called nodes) that process data and take actions. You build workflows visually by placing nodes on a canvas and connecting them to define the flow of data.

For example, a simple workflow might:

  1. Trigger on a schedule (every morning at 8 AM)
  2. Fetch data from your "Critical Alerts" endpoint
  3. Filter to only include alerts from the last 24 hours
  4. Send a notification with a summary

Or a more complex one might:

  1. Trigger manually
  2. Fetch data from two different endpoints
  3. Run AI analysis to identify patterns
  4. Branch based on whether critical issues were found
  5. Send a Pushover notification if critical issues exist
  6. Save a report to a file either way

# Key Concepts

# Nodes

Nodes are the building blocks of a workflow. Each node does one thing — fetches data, applies a filter, sends a notification, etc. You configure each node's behavior in the config panel on the right side of the editor.

# Connections

Connections link nodes together and define the order of execution. Data flows along connections from one node to the next. A node's output becomes the input for the connected node.

# Data Flow

Data passes between nodes in different forms:

  • Items — A list of data items (like items from an endpoint)
  • Text — A string of text (like an AI analysis result)
  • Count — A number (like how many items matched a filter)
  • Boolean — True or false (like the result of a condition)
  • File path — The location of a saved file

Each node type produces a specific output type and expects certain input types. Weavestream validates connections to make sure they're compatible.

# Triggers

Every workflow starts with a Trigger node that defines when the workflow runs. You can trigger workflows manually (on demand) or on a schedule.

# Where to Find Workflows

Switch to the Workflows tab in the sidebar to see all your saved workflows. Click one to open it in the workflow editor.

# Next Steps