Managing Deal Workflows

Unifyr Support
Unifyr Support
  • Updated

Want to see if an option is available with your plan? See What's included in my Unifyr plan? for information.

Unifyr supports the processing of deals by partners and suppliers. Each one follows a workflow, which defines how it progresses through its lifecycle.

There are two types of deal workflow in Unifyr Admin:

  • Standard - a fixed flow based on 6 statuses (Draft > Waiting for Account Approval > Pending > Approved / Rejected / Expired)
  • Customized - you can design and implement your own custom deal workflows, with as many statuses, rules, and automations as your business needs. Each configured deal type can have its own customized workflow, if required.

    Note

    Custom Deal Workflows have to be enabled on your system They're available with a Unifyr Scale subscription. Submit a request to your Unifyr team if you want to use them.

Deal workflows are managed in   > Settings > Forms & Fields > Deal > Workflows. Here you can find a standard workflow for each deal type you have configured - you can customize each one as required, or leave them to run with the default progression. If you aren't using deal types, you have a single standard workflow which you can customize to handle all your deals.

admin_deal_workflow_standard.png

Overview of the Standard Deal Workflow

Here's a summary of the standard deal workflow - you may find it meets your needs. If so, you don't need to make any changes in Unifyr Admin as this flow will be used for all your configured deal types.

Diagram Statuses Transitions

This is a graphical representation of the Unifyr standard deal workflow:

admin_deal_workflow_standard_diagram.png

Create a Custom Deal Workflow

If you want to set up your own custom workflow for handling deals, take a Standard workflow and edit it to provide your own progression steps and transitions.

  1. Navigate to   > Settings > Forms & Fields > Deal > Workflows.
  2. Find the Standard workflow you want to customize - there's either a single one, or one for each of your configured deal types.
  3. Click icon_cog_2.png for the workflow, to open it for edit.
  4. [Optional] In Workflow Configuration, view the current workflow configuration in these tabs:
    • Statuses
    • Transitions
    • Diagram
  5. Click Customize Workflow.
  6. Choose a base template for your customized workflow. There are 8 available:

    • Deal Registration
      • Standard Deal Registration
      • Simple Approval
    • Project Management
      • B2B Project Signage
      • Advanced B2B Project
    • Warranty & Returns
      • Warranty Submission
      • RMA/Returns
      • Advanced Warranty
    • Sales Pipeline
      • Co-Sell/Referral

    For more information about the templates, see Deal Workflow Templates.

    To change the chosen template, click Revert to Standard to reinstate the Unifyr standard template. Note that all custom workflow statuses, transitions, and timers will be removed for this workflow. You can then choose a new template if required, by clicking Customize Workflow again.

  7. In the Statuses tab of Workflow Configuration, you manage the set of lifecycle statuses that a deal in this workflow can be at. You have three options:
  8. In the Transitions tab of Workflow Configuration, you can define the transitions between deal statuses that are supported for this workflow.

    • Specify the action (or time lapse) and user that triggers a transition, and the from/to statuses that make up the transition.

      For example, When a partner clicks Submit, the deal moves from Draft to Pending.

    • Identify the data set (based on standard and custom Deal fields) that the user must provide before being able to move the deal to the specifed To status, for example a reason for rejecting a deal.
    • [Optional] Add an action that should take place when the transition has happened, for example Send notification on submit.

    For more information, see Define a Transition in a Custom Deal Workflow.

  9. In the Diagram tab of Workflow Configuration, you can view a graphical representation of the workflow you're creating. You can access edit options from here, too, and see real-time updates in the diagram when you save changes:

Add a New Status to a Custom Deal Workflow

When you're customizing a deal workflow, use these steps to add a new lifecycle status. 

When you create a status, it's added for the selected workflow only. If you want to reuse it for another workflow, you must replicate it within that workflow.

