Create and manage workflows
Use workflows to give an employee a repeatable series of tasks for onboarding, offboarding, or another process. This guide covers templates, task routing, assignments, automation, and completion.
HR Admins create and assign workflows in Salesforce. Employees, Managers, and assigned HR Managers complete and monitor tasks in the Employee Hub. Signature tasks require the paid flair eSign add-on.
Before you begin
- Enable the Employee Hub and invite each workflow assignee.
- Add a Company Email to each assignee's employee record.
- To use Signature tasks, enable the flair eSign integration under HR Admin → Integrations → eSign.
Create a Workflow Template
-
In flair HR, open Workflows from the navigation bar or the App Launcher (⋮⋮ grid icon).
-
Open Workflow Templates.
-
Click New Workflow Template.

-
Enter a name.
-
In the type field, select Onboarding, Offboarding, or Other.
-
Optional: For an Onboarding template, enable the widget for the new employee's Hub dashboard.
-
Optional: Enter a Description.
-
Save the template. You can now add steps and tasks.
Add steps and tasks
A step is a workflow phase that contains one or more tasks. A step can start after the previous step's mandatory tasks or relative to a date.
Add a step
- Open the Workflow Template.
- Click Create the First Step.
- Enter a step name.
- Select a trigger after the previous mandatory tasks, or relative to Workflow Start Date, Employee Start Date, or another supported event.
- Click Add. The step appears in the template.

Add a task
-
Under the step, click Add New Task To This Step.
-
Enter a task name.
-
Select its parent step.
-
Optional: Enter a description.
-
Set a deadline.
-
Choose whether the task is mandatory.
-
Optional: Add a video URL or attach a video file.

-
Click Next.
-
Select a task type and complete its fields:
Task type What it does General Creates a task that the assignee completes by marking it done. Upload Requests a file and defines its Type, Category, and File Format. It supports PDF, PNG, JPG, JPEG, and GIF. Data Requests values for selected data fields in the Employee Hub. Performance Review Assigns an existing performance review and reviewer. Evaluation Assigns an existing evaluation template for an employee or candidate. Signature Requests signatures through the paid flair eSign integration. Email Sends an automated email to the responsible person when the task becomes active. -
Optional: Add subtasks. Subtasks appear as a Hub checklist but are not required to complete the step.

Choose the responsible person and visibility
-
Click Next to open Assignee.
-
Under Responsible Type, select who completes the task:
Responsible type How flair resolves it Manager Uses the workflow assignee's manager. Performance Manager Uses the workflow assignee's performance manager. Workflow Assignee Uses the person who receives the workflow. Employee Uses a selected employee. Team Uses a selected team. SOQL Filter Resolves employees from the workflow assignee's record when the workflow is assigned. -
Under Task Visibility, select who can see the task. The responsible person always sees it.

Responsible person Available Task Visibility values Workflow assignee and manager HR+Manager+Employee only Workflow assignee HR+Manager+Employee or HR+Employee Workflow assignee's manager HR+Manager+Employee or HR+Manager A specific employee, role, or team HR+Manager+Employee, HR+Manager, HR+Employee, or HR -
Review This workflow task is visible to. It lists HR, Workflow Assignee, Workflow Assignee's Manager, or The Responsible Type, as applicable.
-
Save the task. Managers can view and edit tasks assigned to their employees.

Tasks migrated from the former Hide From Assignee setting keep equivalent visibility. You do not need to reconfigure them.
Assign a responsible person with a SOQL filter
Use SOQL Filter when a task's responsible person comes from data on the workflow assignee's Employee record. flair resolves the responsible employees when the workflow is assigned.
- Under Responsible Type, select SOQL Filter.
- In Context Field, enter the API name of the field on the assignee's Employee record. It defaults to
Id. - In SOQL Filter, enter a SOQL
WHEREclause that queries the Employee object. - Use
:contextFieldValuewhere flair should insert the context field's value.
Wrap :contextFieldValue in single quotes. Id = :contextFieldValue silently resolves no one. Use Id = ':contextFieldValue'. The {contextFieldValue} syntax is not supported.

