Workflows automate tasks that used to be done manually. Trigger automated status updates, export or import data, follow up emails, etc.
View Workflow Listing
- Click on Telligence from the Ultra Commerce toolbar.
- Click on Workflows from the drop-down.
Any workflows that have been created will be listed here.
Create a New Workflow
In the example below, a workflow an order is placed successfully and then an email is sent to the person who placed the order:
- Click the +Add Workflow button.
This will bring you to the New Workflow create screen with the Basic accordion expanded.
Under the Basic accordion:
Workflow Name: Fill this field with a name that will give an idea of what the workflow does.
Object: Select the object related to the workflow. So, if you are creating an Order workflow for orders where the order is successfully placed, you would select Order for the object.
Active: If the workflow should be active, set this to Yes.
Add a Trigger to a Workflow
Under the Triggers accordion:
- Click the Triggers accordion to expand. There will be a list of all created triggers and a + Add Trigger button to create a new trigger.
- Click the +Add Trigger button.
The New Trigger modal appears.
- Select Event or Schedule. In this example, Event is selected.
Start: Select a start date for the trigger.
End: Select an end date for the trigger.
Select Trigger Event Search: Start typing to search for a trigger event, or click the triangle on the right to reveal the available triggers.
Timeout In Minutes: How many minutes before timeout.
Save Trigger History: Yes or No. Set this to Yes if you'd like a history of the trigger.
- Click Save Trigger.
There will be two additional accordions: Trigger History and System. Trigger History will log all event triggers that occur if Save Trigger History is set to Yes.
Under the Trigger History accordion:
- Clicking on the Trigger History accordion will display each instance a trigger occurs.
Under the System accordion:
- This accordion gives details about the workflow such as workflow id, remote id, created time and by, modified date time and by.
Add a Task to a Workflow
Under the Tasks accordion:
Tasks are what happens once an event is triggered.
- Click Tasks to expand the accordion.
Any tasks that have been created will be listed here as well as a +Create New Task button to create a new task.
- Click the +Create New Task button.
The Create New Task modal will appear with three tabs Basic, Conditions and Actions.
Basic tab: This tab contains the Task Name and Active status.
- Task Name: Add a task name here.
- Active: Indicate if the task is active by selecting Yes or No.
Conditions tab: If the task should only occur under certain conditions rather than every time the event is triggered, then create a filter here to specify the conditions. In the example where an email is generated once an order is placed successfully, no conditions need be applied. However, if a condition is desired:
- Click the +Filter button.
The Define Filter modal will appear.
Actions tab: This is where the action is added.
- Click the +Add Action button.
The Add Action modal will appear with the choices of Print, Email, Delete, Process, Webhook.
- Select Email from the Action Type drop-down.
- Click the black triangle to expand the available Email Templates in the type-ahead search box, or start typing to pull up the desired template.
- Select the desired template. In the example, Order Confirmation template would be selected.
- Click Save & Finish.
An Order Confirmation email will now be sent after every successfully placed order.