Statuses are created without transitions - you add those once the status is available. For more information, see Define a Transition in a Custom Deal Workflow.

  1. Navigate to   > Settings > Forms & Fields > Deal > Workflows.
  2. Find the workflow to which you want to add a status and click icon_cog_2.png to open it for edit.
  3. [Optional] In Workflow Configuration, go to the Statuses tab.
  4. Click Add Status.
  5. In Configure Workflow Status, complete this information as required:

    Property Description
    Status Key

    The internal (Unifyr Admin only) name for the status.

    Use uppercase letters, numbers, and underscores only (e.g. PENDING_REVIEW). 

    This can't be changed once saved.

    Display Label The name of the status as it will appear to partners editing a deal processed via this workflow.
    Highlight Style

    Select a color for the status, to indicate its purpose or its level of importance for users.

    • None
    • Primary - blue
    • Success - green
    • Warning - yellow
    • Danger - red
    • Info - cyan
    • Secondary - gray

    This is shown for the status in the Statuses and Transitions tabs of the workflow configuration, to allow you to easily see the importance you've placed on each stage in the workflow. 

    Initial Whether this status is the start point of this deal lifecycle.
    Terminal Whether this status is the end point of this deal lifecycle.
    Lock partner editing

    Whether partners are prevented from editing a deal or taking workflow actions while the deal is in this status in this workflow.

    Supplier users are unaffected.

    Status Message

    [Optional] A message to be shown to the partner when their deal is in this status.

    Enter the message in the text box and use the dropdown menu to select a highlight color for the message. 

    Action Buttons

    The list of action buttons that will be presented to the user when the deal is at this status.

    The list is auto-generated, based on the transitions that originate from this status. To change the available actions, edit the transitions.

    For more information, see Actions for Deals in a Custom Deal Workflow.

    Status Actions

    [Optional] Actions that will be shown as buttons when the deal is at this status in this workflow. If a partner clicks the button, it doesn't change the status of the deal.

    Click Add Action then choose an action from the Handler dropdown list. Use the Audience menu to specify whether the action's visible to partners, suppliers, or all users viewing the deal.

    Configure the button label and appearance in the Button Label and Button Style fields. The graphic shows a preview of how the button will appear to the specifed users,

    For more information, see Actions for Deals in a Custom Deal Workflow.

  6. Click Save. The status is added to the list in the Statuses tab. 
  7. [Optional] Reorder the list of statuses by dragging and dropping them into the required order, for visual display purposes. The order here doesn't affect the order the statuses are presented to the user - that's decided with the status-status transitions.
admin_deal_workflows_sample_status_config.png

Edit a Status in a Custom Deal Workflow

Each status in a customized deal workflow has its own configuration, defining its appearance in the workflow configuration and how partners interact with it when they processing a deal. To view/update these details:

  1. Go to   > Settings > Forms & Fields > Deal > Workflows.
  2. Find the workflow that includes the status you want to customize.
  3. Click icon_cog_2.png for the workflow, to open it for edit.
  4. In the Statuses tab, find the status you want to update and click on it, to open it for edit.
  5. Make the required changes to the configuration - for more information about the fields available, see Create a Custom Deal Workflow and Actions for a Status in a Custom Deal Workflow.
  6. Click Save.

The status is updated. The update is effective in this workflow only - occurrences of this status in other workflows aren't affected.

Actions for a Status in a Custom Deal Workflow

When defining a workflow status, its configuration provides options for types of action, available to suppliers and/or partners when the deal is at that status:

Action Buttons - buttons to progress the deal to the next status 

Status Actions - buttons that initiate other actions, without affecting deal status

Action Buttons

These are automatically generated based on the transitions that include this status as the From status. 

For example, the standard workflow status Pending is the source status in 4 transitions. They are all set as supplier actions:

  • Pending > Expired - When a supplier clicks Expire, the deal moves from Pending to Expired
  • Pending > More Info Required - When a supplier clicks Request More Info, the deal moves from Pending to More Info Required
  • Pending to Approved - When a supplier clicks Approve, the deal moves from Pending to Approved
  • Pending to Rejected - When a supplier clicks Reject, the deal moves from Pending to Rejected

