Skip to main content
The Automation Hub is RelayHub’s built-in workflow automation engine. It lets you create automated flows that connect triggers (schedules, webhooks) to actions (HTTP requests, chat messages, file ingestion) — all without writing code.

Accessing the Automation Hub

Click Automation Hub in the left sidebar to open the hub page. From here you can view all workflows, check recent execution history, and launch the visual automation editor.
Automation Hub access requires either an admin role or explicit permission granted by your admin. If you do not see the Automation Hub in your sidebar, contact your organization administrator.

Creating a Workflow

1
Open the automation editor
2
From the Automation Hub page, click Create Workflow to open the visual flow editor. The editor provides a drag-and-drop canvas where you build your automation step by step.
3
Choose a trigger
4
Every workflow starts with a trigger — the event that kicks off the automation. Two trigger types are available:
5

Schedule

Run the workflow on a recurring schedule: every N minutes, hourly, daily, weekly, or with a custom cron expression.

Webhook

Run the workflow when an external system sends an HTTP request to a unique webhook URL generated for the flow.
6
Select the trigger type and configure its settings (for example, a daily schedule at 9:00 AM, or a webhook that accepts JSON payloads).
7
Add actions
8
After the trigger, add one or more action steps. Common actions include:
9
  • HTTP Request — Call any external API (GET, POST, PUT, DELETE) with custom headers and body. Use this to pull data from third-party systems or push results to external services.
  • Send Chat Message — Post a message directly into a RelayHub conversation. The message appears in real time for anyone viewing the chat.
  • Send Workspace Message — Post a message into a workspace conversation, making results visible to all workspace members.
  • Ingest File — Upload a file into RelayHub’s processing pipeline. The file is stored, embedded, and made available for AI analysis automatically.
  • 10
    Each action step can reference data from the trigger or from previous steps, letting you chain actions together into complex flows.
    11
    Activate the workflow
    12
    Once your flow is configured, click Publish to save it and toggle the workflow to Active. Scheduled workflows begin running on their next scheduled time. Webhook workflows start accepting requests immediately.

    Monitoring Executions

    The Automation Hub page shows a history of recent executions for each workflow. Click on any execution to see detailed logs including:
    • Trigger data (the payload or schedule event that started the run)
    • Each action step’s input, output, and status (succeeded or failed)
    • Timestamps and duration for every step
    If a workflow execution fails, the step-level logs show the exact error. Common issues include incorrect API URLs, authentication failures on external services, or malformed request bodies.

    Using Automation Tools in Chat

    RelayHub’s AI assistant can interact with your automations directly in chat through three built-in tools:
    ToolWhat It Does
    manage_automationList, create, activate, deactivate, or delete workflows from chat
    trigger_automationRun a specific workflow on demand with optional input data
    check_automation_statusCheck the status of a workflow or a specific execution, view run history and logs
    You do not need to call these tools explicitly. Simply ask the AI in natural language:
    • “Show me all my active automations”
    • “Run the daily report workflow now”
    • “What happened on the last run of the inventory sync?”
    The AI determines which tool to use and presents the results directly in the conversation.

    Inbound Webhooks: Automation to Chat

    Workflows can send results back into RelayHub conversations using the Send Chat Message or Send Workspace Message actions. Messages arrive in real time via WebSocket and appear as automation-tagged entries in the conversation, clearly distinguished from human and AI messages. This enables patterns like:
    • A scheduled workflow that queries an external CRM every morning and posts a summary of new leads into a team workspace
    • A webhook-triggered flow that receives alerts from a monitoring system and relays them into a dedicated RelayHub chat channel
    • A file processing pipeline that ingests documents from an external source and notifies the team when analysis is complete
    Inbound webhook messages are authenticated using a shared secret configured by your administrator. Do not share the webhook secret or the automation webhook URL with untrusted parties.

    Next Steps

    • File Hub — Learn how imported and ingested files are managed
    • Chat Basics — See how automation messages appear in conversations
    • AI Agents — Combine agents with automations for advanced workflows