Shata Solutions
← Back to marketplace
Restaurant Automation

Auto Purchase Orders

Generate and email supplier POs when inventory alerts are approved or on scheduled reorder day.

Automation overview

What this automation does

This automation starts when inventory alert approved or scheduled Monday 6 AM reorder. It google sheets approved, google docs approved, gmail approved, and x (twitter) approved, then approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items.

Trigger
Inventory alert approved or scheduled Monday 6 AM reorder
Main actions
Google Sheets approved → Google Docs approved …
Final outcome
Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Goog…
Execution time
30–90 seconds
Apps used
4 integrations
AI-powered
No
Difficulty
Beginner
Beginner
Workflow diagram

End-to-end scenario flow

Read-only visualization of how data moves from trigger to final result.

Trigger
Inventory System
Scheduled run
Step 1
Google Sheets
Approved
Step 2
Google Docs
Approved
Step 3
Gmail
Approved
Step 4
X (Twitter)
Approved
Result
X (Twitter)
Workflow complete
Step-by-step

How each step runs

  1. 1
    Inventory SystemTrigger
    Scheduled run

    Inventory alert approved or scheduled Monday 6 AM reorder

  2. 2
    Google Sheets
    Approved

    Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items

  3. 3
    Google Docs
    Approved

    Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items

  4. 4
    Gmail
    Approved

    Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items

  5. 5
    X (Twitter)
    Approved

    Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items

  6. 6
    X (Twitter)
    Workflow complete

    Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items

Apps used

Connected applications

Google Sheets

Approved

Google Docs

Approved

Gmail

Approved

X (Twitter)

Approved

Summary

Automation summary

Trigger
Inventory alert approved or scheduled Monday 6 AM reorder
Inputs
Inventory alert approved or scheduled Monday 6 AM reorder, Business Name, Notification Email, Timezone
Outputs
Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items, Gmail approved, X (Twitter) approved
Business goal
Automate auto purchase orders end-to-end with accurate app routing.
Execution frequency
Scheduled interval
Estimated runtime
30–90 seconds
Error handling
Failed steps retry up to 3 times with exponential backoff; persistent failures notify your configured channel and log to the run history.
Dependencies
Google Sheets, Google Docs, Gmail
Benefits

Why use this automation?

Save ~3 hours/week

Remove repetitive steps from Auto Purchase Orders so your team focuses on high-value work.

Reduce manual work

Connected apps sync data automatically instead of copy-paste between dashboards.

Prevent human errors

Standardized logic runs the same way every time, with retries on failure.

Faster response times

Events trigger immediate actions instead of waiting for someone to check a queue.

Requirements

What you need to get started

Required apps

  • Google Sheets
  • Google Docs
  • Gmail

Required accounts

  • Active Google Sheets workspace with API access
  • Active Google Docs workspace with API access
  • Active Gmail workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OAuth tokens for each connected integration

Permissions

  • Read access on trigger sources (forms, sheets, webhooks, or CRM objects)
  • Write access on destination apps (email, chat, CRM, or storage)

Estimated setup time

  • 5 min including app authorization and test run
  • Difficulty: Beginner

Optional apps

  • X (Twitter) (optional)

Automation runtime

Activate this template

PartialSome steps run in preview until their integrations go live.

Connect required apps via OAuth or API keys. Credentials are encrypted server-side. Dev test runs mock external actions when connections are missing.

Draft
0%
Activation readiness

Est. setup time: ~14 min

Required connections

  • inventory system(required)
    Previewinventory-system: workflow actions run in preview
    Missing
  • Google Sheets(required)
    Missing
  • Google Drive(required)
    Test-onlyGoogle Drive: workflow actions run in preview
    Missing
  • Gmail(required)
    Missing
  • Missing connection: inventory system
  • Missing connection: Google Sheets
  • Missing connection: Google Drive
  • Missing connection: Gmail
Manage all connections →View all installations →

Workflow summary

Trigger
Inventory alert approved or scheduled Monday 6 AM reorder
Steps
6 nodes
Required apps
4
Optional apps
1

Trigger

Schedule trigger

Activate this workflow to provision the trigger endpoint.

Run history

No runs yet. Install the template and run a test, or activate to receive webhook/schedule runs.

FreeBeginnerPartial5 min setup4.72.0k installs · 351 reviews
Customize for My Business
Analytics

Template performance

47.2k
Views
2.0k
Installs
693
Favorites
4.7
Avg rating
4.3%
Conversion
5 min
Setup time
96%
Success rate
104
Trending score
Most used integrations
inventory-systemGoogle SheetsGoogle Drive

Approved inventory alert or Monday 6 AM scheduled run aggregates PO rows in Google Sheets by supplier, generates PDF PO via Google Docs template with line items, quantities, delivery date, emails supplier from operations Gmail, CCs manager, sets Sheets status `sent`, and creates calendar reminder for expected delivery date minus 1 day for receiving check.

Some steps run in preview until their integrations go live.

Required apps
Inventory SystemPreviewGoogle SheetsLiveGoogle DriveTest-onlyGmailLive
Optional apps
X (Twitter)Preview
All integrations
Inventory SystemGoogle SheetsGoogle DriveGmailX (Twitter)
Workflow preview

How Auto Purchase Orders runs

1
Trigger
Aggregate by supplier
2
Process
Rule engine
3
Action
inventory-system
4
Notify
Alert & log
Inventory SystemGoogle SheetsGoogle DriveGmailX
Setup steps

Get started in 5 steps

  1. 1
    Connect Sheets and email

    Google Sheets PO tab, Google Docs template, Gmail, Google Calendar.

  2. 2
    Aggregate by supplier

    Combine approved lines per supplier into single PO document.

  3. 3
    Configure PO template

    Supplier address, terms, line table, total, delivery window.

  4. 4
    Set delivery reminders

    Calendar event for receiving team day before expected delivery.

  5. 5
    Test PO generation

    Three SKUs same supplier → one PDF, one supplier email.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Google Sheet IDtextNo
Sheet RangetextSheet1!A:ZNo
Gmail Search Querytextis:unreadNo
FAQ

Frequently asked questions

Minimum order qty?

Supplier MOQ in Sheets; workflow rounds up reorder suggestion.

Price changes?

Latest unit cost column on Sheets; alert if >10% vs last PO.

Multi-location POs?

Separate PO per location delivery address per supplier rules.

Cancel PO?

Sheets status `cancelled` sends supplier cancel email template.

Get started

Customize Auto Purchase Orders for your business

Our team can adapt this template to your exact workflow, apps, and brand requirements.