When a supplier views a deal that is at Pending status, they see 4 buttons - Expire, Request More Info, Approve, and Rejected.

admin_deal_workflows_action_buttons_supplier.png

Status Actions

These actions are configured manually for a workflow status. To add a status action:

  1. Click on a status, to open it for edit.
  2. In the Status Actions area, click Add Action.
  3. Complete this information as required:

    Property Description
    Handler

    The handler that defines the action to be taken. Choose from the dropdown list.

    Your available action handlers are managed in Deal Workflows > Manage Action Handlers. For more information, see Manage Action Handlers for Custom Deal Workflows.

    Button Label What displays on the button when it appears in the deal.
    Audience

    Who will see the button when they're viewing a deal at this status. Choose from:

    • All Users
    • Partner Only
    • Supplier Only
    Button Style

    The styling of the button - choose from:

    • Outline (Blue) admin_deal_workflows_status_button_outline_blue.png
    • Filled (Blue) admin_deal_workflows_status_button_filled_blue.png
    • Outline (Gray) admin_deal_workflows_status_button_outline_gray.png
    • Filled (Green) admin_deal_workflows_status_button_filled_green.png
    • Outline (Green) admin_deal_workflows_status_button_outline_green.png
    • Filled (Red) admin_deal_workflows_status_button_filled_red.png
  4. Review how the button will look to users in the Preview area.
  5. Click Save. The action is listed in the Status Actions area.

A deal at this status will show the button to the supplier and/or partners, depending on configuration.

In this example, the Pending status has been set to show the Generate PDF action to the supplier as a button labeled Export as PDF.

admin_deal_workflows_status_action_supplier.png

Remove a Status from a Custom Deal Workflow

You can remove a status from a custom deal workflow if it doesn’t form part of a transition in the workflow.

  1. Go to   > Settings > Forms & Fields > Deal > Workflows.
  2. Find the workflow that includes the status you want to customize.
  3. Click icon_cog_2.png for the workflow, to open it for edit.
  4. In the Statuses tab, find the status you want to update. Check for the message No transitions from this status in the Transitions column.
  5. Click icon_delete_red_2.png.
  6. You're asked to confirm that you want to proceed with deleting the status. Click Delete to continue.

The status is removed from the Statuses list. The deletion is effective in this workflow only - occurrences of this status in other workflows aren't affected.

Define a Transition in a Custom Deal Workflow

A transition is the basis of a workflow - it's the progression a deal makes between two lifecycle states, for example Pending > Approved. 

The Unifyr standard workflow includes 9 transitions - to see the list, go to Overview of the Standard Deal Workflow.

When you're creating a custom deal workflow, you can add your own transitions to ensure that deal management adheres to business processes prescribed by your organization or your linked CRM.

