Sync Coupa purchase orders on schedule

Recipe ToolsMarketingProject Management

What it does

When a scheduled trigger runs every 5 minutes, this automation searches Coupa for purchase orders. It then adds file attachments, creates objects, rejects approvals, and updates records in batch.

Who it's for

Procurement teams who need to keep Coupa purchase orders current without manual intervention.

How teams use this

Keep purchase orders synced hourly

Change the schedule to run every hour instead of every 5 minutes so Coupa stays current without overloading the system. The same search and update logic applies.

Filter orders by status before processing

Add a condition to search only purchase orders with a pending status so the batch skips approved or rejected orders. This narrows the scope of each run.

Notify a team when rejections occur

Include a step that sends a message to a Slack channel each time an approval is rejected in Coupa. The team stays informed without checking Coupa manually.

Archive completed purchase orders

Add a final step that archives purchase orders once all attachments are added and updates are done. This keeps Coupa organized and reduces clutter in active lists.

How it works

  1. Run every 5 minutes. The automation starts on a schedule, checking Coupa for new or updated purchase orders every 5 minutes without manual intervention.
  2. Search purchase orders in Coupa. Search Coupa for purchase orders that match the criteria so the batch processes only the records that need updates or attachments.
  3. Add attachments and update records. For each purchase order, add file attachments to Coupa, create related objects, reject approvals when needed, and update the record with latest details.