Bulk Create Client from PSA Crate
What does the Bulk Create Client from PSA Crate do?
Our Bulk Create Client from PSA Crate allows you to create organizations in Rewst from a filtered PSA client list, in bulk. Reduce time needed when onboarding into Rewst for the first time and quickly create multiple unique Rewst organizations from your PSA.
Once an organization is created via the Crate's execution, you can't change the parent organization of that child organization.
How the Crate works
The form unpacked with this Crate is used to select the account types and account statuses from a dynamic field, pulling direct from your PSA, and then selects the organizations by default that match that criteria.
On submission, the automation then checks if the organization is already created within Rewst. If so, it does nothing. If the organization does not exist, it is created.
An email report is sent to the form submitter outlining the number of clients created, the number of clients bypassed, and the number of organizations with failures.
Workflow breakdown
[ROC] Rewst: Create Orgs from PSA - Stage 1: Collect Organisations
The workflow begins with the BEGIN task that uses the noop action to initialize the automation log as an empty array and starts the workflow execution.
The workflow executes the workflows_roc_psa_list_organisations_with_filtering task that uses the [ROC] PSA: List Organisations with Filtering action to retrieve all organizations from the PSA system based on specified account types and statuses.
The workflow processes the PSA organization data by filtering it to match only the organization IDs provided in the input parameter, creating a refined list of organizations with their names and IDs.
The rewst_list_integrations_for_organization task executes the List Integrations For Organization action to retrieve all integrations currently installed for the organization and identifies the default PSA pack configuration.
The workflow runs the create_rewst_org task using the [ROC] Rewst: Create Orgs from PSA - Stage 2: Create Organisations action with "with items" functionality, processing up to 5 organizations concurrently to create Rewst organizations for each PSA organization.
After organization creation completes or fails, the workflow calculates statistics including counts of organizations created, organizations that already existed, and organizations that failed to be created, along with their respective names.
The core_sendmail task executes the sendmail action to send a summary email to the user containing the results of the bulk organization creation process, including counts and status information.
If any failures occur during the organization creation process, the failure_detected task uses the noop action to handle the failure path before proceeding to send the notification email.
The workflow concludes with the END task that uses the noop action to finalize the workflow execution and output the automation log.
[ROC] Rewst: Create Orgs from PSA - Stage 2: Create Organisations
The workflow begins with the BEGIN task using the noop action, which initializes an empty automation log and transitions to the organization variable check.
The rewst_get_organization_variable task uses the Get Organization Variable action to check if a PSA-specific organization variable already exists for the given organization ID, looking for variables like
cw_manage_company_id,datto_company_id,halo_psa_client_id,kaseya_bms_account_id, or freshdesk_company_iddepending on the default PSA configuration.If the organization variable does not exist, the workflow proceeds to the get_company_info task which uses the [ROC] PSA: List Organisations with Filtering action to retrieve company information from the PSA system using the provided organisation_id.
If the organization variable already exists, the workflow skips to the org_exists task using the noop action, which sets the action status to Exists and proceeds directly to completion.
When company information is successfully retrieved, the rewst_create_organization task uses the Create Organization action to create a new organization in Rewst using the company name from the PSA and sets the managing organization ID to the current organization.
After successful organization creation, the rewst_bulk_upsert_organization_variables task uses the Bulk Upsert Organization Variables action to create the appropriate PSA company ID variable for the newly created organization, with the variable name determined by the default PSA type.
If any task fails during execution, the workflow transitions to the failure_detected task using the noop action, which sets the action status to Failed.
The workflow concludes with the END task using the noop action, which publishes the final organization information including the action taken, organization ID, and organization name to the workflow output.
Crate prerequisites
Prior to unpacking and running this Crate, you should have one of the following PSA integrations configured in Rewst:
Unpack the Bulk Create Client from PSA Crate
Navigate to Crates > Crate Marketplace in the left side menu of the Rewst platform.
Search for
Bulk Create Client from PSA.
Click on the Crate tile to open its details page.
Locate the Required Org Variables menu on the right of the Crate details page. Click
to launch the Add Organization Variable dialog.

Set the Name field to
default_PSA, if Rewst does not automatically populate this into the field for you.Set the Category to general.
Set the Value field to the value that corresponds to your PSA, referenced from the table below.
PSA
Value
ConnectWise PSA
cw_manageDattoPSA
datto_psaFreshdesk
freshdeskHaloPSA
halo_psaKaseya BMS
kaseya_bmsClick Submit.
Click Unpack Crate, then Continue.
Follow the on-screen instructions.
Click Unpack.
Use the Crate
Navigate to Automations > Forms.
Search for
[ROC] Rewst: Create Orgs from PSA Form.Click ⋮ > Usages.

Click the workflow named [ROC] Rewst: Create Orgs from PSA - Stage 1: Collect Organizations.
Click View Direct URLs.
Click the link that corresponds to your MSP’s organization.
Choose your account types from the drop-down selector. These will act as a filter for the organizations you want to create.
Select status criteria from the Account Statuses / Classification drop-down selector to filter for the subset of organizations to create.

Remove any unwanted organizations from the list.
Click Submit.
Last updated
Was this helpful?

