Skip to main content

How to Create Your First Workflow

Workflows serve as essential components of the Global AI platform, enabling users to automate tasks and processes by orchestrating different modules and actions. This guide will walk you through the process of creating a workflow to streamline your automation efforts.

Create a Workflow

To create a new workflow, follow these steps:

  1. Access the Global AI platform dashboard.
  2. Click on Workflows in the sidebar menu.
  3. Click the Workspace dropdown and select the desired workspace where you want to create the workflow.
  4. Click on the Create Workflow button.
  5. Provide the following details:
    • Name: Enter a unique name for your workflow.
    • Description: Optionally, provide a description for the workflow.
    • Workspace ID: This will autopopulate based on your selected workspace.
    • Minutes saved: Specify the duration in minutes for which the system should save the workflow's state.
    • Tags: Optionally, add tags to help categorize and identify the workflow.
    • Upload Icon: Optionally, upload an icon to visually represent the workflow.
    • Upload Dark Icon: Optionally, upload a dark mode icon to visually represent the workflow in dark mode.
    • Status: Toggle the status to enable or disable the workflow upon creation.
  6. Click Create to complete the creation of the workflow.
Workflow created successfully

After creating the workflow, you will see it listed on the Workflows screen with its name, description, and tags.

Add Nodes to the Workflow

After you create the workflow, you will likely want to add nodes to it to define its functionality. To add nodes to your newly created workflow, follow these steps:

  1. On the Workflows screen, locate the workflow you just created and click on its name to open the workflow editor.
  2. In the workflow editor, you will see a canvas where you can add nodes.

Workflow Canvas

  1. To add a node, click on the + button on the canvas.
  2. Configure each node by clicking on it and filling in the required parameters in the configuration panel that appears.
    • After configuring a node, make sure to click the Update button in the configuration panel to apply the changes.
  3. Once you have added and configured the node, click the Save button to save your workflow.
Additional Tips
  • You can add more nodes to your workflow by repeating steps 3 and 4.
  • Make sure to save your workflow after adding or modifying nodes so the system preserves your changes.

Run the Workflow

To run the workflow you have created, follow these steps:

  1. In the workflow editor, click the Run button located at the top right corner of the screen.
  2. Watch the execution of the workflow through the logs and output displayed in the workflow editor.
  3. After the workflow has completed its execution, you can review the results and outputs generated by the workflow.
Workflow Run
Execution control
  • You can stop the workflow execution at any time by clicking the Stop button located next to the Run button.
  • Review the logs for any errors or issues that may have occurred during the execution of the workflow.
  • You can rerun the workflow as needed by clicking the Rerun Execution button.

Publish the Workflow

Once the workflow meets your requirements and functions correctly, you can publish it to make it available for use. To publish the workflow, follow these steps:

  1. In the workflow editor, click the Publish button located at the top right corner of the screen on the GlobalAI platform.
  2. Confirm the publication of the workflow in the dialog that appears.
  3. After publishing, the workflow will become available for execution and users can access it from the Workflows screen.
Workflow publication

Publishing your workflow creates a new revision each time you save changes.

Now that you know how to create and manage workflows, you can explore more about variable management and usage in the Global AI platform.