[PROD - TASK] Duo: Get User Counts
This workflow queries Duo Security to retrieve a comprehensive count of users across all client accounts, serving as a critical building block for MSPs to automate billing, license management, and security compliance reporting. It's particularly valuable for MSPs who bill per user, need to verify MFA deployment completeness, or must generate regular security compliance documentation for clients requiring multi-factor authentication. Technically, the workflow functions by first listing all Duo accounts, then retrieving all users from the Duo platform, and finally merging this data to generate accurate user counts that can feed into reporting systems, PSA tools, or client-facing dashboards.
This workflow contains 7 tasks.
Inputs
This sub workflow has no inputs.
Outputs
- automation_log: Standardized Rewst automation log 
- duo_user_count: List of DUO companies and their counts. 
Key tasks
- build automation log: Logging 
- get_user_count: Data retrieval 
- duo_list_accounts: Duo integration: List Accounts 
- duo_list_users: Duo integration: List Users 
- BEGIN: Core integration: noop 
Jinja examples
Example 1
{{ CTX.accounts.response }}Used in setting the duo_accounts alias.
Last updated
Was this helpful?

