Workflow Trigger Reference for WooCommerce Connector

Workflow Triggers initiate workflows and are used to define the data supplied to a workflow.

Basic details are shown in the table below.

Trigger Source Description Version
Get a List of Customers Fetch a list of customers, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Customer Message Source.
1.0+
Get a List of Objects Fetch a list of objects, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Message Source.
1.0+
Get a List of Orders Fetch a list of orders, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Order Message Source.
1.0+
Get a List of Product Attributes Fetch a list of product attributes, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Attributes Message Source.
1.0+
Get a List of Product Categories Fetch a list of product categories, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Categories Message Source.
1.0+
Get a List of Product Variations Fetch a list of product variations, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Variation Message Source.
1.0+
Get a List of Products Fetch a list of products, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Message Source.
1.0+
WooCommerce Webhook or Event This is an event-driven trigger which handles the data supplied to it.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Event Workflow Trigger.
1.0+

Trigger Sources

Get a List of Customers

Trigger Source Description Version
Get a List of Customers Fetch a list of customers, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Customer Message Source.
1.0+

Get a List of Objects

Trigger Source Description Version
Get a List of Objects Fetch a list of objects, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Message Source.
1.0+

Get a List of Orders

Trigger Source Description Version
Get a List of Orders Fetch a list of orders, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Order Message Source.
1.0+

Get a List of Product Attributes

Trigger Source Description Version
Get a List of Product Attributes Fetch a list of product attributes, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Attributes Message Source.
1.0+

Get a List of Product Categories

Trigger Source Description Version
Get a List of Product Categories Fetch a list of product categories, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Categories Message Source.
1.0+

Get a List of Product Variations

Trigger Source Description Version
Get a List of Product Variations Fetch a list of product variations, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Variation Message Source.
1.0+

Get a List of Products

Trigger Source Description Version
Get a List of Products Fetch a list of products, as filtered.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Product Message Source.
1.0+

WooCommerce Webhook or Event

Trigger Source Description Version
WooCommerce Webhook or Event This is an event-driven trigger which handles the data supplied to it.

This workflow trigger source was renamed in version 1.10.5. Setup details are the same in earlier versions for actions called WooCommerce Event Workflow Trigger.
1.0+

How to find an XPath in Trigger source data

When a single source message contains multiple data points that need to be processed (for example, an order may be split into multiple lines, or a customer may be split into multiple contacts), they may be split using advanced Raw Message Contents settings. To find the desired “XPath to contained messages”, use the process outlined below to generate the trigger data source and inspect it.

  1. Open a workflow whose trigger is already configured. To set up a new workflow trigger, watch our 2-minute video tutorial: Workflow Trigger Setup.

  2. Open Workflow Designer.

  3. Add the “Assert” workflow action from the Core Connector. Place this as the first action in the workflow.

  4. Configure the Assert action to fail. The goal is to force the workflow to fail so that we generate the data but don’t process it yet. This can be re-processed at a later time on the Messages page using the “retry” option.

    To configure the Assert action to fail:

    • Edit the action.

    • Assign the following values. This will force the workflow to fail at the beginning, which will allow a user to save/inspect the data generated by the trigger.

    • Click away from the settings.

    • Press the Save button.

    • Run the workflow to generate a message. This will fail (on purpose).

    • After running the workflow:

      • Drill into the failed message trace.

      • Expand the status bar at the top.

      • Click on the link to open the Trigger Message XML. From here, you may press the Save button to save a copy to the samples folder for future reference.

      • Search the XML for the desired data. Build the path to this data by inspecting each parent node containing the data. For example: /BOM/BO/Document_Lines/row/ points to the SAP Business One document’s lines array.

        This XPath can be used to split messages by pasting it into the XPath to contained messages field.