Route a task to an HR specialist
If flair__HR_Specialist__c is a lookup from the assignee to another Employee, enter these values:
| Field | Value |
|---|---|
| Context Field | flair__HR_Specialist__c |
| SOQL Filter | Id = ':contextFieldValue' |
flair reads the assignee's lookup and assigns the task to the Employee whose Id matches it.
The filter can match any Employee field. For example, use Context Field flair__Manager__c and this filter to assign every employee who shares the assignee's manager:
flair__Manager__c = ':contextFieldValue'
The query runs against flair__Employee__c, so use Employee field API names and the flair__ namespace where applicable. If the filter resolves multiple employees, each becomes responsible for the task.
Add an e-signature request
Configure the Signature task
-
On a Workflow Template, add or edit a task.
-
Select Signature.
-
Select an existing Document Template, or click Upload a Document.

-
Enter a task name.
-
Select a Document Category.
-
In Visibility, choose who can see the document.
-
Optional: Add notes and subtasks.
-
Select the primary signer as the responsible person.
-
Optional: Click Add a Signer for each additional signer.

Place the signatures
- Click Add Placeholders.
- In the preview, drag a signature placeholder to the document for each signer.
- Click Done.
- Click Save. When you assign the workflow, each signer receives a separate signature task.


Sign a workflow document
- In the Employee Hub, open the signature task.
- Click Sign Document. The document opens in a new browser tab.
- Review the document.
- Insert a standard signature with your full name or draw a signature.
- Finish the signing flow. The workflow records the completed signature task.

Add an Email task
An Email task sends a message to the responsible person's Company Email when the task becomes active.
-
Add a task, and select Email.
-
Complete the email fields:
Field What it does Email Subject Sets the email subject. Email Body Sets the message content. Email Button Name Sets the label for an optional call-to-action. Email Button Link Sets the call-to-action URL. -
Save the task. If the button name and link are empty, the email includes a default link to the workflow in the Employee Hub.

Use merge fields
Add a merge field with triple braces and its full API path:
{{{flair__Workflow_Item__c.flair__Responsible_Name__c}}}
For example:
Hi {{{flair__Workflow_Item__c.flair__Responsible_Name__c}}}, you have a new onboarding task to complete.
flair replaces the merge field with the responsible person's name.
Add video instructions
- On a workflow task, attach a video file under Attachments, or paste a YouTube, Loom, or Wistia URL into Video Instructions.
- Save the task. After assignment, the Employee Hub embeds the video in the workflow item.
Assign a workflow
You can assign only a Workflow Template that contains at least one task.
-
In flair HR, open Workflows → Overview.
-
Click Assign Workflows.
-
Under Template, select a type from All Categories.
-
Search for and select the template.

-
Click Next.
-
Select an individual or choose multiple employees by location, department, or team.
-
Finish the assignment. The employees receive the workflow in the Employee Hub and may receive Slack or email notifications based on their settings.

On Overview, you can review assignees, categories, progress, the nearest task due date, and the source template. Use the down arrow to edit or delete a workflow.
Automate workflow assignment with Salesforce Flow
Use a record-triggered Salesforce Flow to assign a Workflow Template when an employee joins a team.
Prepare the team and template
- Create a Workflow Template with at least one task.
- In flair HR, open Teams.
- Open the team that should trigger the workflow.
- Copy the alphanumeric team ID between
/c/and/viewin the browser URL.

Create the record-triggered flow
-
In Salesforce Setup, open Flows.
-
Click New Flow.
-
Select Record-Triggered Flow.
-
Click Create.

-
In Object, select Team Member.
-
Select Trigger the flow when a record is created.

-
Under Condition Requirements, select All Conditions Are Met (AND).
-
Set Field to
flair__Team__c. -
Set Operator to Equals.
-
Set Value to the team ID, such as
a2X7S000006kWN9UAM, and click Done.

Create the employee ID collection
-
In Flow Builder, click Toggle Toolbox.
-
Click New Resource.

-
Set Resource Type to Variable.
-
Set API Name to
employeeIds. -
Optional: Enter a Description.
-
Set Data Type to Text.
-
Select Allow multiple values (collection).
-
Click Done.