To add a new transition:

  1. Go to   > Settings > Forms & Fields > Deal > Workflows.
  2. Find the workflow for which you want to define a transition.
  3. Click icon_cog_2.png for the workflow, to open it for edit.
  4. In the Transitions tab, view the current list of transitions. 
  5. Click Add Transition.
  6. In Create Transition, complete this information:

    Property Description
    Trigger Type

    The activity that will trigger the transition, and the status to which the deal will move when the activity happens.

    Choose user action or timer expiration then complete the requested details.

    user action

    If this option is set, the supplier and/or partner must click a button to initiate the transition.

    Select these settings from the drop down lists:

    • Where the button will be available - choose from anyone (transition applies in supplier and partner views of the deal), partner, or supplier.
    • Button to click - add the label of the button that will trigger the transition. When you add a value here, the button is added to the specified deal view(s) when the deal is at this status. It's also shown for reference in the Action Buttons section of the from status's configuration - for more information, see Actions for a Status in a Custom Deal Workflow.
    • Original and new statuses - select the from and to statuses for the transition. The lists show the statuses you have available for this workflow (shown in the Statuses tab).

    A summary of the transition is shown. For example, When a supplier clicks Request More Info, the deal moves from Pending to More Info Required. This configuration adds the Request More Info button as a supplier action for the deal. Partners don't see it.

    timer expiration

    Choose this option to have the deal automatically moved to the new status after a specified time period.

    Select these settings from the drop down lists:

    • Original and new statuses - select the from and to statuses for the transition. The lists show the statuses you have available for this workflow (shown in the Statuses tab).
    • Time period - enter the number of days

    A summary of the transition is shown below. For example, After a deal has been in Pending for more than 7 days, it automatically moves to Expired.

    Button Appearance

    [If user action is selected for Trigger Type]

    The label for the button.

    A preview of the button is shown.

    Maximum length - 100 characters

    Before Transition

    Conditions that must be met before the transition can proceed.

    Required Fields

    The information that the deal must include before the transition can proceed. For example, a supplier must include a rejection reason before moving a deal to Rejected status.

    Choose the fields from the list - it includes standard Deal fields and those that are included in your Deal Registration forms.

    Guard Conditions

    Filters that will control whether the transition happens, even if all other condtions are met.

    Click Add Rule then complete this information:

    • Field - the data field to be analyzed
    • Operator - the operator for the rule
    • Value - the value that must match the field/condition if the rule is to be evaluated to TRUE.

    For example:

    Total Value (field) + Greater Than (operator) + 1000 (value)

    Sales Rep (field) + Equals (operator) + John Taylor (value)

    Click Add Rule to add as many conditions as you need - the rules are combined in a single rule group, separated by an AND condition. All of the rules in the group must be true to trigger the condition. 

    Messages will be shown for a deal in Unifyr Admin and the portal if its guard conditions aren’t met - this gives users insight on why it appears blocked.

    portal_deal_workflow_guard_condition_not_met.png
    After Transition

    The action that will fire when this transition has happened.

    Choose the action handler from the drop down list - it includes those classed as External, and Internal ones that send a notification. Incoming (webhook) handlers aren't available for selection.

    Manage your list of action handlers in Deal Workflows > Manage Action Handlers. For more information, see Manage Action Handlers for Custom Deal Workflows.

    Active Enable this setting to activate the transition in the workflow.
  7. Click Save. The transition is added to the Transitions list. You can see where it appears in the workflow by viewing the Diagram tab for the workflow.

Manage Action Handlers for Custom Deal Workflows

There are two places where you can configure additional actions to be triggered during a deal workflow:

There are different types of actions that you can link to a workflow, and these are run via Action Handlers. Unifyr provides a set of system/default action handlers, and your admin can create their own. 

When you're creating a custom deal workflow, you can add your own action handlers. The list of action handlers in your system is centralized in a single page, so you can share them across all your deal workflows for consistency.

