Export Org Vars to CSV for Import Crate
What does the Export Org Vars to CSV for Import Crate do?
Our Export Org Vars to CSV Crate helps in effortlessly managing your organization variables by exporting them into a CSV file, which is sent to the location of your choice and added to a PSA ticket. The exported CSV is automatically formatted to be compatible with our related import Crate, Mass Update Organization Variables via CSV.
How the Crate works
Choose the organization whose variables you wish to export.
The system will extract all relevant organization variables.
A CSV file is generated in the required format, selected via form submission, ready for import via the accompanying Mass Update Organization Variables via CSV Crate.
Workflow breakdown
The workflow begins with the BEGIN task, which uses the noop action to initialize the workflow execution.
The workflow transitions to the rewst_list_organization_variables task, which executes the List Organization Variables action from Rewst to retrieve all organization variables visible to the current organization using the organization ID.
Upon successful completion, the retrieved organization variables are published to the workflow context as
org_varsand the workflow moves to the results_of_org_var task.The results_of_org_var task uses the noop action to process and transform the organization variables data into a structured list format, creating a new list called
my_listthat contains dictionaries with variable name, value, organization ID, and organization name for each variable.The workflow then proceeds to the create_csv task, which uses the noop action to convert the processed list data into CSV format using a Jinja2 template that applies the CSV filter with field names derived from the dictionary keys.
Finally, the workflow concludes with the END task, which uses the noop action to mark the completion of the workflow execution, with the CSV data available in the workflow context for output or further processing.
Crate prerequisites
If you intend to have the CSV attached to a PSA ticket, you must first successfully integrate your PSA with Rewst before unpacking this Crate.
Unpack the Export Org Vars to CSV for Import Crate
Navigate to Crates > Crate Marketplace in the left side menu Rewst platform.
Search for
Export Org Vars to CSV for Import.
Click on the Crate tile to begin unpacking.
Click Unpack Crate.
Click Continue.
Enter Time Saved under Crate Configuration.
Ensure that Enabled is toggled on in the Always Pass accordion menu, under Configure Triggers. Note that you have the option to activate the Crate for all future organizations in addition to the current one. You may also set trigger criteria or integration overrides.
Click Unpack.
Use the Crate
Fill out the form to select CSV delivery
Navigate to Automations > Forms in the left side menu of your Rewst platform.
Search for
[ROC] Organization Variables to CSV Form.Click on the form name.
Click View Usages > View Direct URLs.
Click on the organization where you'd like to use the form.
Choose the Location where the CSV should be sent: Both, PSA, or Email.
Choose an existing PSA ticket from the drop-down selector to attach the CSV to.
Click Submit. This will begin the generation and sending of the CSV.

Troubleshoot the Export Org Vars to CSV for Import Crate
This workflow is meant to run from your parent organization only. If you’re seeing workflow failures for child organizations, disable the trigger for child organizations.

Last updated
Was this helpful?

