ExampleTemplate
Meter reads from AMI to utility billing with zero-read check
Every morning, reads the Neptune 360 export from the SFTP folder. Reads that look wrong (35 days with no flow, a skipped read or a read error) go to the meter team and become re-read service orders; good reads load into utility billing.
This flow
9 steps
StartsOn a schedule
SystemsSFTP server, Utility billing (CIS)
Branches1
Stored recordsNone: pass-through
§ The flow
The whole flow, as it appears on the canvas.
Scroll sideways on small screens. Colors show the kind of step: start, read, change, decide, write.
§ Step by step
What each step does.
- 01 · Start · On a schedule
Daily at 5 am
- Cron
0 5 * * *(workspace time zone)
Then: Read the AMI export
- Cron
- 02 · Files · Read files · SFTP server
Read the AMI export
- Reads files matching
neptune360-reads-*.txtininboxon SFTP server - Format: CSV, first row has the field names
- Only files new since the last good run
- After a good run, files move to
archive
Then: To meter read fields
- Reads files matching
- 03 · Change · Map fields
To meter read fields
- Shapes each record into 9 fields:
account_number,meter_number,read_date,reading,unit,order_status,no_flow_days_code,leak_now,read_code
Then: Zero or missing read?
- Shapes each record into 9 fields:
- 04 · Decide · If / else
Zero or missing read?
- Yes when
no_flow_days_codeis6ororder_statusis one ofSK,INorreadingcontains:orreadingis empty
Then: No → Fields for: load the read; Yes → Fields for: open a re-read order; Yes → Tell the meter team
- Yes when
- 05 · Change · Map fields
Fields for: load the read
- Shapes each record into 6 fields:
account_number,meter_number,read_date,reading,unit,read_code
Then: Load the read
- Shapes each record into 6 fields:
- 06 · Change · Map fields
Fields for: open a re-read order
- Shapes each record into 4 fields:
account_number,type,status,notes
Then: Open a re-read order
- Shapes each record into 4 fields:
- 07 · Write · Send records · Utility billing (CIS)
Load the read
- Creates Meter reads in Utility billing (CIS)
- 08 · Write · Send records · Utility billing (CIS)
Open a re-read order
- Creates Service orders in Utility billing (CIS)
- 09 · Act · Send email
Tell the meter team
- Emails
[email protected]: “{{count}} meters need a look” - One summary email
- Records attached as CSV
- Emails
§ Systems
Connectors used
Swap any of them for another system with the same kind of data.
Run this flow on your systems.
We'll set up a workspace with your systems in a sandbox and build your first flow with you.