Prepare variables every 12 hours for billing
Recipe ToolsMarketing
What it does
When the clock triggers every 12 hours, this automation creates and transforms variables for currency formatting, string extraction, and address cleanup. These variables prepare billing records, receipt numbers, and shipping data for downstream processing.
Who it's for
Accounting teams who need scheduled variable preparation for billing data transformation and formatting.
How teams use this
Prepare billing records for daily processing
Run variable setup every 12 hours so billing records have consistent currency formatting and address fields cleaned of extra characters. The team uses the same downstream workflow without changes.
Extract receipt numbers from transactions
Use the substring extraction variables to pull receipt numbers and identifiers from raw transaction data. Retarget the schedule to run before peak transaction times instead of every 12 hours.
Add timezone conversion for multiple regions
Extend the automation to include timezone variables for additional cities beyond Brisbane so billing timestamps match each region's local time. Add new timezone variables for each location needed.
How it works
- Run on a 12-hour schedule. The Clock app triggers this automation every 12 hours to refresh variables used in billing and receipt processing workflows.
- Set up currency format variables. Create two currency format variables in Clock: one for strings with no decimals and one for strings that already contain decimals, so billing amounts format consistently.
- Build string extraction variables. Set up Clock variables to extract the last 4 characters of a string, isolate all characters between two underscores, and pull receipt numbers from transaction data.
- Create string transformation variables. Build Clock variables to remove unwanted characters and delimiters, such as content after a period or before a dash, and clean up billing and shipping address fields.
- Prepare timezone and helper variables. Create Clock variables for Brisbane timezone conversion and other helper variables needed for downstream processing and timestamp alignment across regions.