Tips & Tricks
How to Backup PWA Flows to a Podio App

App Builder & Automation Expert
Stay Updated with ProcFu!
Subscribe to our newsletter for the latest tips, updates, and automation insights.
Subscribe NowBacking up your PWA (GlobiFlow) flows regularly is a smart way to prevent data loss and keep version history. In this guide, you'll learn how to automatically back up all your flows into a Podio app using a custom ProcFu script.
What You Need
- A Podio app created specifically for storing flow backups
- Your app’s ID
- A text field in your app for storing the flow ID (used for checking duplicates)
- Access to the ProcFu script editor and scheduler
ProcFu Functions Used
pwa_flows_list()
– Retrieves a list of all flows from your PWA/GlobiFlow account.pwa_flow_get(flow_id)
– Gets detailed information for a specific flow by ID.podio_app_search(app_id, field_id, value, operator, limit, offset)
– Searches your Podio app for existing items with a matching flow ID.podio_item_fields_update(item_id, fields_json)
– Updates an existing Podio item with new data.podio_item_create(app_id, fields_json)
– Creates a new item in your Podio app with the provided data.account_logger_log("message")
– Writes a log message for debugging or tracking.
Step 1: Create a Podio App
Create a Podio app with the following fields:
- flow-id (Text)
- app-id (Text)
- flow-name (Text)
- description (Text)
- trigger-type (Text)
- version (Text)
- flow-data (Text / Category / Long text depending on preference)
Note the App ID and the field ID of the flow-id field — you’ll use them in the script.
Step 2: The Script
Here is the ProcFu script you’ll use to back up your flows:
$app_id = "29860573";
$flow_id_field_id = "266749145";
$flow_list = pwa_flows_list();
foreach ($flow_list as $flow) {
$flow_id = $flow["pkFlows"];
$flow = pwa_flow_get($flow_id);
$fields = [
"flow-id" => json_encode($flow_id),
"app-id" => json_encode($flow["flow"]["podioAppId"]),
"flow-name" => json_encode($flow["flow"]["flowName"]),
"description" => json_encode($flow["flow"]["description"]),
"trigger-type" => json_encode($flow["flow"]["triggerType"]),
"version" => json_encode($flow["flow"]["version"]),
"flow-data" => json_encode($flow)
];
$exists = podio_app_search($app_id,$flow_id_field_id,$flow_id,"E",1,1);
if($exists[0]){
podio_item_fields_update($exists[0]["item_id"],json_encode($fields),0,0);
} else {
podio_item_create($app_id,json_encode($fields),0,0);
}
}
account_logger_log("Flow Backup Complete");
Step 3: Automate with ProcFu Scheduler
To keep your backups up to date, schedule the script to run automatically:
- Go to ProcFu Account
- Navigate to Scheduled Tasks
- Click Add Job
- Set the following:
- Run on: Every Day
- Time: 00:00
- Name: PWA Flows Backup Scheduler
- Type: Run ProcScript Script
- Script Name:
backup_flows
(or whatever you named the script)
Click Save to activate the daily backup job.
You're Done!
Your flows will now be backed up daily into your Podio app - safely and automatically.