Flow Designer Hands-on Lab & Demo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Use Case: Auto onboard new joiners – Create IT + HR + Manager Tasks & send a welcome email whenever a new employee record is created.
Things you’ll be creating…
1. Flow Designer
2. Welcome Email
3. IT Support, HR Onboarding, Manager Check-in Tasks
Step 0: Create IT Support & HR Onboarding groups
- Navigate to User Administration > Groups.
- Click New.
- Name: IT Support
Description: Handles provisioning
Add at least one member (optional). Save. - Repeat to create HR Onboarding.
Now you have two groups to assign to.
_________________________________________________________________________________________
Step 1: Create the Flow - main outline
- Application Navigator > Flow Designer.
- Click New > Flow.
- Name: Auto Onboard - New User Kickoff
- Description: On new user creation: create IT, HR & manager tasks and send welcome email.
- Click Submit.
_________________________________________________________________________________________
Step 2: Add the trigger (When a user is created)
- In the flow canvas click - Add Trigger.
- Choose Table (When: Record).
- Table: User [sys_user]
- When: Created
- Save the trigger.
Note: the trigger data pill will appear as Trigger > User Record, which you will use to pick fields (Name, Email, Manager).
_________________________________________________________________________________________
Step 3: Add an If condition (only run for active users with email)
- Under the trigger click Flow Logic > search If and add it.
- Configure the IF conditions (use data pill picker to choose fields):
- Condition 1: Trigger > User > Active is true
- Add AND Condition 2: Trigger > User > Email is not empty
- This guarantees the flow continues only for active users who have an email.
_________________________________________________________________________________________
Step 4: Look up the groups (use Look up Records)
Inside If > THEN we will add two Look up Records actions so assignment uses group records by name.
For IT Support group
- Click Action > search Look up Records and add.
- Configure:
- Table: Group [sys_user_group]
- Filter: Name is IT Support
- IMPORTANT: Set the Annotation Name to IT Support Group (so it is easy to locate).
- Save.
For HR Onboarding group
- Add another Look up Records action.
- Table: Group [sys_user_group]
- Filter: Name is HR Onboarding
- Set the Annotation Name to HR Onboarding Group.
- Save.
_________________________________________________________________________________________
Step 5: Create the IT provisioning task (Create Record)
- Under If > THEN click > Action > Create Record.
- Configure Create Record:
- Table: Task [task]
- Annotation name : IT Support Task
- Fill the fields (use data pill picker to insert fields from the Trigger or lookups):
- Short description: Provision: laptop, AD & mailbox for then insert data pill - Trigger > User > Name (result looks like Provision: laptop, ID & mailbox for <User.Name>)
- Description: New hire ${Name} (${Email}). Please provision laptop, ODC access, mailbox and organization apps. - build by inserting data pills: Trigger > User > Name and Trigger > User > Email.
- Assignment group: is IT Support
- Save.
_________________________________________________________________________________________
Step 6: Create the HR orientation task
- Add another Create Record action (Table: Task [task]).
- Annotation name: HR Onboarding Task
- Fields:
- Short description: HR: Orientation & paperwork for + data pill Trigger > User > Name
- Description: Welcome ${Name}. Schedule orientation, benefits enrollment & paperwork. (insert data pills)
- Assignment group: is HR Onboarding
- Save.
_________________________________________________________________________________________
Step 7: Create manager check-in task
- Add Create Record action (Table: Task [task])
- Annotation name: Manager Check-in Task
- Fields:
- Short description: Manager check-in: 7 day follow-up for + data pill Trigger > User > Name
- Description: Please check in with ${Name} about role clarity and blockers.
- Assigned to: use data pill Trigger > User > Manager (choose the manager record data pill - not manager name string).
- Save.
_________________________________________________________________________________________
Step 8: Send the welcome email
- Under the If > THEN add Action > search Send Email and add it.
- Configure:
- To: data pill Trigger > User > Email
- CC: data pill Trigger > User > Manager > Email
- Subject: Welcome to Chai & Code, + data pill Trigger > User > Name
- Body: type the below email & use data pills wherever needed
Hi [Trigger > User > Name],
Welcome to Chai & Code - we’re excited to have you!
Quick checklist:
1) IT will provision laptop and mailbox.
2) HR will schedule orientation and send forms.
3) Your manager [Trigger > User > Manager > Name] will do a 7-day check-in.
If anything is missing, reply to this email.
Cheers,
People Ops
3. Save.
_________________________________________________________________________________________
Step 9: Activate & Test the flow
- Click Activate. The flow is now live and will run when a new user is created.
- Navigate: User Administration > Users > New.
- Create a test user:
- First name / Last name: Chandler Developer
- User ID: chandler.developer
- Email: chandler@example.com
- Manager: pick an existing user (this is required so manager task has an assignee)
- Active: tick
- Click Submit.
- Immediately check:
- Flow run: Return to Flow Designer, open your flow, click Execution Details (or Executions) > open the latest run and expand steps to see each action succeeded.
- Tasks: Navigate to All > Tasks (or search short_description contains Provision: or HR:) - you should see 3 tasks created.
- Emails: If outbound mail is configured, check System Mailboxes > Outbound > Outbox to see the welcome email.
If the tasks exist and the email entry exists (or email log shows a send attempt), your flow is working.