Skip to main content

Automation

An automation runs without an external request. Use it for periodic data synchronization, batch processing, report generation, and other recurring tasks that execute on a timer or on demand. Periodic invocation is scheduled in an external system such as a cron job, Kubernetes, or WSO2 Integration Platform.

note

Only one automation can be configured per integration.

Creating an automation

  1. Select the + Add Artifact button in the canvas, or select + next to Entry Points in the sidebar.

  2. In the Artifacts panel, select Automation under Automation.

    Artifacts panel showing the Automation option

  3. In the creation form, configure the following fields.

    Create New Automation form

    Advanced Configurations

    FieldDescription
    Startup ParametersParameters passed to the automation at startup. Select + Add Parameter to add each parameter.
    Return ErrorWhen selected, the automation exits with an error if execution fails.
  4. Select Create.

  5. WSO2 Integrator opens the automation in the flow designer. The canvas shows a Start node, a + button to add steps, and an Error Handler node.

    Automation flow designer

  6. Select + to open the node panel and add integration steps such as function calls, connections, and control flow.

Automation configuration

Automation configuration controls the startup parameters for the automation function and whether execution failures are returned as errors.

In the flow designer, select Configure in the header to open the Edit Automation panel.

Edit Automation panel opened via the Configure button

What's next