To add a new action handler:

  1. Go to   > Settings > Forms & Fields > Deal > Workflows.
  2. Click Manage Action Handlers.
  3. View the list of action handlers - those marked with a icon_locked.png are system ones, and can't be deleted. You can update their settings. 
  4. Click Add Handler.
  5. In Create Action Handler, choose the type of action you're defining with this handler:
    • Internal - send a notification or generate a PDF
    • Incoming - update a Unifyr deal record from an external source via webhook/API
    • External - push deal information to external targets - this can take the form of an AWS SNS communication or a data update via webhook/API 
  6. Complete this general information for the handler:

    Property Description
    Handler Key

    The unique identifer for the handler.

    Enter this in lowercase-kebab-case, for example update-crm.

    This value can't be changed once you've saved the handler.

    Maximum length - 50 characters.

    Display Label

    The name of the handler, as it appears in the Action Handlers list.

    Maximum length - 100 characters.

    Description [Optional] More information about the handler.
  7. Complete or get the handler-specific information as required:

    Internal

    Action Type / Property Description
    Action Type

    Choose one of these:

    • Send Notification - send an email to the deal's sales rep
    • Generate PDF

    Partner Email Notification

    and 

    Supplier Email Notification

    [If Send Notification is selected for as the Action Type)

    Choose the template that will format the email sent to the partner and/or supplier. 

    The lists show all the active templates (with the Deal object selected) that you have available in   > System Messaging > Custom Emails. For information on creating a template, see Creating a Template for Automation/Reminder/Custom Workflow Emails.

    Unifyr's standard Deal notifications are ignored for deals with a custom workflow.

    Deal Quote Template

    [If Generate PDF is selected as the Action Type)

    Choose the template that will format the PDF. 

    The list shows all the active templates that you have available in   > Settings > Templates > Deal > Deal Quotes, plus any global ones your Unifyr team has set up for you. For information on creating a template, see Custom Content Templates.

    Incoming

    Property Description
    Webhook Path

    [Optional] The URL that will receive the message.

    This value is auto-generated when you've entered the Handler Key for the handler.

    API Key Secret

    The autogenerated key that will authenticate the external system when it sends this webhook.

    icon_show_hide.png - show/hide the key on your screen

    icon_copy_purple.png - copy the key, for sharing with your integration partner

    icon_regenerate_purple.png - regenerate the key

    Match Strategy

    Select the value that will be used to identify an existing Unifyr deal record for update. Choose from:

    • Unifyr Deal ID
    • External ID (CRM)
    • Account Name + Deal Name
    • Custom Field Value (include the Custom Field Key if applicable)
    Webhook Mode

    The action to be taken when the webhook is received:

    • Transition Only - move the deal to the target status
    • Create if Not Found - create a new deal if it doesn't already exist 
    • Update Fields Only - update the data in the deal but don't change the status
    Target Deal Type The deal type for which this action applies. 
    Target Status

    The workflow status for which this action applies (taken from the workflow in place for the selected Deal Type).

    need more info

    Field Mapping

    Mappings that link up the fields in the incoming payload with Deal record fields in Unifyr.

    Click Add Mapping to add a new one.

    Expected Payload How information will be sent from your external system to this endpoint - shown as a JSON snippet.

    External

    Property Description
    External Type

    Choose one these action types:

    • Webhook
    • SNS (Amazon Simple Notification Service)
    Webhook URL

    [If Webhook is selected as the External Type]

    The URL in the target system that will receive the message.

    HTTP Method

    [If Webhook is selected as the External Type]

    Select one of these API actions for the request:

    • POST - create a new record
    • PUT - update or replace an existing record
    Timeout

    [Optional, if Webhook is selected as the External Type]

    The time limit for receiving a reply (in ms) 

    Retry Count

    [Optional, if Webhook is selected as the External Type]

    How many times to resend the request after a failure. 

    Maximum retries - 3

    Retry Delay

    [Optional, if Webhook is selected as the External Type]

    The amount of time to wait between retries of the request (in ms) 

    Maximum - 5000ms

    HTTP Headers

    [Optional, If Webhook is selected as the External Type]

    The headers to include in the request. Click Add Header to add a new one, entered as a name-value pair. 

    SNS Topic ARN

    [Optional, if SNS is selected as the External Type]

    The identifier for the message topic.

    Assume Role ARN

    [Optional, if SNS is selected as the External Type]

    The identifier for the session / security policy.

    Message Attributes

    [Optional, if SNS is selected as the External Type]

    The metadata about the message. Click Add Attribute to add a new one, entered as a name-value pair. 

  8. Click Save.

Available Deal Workflow Templates

These workflow templates are available in Unifyr, for you to use as the base of a custom deal workflow. See below for a diagram of each, to give you an idea of the statuses and transitions they contain as a default. 

Standard Deal Registration

admin_deal_workflow_templates_standard_deal_reg.png

Simple Approval

admin_deal_workflow_templates_simple_approval.png

B2B Project Signage

admin_deal_workflow_templates_b2b_project_signage.png

Advanced B2B Project

admin_deal_workflow_templates_advanced_b2b_project.png

Warranty Submission

admin_deal_workflow_templates_warranty_submission.png

RMA/Returns

admin_deal_workflow_templates_rma_returns.png

Advanced Warranty

admin_deal_workflow_templates_advanced_warranty.png

Co-Sell/Referral

admin_deal_workflow_templates_cosell_referral.png

 

Training

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.