Generate sheet packets in Plan Grid
Recipe ToolsDeveloper ToolMarketing
What it does
When someone calls the generate sheet packets function, this automation creates a sheet packet in Plan Grid and polls until the export is complete. It returns the packet ID and file link so the caller has what they need.
Who it's for
Operations teams who need sheet packets from Plan Grid without manual status checks.
Apps used
How teams use this
Export sheets without manual polling
Call the generate sheet packets function and wait for the complete packet instead of checking Plan Grid status by hand. The automation handles all the waiting and returns the link when ready.
Embed packet generation in another workflow
Use this function inside a larger automation so sheet packets are created and ready as part of a multi-step process. No extra setup is needed beyond calling this function from another workflow.
Add a timeout to prevent infinite loops
Set a maximum number of poll attempts or a time limit so the function stops if Plan Grid takes too long. This requires adding a counter or timestamp check to the polling loop.
How it works
- Receive a sheet packet request. A real-time call for the generate sheet packets function arrives with the details needed to create the packet.
- Create the sheet packet. Generate a new sheet packet in Plan Grid with the provided parameters so the export process starts.
- Poll until export is complete. Check the sheet packet status every minute until Plan Grid marks the export as complete, then return the packet ID and file link.
- Return the packet details. Send the sheet packet ID and file link back to the caller so they can access the exported data.