Back-in-Stock Post and Waitlist Alert
Every 30 minutes it compares your store's stock with the last check. When products come back in stock it posts a fixed-wording Arabic and English message on Instagram (no AI writing), and sends a WhatsApp message to each customer on your waiting list for those products.
Steps in this flow
- Every 30 minutes, 8:00 to 22:30
- Read the stop switch
- Posting paused?
- Log: paused, nothing posted
- Publishing settings
- Salla: list products
- Read the last stock check
- Find products back in stock
- Save this stock check
- Anything back in stock?
- Google Sheets: waiting customers
- For each waiting customer
- Is their product back?
- WhatsApp: tell the customer
- Google Sheets: mark as notified
- Is there a product picture?
- Safety check on the text
- Passed the safety check?
- Log: blocked by the safety check
- Auto-post turned on?
- Approve the back-in-stock post
- Instagram: create the media container
- Instagram: publish the post