Export Coupa invoices to a lookup table
What it does
When someone calls this automation, it retrieves all invoices from Coupa by paginating through the API. The lookup table is cleared first, then populated with fresh invoice data so other automations can reference those values.
Who it's for
Finance teams who need to sync Coupa invoices into a lookup table for use across multiple automations.
How teams use this
Sync Coupa invoices for approval workflows
Export all invoices to a lookup table so approval automations can instantly match invoice numbers without querying Coupa each time. The lookup table becomes the source of truth for invoice lookups.
Reference invoices in expense reports
Populate the lookup table with Coupa invoices so expense management automations can validate and link submitted expenses to existing invoice records. Only invoices in the table are available for matching.
Filter invoices by status before export
Add a condition to the Coupa search step to only export invoices with a specific status, such as approved or pending. The lookup table then contains only the invoices that match that filter.
How it works
- Call the export automation. Someone calls this automation to start the export process whenever another automation needs fresh Coupa invoice data available in the lookup table.
- Clear the lookup table. Remove all existing entries from the lookup table so it can be repopulated with the latest invoices from Coupa without duplicates or stale records.
- Fetch invoices from Coupa. Search Coupa for invoices using the API offset parameter to paginate through all records, retrieving 50 invoices per page until every invoice is retrieved.
- Add invoices to the lookup table. Insert each invoice from Coupa into the lookup table so other automations can search and reference the invoice data without calling Coupa repeatedly.