Sync Duo User Counts with ConnectWise PSA Agreement Crate
What does the Sync Duo User Counts with ConnectWise PSA Agreement Crate do?
Our Sync Duo User Counts with ConnectWise PSA Agreement Crate automates the process of updating the ConnectWise PSA Agreement by keeping your it in sync with your Duo tenant's user count, running the process at intervals that suit your business requirements, and eliminating manual errors to ensure your agreements reflect the true usage.
Note that this requires the Configure ConnectWise PSA Agreement for Duo Sync Crate to configure the relevant variables.
How the Crate works
At your specified intervals, the Crate fetches the current user count from Duo
The ConnectWise PSA Agreement is then updated to reflect this number
You have the flexibility to run this Crate either on-demand or based on a predefined schedule
The Crate workflow is triggered by a cron job based on the configured schedule.
Crate prerequisites
The following integrations must be set up before unpacking this Crate:
Unpack the Sync Duo User Counts with CWM Agreement Crate
Navigate to Crates > Crate Marketplace in the left side menu Rewst platform.
Search for
Sync Duo User Counts with ConnectWise PSA Agreement Crate.
Click on the Crate tile to begin unpacking.
Click Unpack Crate.
Click Continue.
Expand the Cron Job accordion menu under Configure Triggers. Ensure Enabled is toggled on. Note that you also have the option to activate the Crate for all future organizations in addition to the current one. You may also set the trigger criteria or integration overrides.
Click Unpack.
Test the Crate
To test this Crate, you'll need to adjust the cron trigger's schedule to a few minutes in the future, then adjust it back to your regular schedule after the test. Alternatively, you could wait until the regularly scheduled run occurs and check your result, which would not require you to update the cron trigger schedule.
Navigate to Automations > Workflows in the left side menu of your Rewst platform.
Search for
[ROC] ConnectWise Manage - Sync DUO Counts w/ ConnectWise Agreement.
Click on the workflow to view it in the Workflow Builder.

Adjust the cron trigger's schedule to five minutes from your current time. The workflow will run on its own. Check in your PSA's portal to ensure that the workflow is able to detail the new admin accounts detected during the audit window as expected.
Update the cron trigger schedule
The Crate runs on a cron trigger, and will execute the workflow to generate the ticket at the same time each day. You can adjust the chosen time for execution in the workflow itself. Edit a cron trigger in the workflow to change the timing of when it will routinely run.
Navigate to Automations > Workflows.
Search for
[ROC] ConnectWise Manage - Sync DUO Counts w/ ConnectWise Agreement.Click on the workflow to open it in the Workflow Builder.
Click
to open the edit trigger menu.
Update the timing of the cron trigger as desired in the fields under Trigger Parameters. Note that when entering the time into the Cron Schedule field, the correct format is minutes followed by hour. For example, 18 3, not 3 18.
Click Submit.
Organization variables associated with this Crate
cwm_duo_agreement_preferences
Last updated
Was this helpful?