Add the employee ID assignment
-
Between Start and End, click the add circle.

-
Add an Assignment.
-
Set Label to
Add Id to Employee Id. -
Set Variable to
{!employeeIds}. -
Set Operator to Add.
-
Set Value to
{!$Record.flair__Employee__r.Id}. -
Click Done.

Add the workflow action
-
Between the Assignment and End, click the add circle.

-
Add an Action.
-
Search for and select Create Workflow From Template.
-
Set Label to
Assign workflow. -
Set API Name to
Assign_workflow. -
Set Employee IDs to
{!employeeIds}. -
In Template Id, enter the Workflow Template ID between
/c/and/viewin its flair HR URL. -
Click Done.


Save and activate the flow
- In Flow Builder, click Save.
- Enter a Flow Label, such as
Auto-assign workflow for HR team members. - Save the flow.
- Click Activate. New members of the selected team receive the Workflow Template automatically.
Update workflow item statuses in bulk
Use a Salesforce data tool, such as Salesforce Inspector or Data Export, to update many workflow items.
-
Export the workflow items with a query such as this one, adjusted for your employee and status:
SELECT Id, Name, flair__Responsible_Name__c, flair__Status__c
FROM flair__Workflow_Item__c
WHERE flair__Responsible_Name__c = 'Employee Name'
AND flair__Status__c = 'NOT_STARTED' -
Copy the exported rows into a spreadsheet.
-
Set
flair__Status__ctoCOMPLETEDfor each item to update. -
In the data tool, use Data Import to paste the rows, map the fields, and run the import.
Complete workflows in the Employee Hub
-
In the Employee Hub, open Workflows. You can also use the link in an assignment email.
-
Filter by workflow name, employee, type, year, or status.
-
To list individual tasks, switch the view from Workflows to Tasks.

-
Open a workflow to see its steps, responsible people, due dates, statuses, and comments. Mandatory tasks have an asterisk, and locked tasks depend on earlier tasks.

-
Open a task to see its description, subtasks, requested data, or upload field.
-
Enter requested data or upload the requested document.
-
Optional: Mark a subtask done. Completing a subtask updates the parent task status, but subtasks are not mandatory.
-
Change the task status to In Progress or Completed.

Tasks assigned to other people may be hidden from you. If your mandatory tasks are complete but the next step remains inactive, another responsible person may still have an incomplete mandatory task.
Review workflows as an HR Manager
If an employee record lists you in HR Manager, you can view and update that employee's workflows in the Employee Hub.
- Open Workflows → All to see your workflows and the workflows of all employees you manage as HR Manager.
- Open Workflows → Others to see workflows where you are not the direct assignee.
- Open a workflow item to view its details or update its status.
Comment on a workflow
- In the Employee Hub, open Workflows.
- Select a workflow.
- Click the speech-bubble icon in Comments, or open a task and select Comments.
- Enter a comment.
- Optional: Attach a document or image, tag a colleague, or react to a comment.
- Post the comment. Other participants can read it with the workflow.

Update legacy Workflow Templates
When workflow steps were introduced, existing tasks moved into Step 1. Their content remains unchanged, but their start dates and deadlines may need review.
-
Open an existing Workflow Template and review its former task structure.

-
Confirm that its existing tasks now appear under Step 1.

-
Review the former task-level start dates. Start dates now apply to every task in a step.


-
If a task previously used a trigger other than Workflow Start Date, create a step for that trigger and move the task into it.

-
Configure the new step and its trigger.


-
Adjust task deadlines for the new step structure, and save the template.

Troubleshooting
A workflow shows an orange warning icon
The workflow may contain a Manager task while its assignee has no manager in flair.
-
On Workflows → Overview, click the down arrow next to the affected workflow.
-
Click Edit.

-
Find the task with missing information.
-
Next to the task, click the down arrow.
-
Click Edit.
-
Click Next until Assignee opens.
-
Select a responsible employee.
-
Save the task. The warning clears when the workflow has all required information.

To prevent this error, assign every employee a manager on Company Structure. See Create and manage positions.