Setting up Dynamic Approvers using Okta
Configure dynamic approvers in ClearFeed using Okta integration for automated approval routing
This guide walks you through configuring dynamic approvers in ClearFeed using Okta. With this setup, approvers (e.g., a requester's manager) are automatically determined via Okta and injected into approval workflows—eliminating manual selection and ensuring consistent routing.
Overview
Dynamic approvers in ClearFeed are implemented using:
Ticket Fields → to store the approver (e.g., Manager)
Forms → to collect request data
Automations (Pre-Approval) → to fetch approver details dynamically from Okta
Approval Workflows → to route approvals using the dynamically populated field
Flow Summary:
User submits a request via a form
An automation runs before approval workflows
Okta is queried to fetch the requester's manager
The manager is populated into a ticket field
Approval workflow uses this field to assign the approver
Prerequisites
Okta integration configured in ClearFeed
Requester email in ClearFeed matches their email in Okta
Access to ClearFeed WebApp to configure Ticket Fields, Forms, Automations, and Approval Workflows
Step 1: Create a "Manager" Field
Navigate to Ticket Fields

2. Click **Create New Field**

Configure the field and click Save:
Name: Manager
Type: User Select

Note: This field will store the dynamically fetched approver. The User Select field type is required for dynamic approvers in approval workflows.
Step 2: Add the Field to a Form
Go to Forms and click Add Form

2. Create a new intake form (or edit an existing one)

3. Add the **Manager** field to the Create form

Optional: Hide the Field
You can mark the field as hidden so users don't see or edit it
Since the field is hidden, users will never see it—it will be populated automatically by the automation
Keep Editable by set to All (required for dynamic approvers)
Important: For the Manager field to work as a dynamic approver, it must be:
Added to the Intake Form
Configured to be editable by All (not only by responders)
Step 3: Configure the Approval Workflow
Navigate to Approval Workflows

Click Create Approval Workflow and enter a name
Select the Intake Form created above

In the Approver configuration, choose From Form Field → Manager:

Set a Backup Approver (required)

Note: The backup approver is used if the Manager field is not populated for any reason (e.g., missing Okta data, field left empty).
Step 4: Create the Automation (Core Step)
This automation dynamically fetches the manager from Okta before approvals are triggered.
4.1 Choose Trigger
Navigate to Automations and create a new automation
Select trigger: Before Approval Workflow Triggered

Why this trigger? This trigger runs synchronously before the approval workflow is initiated. The automation must complete before approvals begin, ensuring the Manager field is populated when the workflow evaluates approvers.
4.2 Add Okta Action
Add action: Okta Integration
Select recipe: Get Manager Email
Configure input:
Requester Email → map to
{{request.requester.email}}
What this does:
Queries Okta using the requester's email
Returns the manager's email as output

4.3 Populate the Manager Field
Add action: Set Field
Field: Manager
Value source:
Select External Integration Output
Choose: Manager Email from the Okta action

The Set Field action supports populating User Select fields using External Integration Output. The email returned from Okta is automatically resolved to a matching user profile in ClearFeed.
4.4 Save Automation
Save and activate the automation. This completes the dynamic enrichment step.
Step 5: Test the Setup
Submit a ticket using the configured form
Do not manually select the Manager field (leave it empty or hidden)
Verify:
Ticket is created
Manager field is automatically populated with the requester's manager
Approval request is sent to the correct manager via Slack
How It Works (End-to-End)
View the complete execution flow
User submits a request using the intake form
The Before Approval Workflow Triggered automation runs:
Fetches the requester's manager email from Okta
Updates the Manager field on the ticket
The approval workflow triggers:
Evaluates routing rules
Uses the Manager field as the dynamic approver
The manager receives an approval request in Slack
If the Manager field is empty or Okta lookup fails, the backup approver is used
Notes & Best Practices
Use Hidden Fields
Keep the Manager field hidden for a cleaner user experience
Since users never see the field, they can't manually override it
Set a default value (ClearFeed requires this for hidden fields)
Always Set a Backup Approver
Protects against missing or mismatched Okta data
Required for all dynamic approvers in ClearFeed
Ensures approvals continue even if the lookup fails
Ensure Email Consistency
Requester email in ClearFeed must match Okta exactly
The lookup is based on email identity matching
Test with actual user emails to verify the integration
Extend the Pattern
You can reuse this pattern for other dynamic approver scenarios:
Department-based approvers — Fetch department head from Okta
Role-based approvals — Use Okta groups to determine approvers
Multi-level approval chains — Fetch multiple levels of management
Variations
Using Slack Instead of Okta
If your organization maintains manager data in Slack user profiles:
A similar automation can be built using Slack user attributes
Contact ClearFeed support to enable Slack-based lookup
Adding Conditional Logic
Use automation conditions to apply dynamic approvers only in specific scenarios:
Example: Only fetch manager for "Access Request" type tickets
Use form fields in conditions to control when the automation runs
FAQs
What happens if the manager is not found in Okta? Answer: The backup approver configured in the approval workflow will be used instead. This ensures the approval process continues without interruption.
Can I use multiple dynamic approvers in the same workflow? Answer: Yes, you can configure multiple levels with dynamic approvers. Each level can use a different User Select field, and each field can be populated via automation using different Okta actions or logic.
Does the automation run if the requester manually selects a manager? Answer: Yes, the automation will always run when triggered. If you want to respect manual selections, add a condition to skip the automation when the Manager field is already populated.
Can I use this with external ticketing systems like Jira or Zendesk? Answer: This pattern works with ClearFeed's native approval workflows. If you're using external ticketing systems, approvals are typically handled in those systems rather than through ClearFeed.
Summary
By combining:
Pre-approval automations (
Before Approval Workflow Triggered)Okta data enrichment (
Get Manager Emailaction)Dynamic approval fields (User Select fields in forms)
…you can fully automate approval routing in ClearFeed without requiring users to manually select approvers.
This pattern is especially useful for:
Software access requests
Procurement workflows
HR or onboarding approvals
Manager approvals for time-off requests
Last updated
