Create a Workflow

Updated 

Automate the logical flow of user tasks on various entities with Workflow Engine.

To Create a workflow:

Prerequisite setup:

  1. Clearly lay out the brand’s process and identify the various phases in it.

  2. Create a picklist custom field named “Milestone” on the required Asset classes to indicate the current phase of the campaign, sub-campaign or outbound message. The values of the custom field should represent the various phases of the brand’s process such as Briefing, Ideation, Production, Planning, Review, Publishing, Optimisation / Analysis & Completed.

  3. Set up date custom fields for due dates and completion dates for each of the milestones. For example, for the Briefing value of the milestone custom field, we’d need one “Briefing Due” custom field and one “Briefing Completed” custom field. Similarly, we’d need two such custom fields for each of the milestones on the needed asset classes.

Workflow setup steps:

  1. Accessibility: You may access Workflow Engine by clicking the New Tab icon . Under the Sprinklr Marketing tab, click the “Workflow Engine” option within Produce.

  2. In the top right corner of the Workflow Engine window, click Create Workflow.

  3. In the “Create new Workflow” screen, provide basic details such as name and entity to apply the workflow on. 

  4. Click Create. You will be redirected to Workflow Builder by clicking Create.

  5. On the Workflow Builder window, click the Addition icon Screen Shot 2017-10-05 at 1.11.49 PM.png to select components for your workflow. For more information, see Workflow Components — Field Descriptions.

  6. Start by setting up a Service Task.

    • On the “Edit Service Task” window, click on add action. Select “Set Field” under “Add Action”.

    • Select the milestone custom field and set the value as the first phase - Briefing.

    • Click on “Save” to save your changes.

  7. Set up user tasks for the milestones such as “Create a Brief”.

    • On the “Edit User Task” window, set the task type appropriately as the first phase of the process - Briefing.

    • Define who the task should be assigned to. This can be done by assigning it to a selected user, user defined in custom field or an external user.

    • You can also add in any additional properties based on the requirements within the “Edit User Task” window.

  8. Set up user tasks for the approval of content / work such as “Approve the Brief” per process requirements.

    • On the “Edit User Task” window, set the task type as the first phase of the process - Approval.

    • Follow the same steps as any User Task and make appropriate changes.

  9. Create a “Decision Box” for Approval tasks. Use the “Task Status” custom field to define the paths.

  10. Send the “Rejected” task for rework. Click on “Go to Node” to select the task that needs to be done again.

  11. Set Milestones to mark the completion of a phase.

    • In the “Set Milestone” window, define where the milestone due date and completion date will be tracked.

    • Set “Milestone due date tracked in” as the custom field created for the estimated due of the phase - Briefing Due. Similarly, set “Milestone completed date tracked in” as the custom field created for the completion of the phase - Briefing Completed.

  12. Similarly, set up all the phases of your process utilizing various features within the Workflow Builder. After defining the entire process, “End” the workflow.

  13. Click “Save & Deploy” in the bottom right corner to activate and deploy the workflow.