Shata Solutions
← Back to marketplace
Restaurant Automation

Loyalty Campaigns

Trigger points bonuses and reward notifications based on visit frequency and spend tiers.

Automation overview

What this automation does

This automation starts when shata loyalty points event or visit milestone webhook. It airtable sends, whatsapp sends, x (twitter) sends, and klaviyo sends, then checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr. AI handles generation and decision logic in the middle of the flow.

Trigger
Shata loyalty points event or visit milestone webhook
Main actions
Airtable sends → WhatsApp sends …
Final outcome
checks active campaigns in Airtable, applies bonus points multiplier, sends What…
Execution time
1–3 minutes
Apps used
5 integrations
AI-powered
Yes
Difficulty
Beginner
AIBeginner
Workflow diagram

End-to-end scenario flow

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

Trigger
Webhooks
Webhook received
Step 1
Airtable
Sends
Step 2
WhatsApp
Sends
Step 3
X (Twitter)
Sends
Step 4
Klaviyo
Sends
Result
Klaviyo
Workflow complete
Step-by-step

How each step runs

  1. 1
    WebhooksTrigger
    Webhook received

    Shata loyalty points event or visit milestone webhook

  2. 2
    Airtable
    Sends

    checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr

  3. 3
    WhatsApp
    Sends

    checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr

  4. 4
    X (Twitter)
    Sends

    checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr

  5. 5
    Klaviyo
    Sends

    checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr

  6. 6
    Klaviyo
    Workflow complete

    checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr

Apps used

Connected applications

Webhooks

Process via Webhooks

Airtable

Sends

WhatsApp

Sends

X (Twitter)

Sends

Klaviyo

Sends

Summary

Automation summary

Trigger
Shata loyalty points event or visit milestone webhook
Inputs
Shata loyalty points event or visit milestone webhook, Business Name, Notification Email, Timezone
Outputs
checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enr, X (Twitter) sends, Klaviyo sends
Business goal
Automate loyalty campaigns end-to-end with accurate app routing.
Execution frequency
Real-time on event
Estimated runtime
1–3 minutes
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
Webhooks, Airtable, WhatsApp, AI provider API
Benefits

Why use this automation?

Save ~2 hours/week

Remove repetitive steps from Loyalty Campaigns 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.

Requirements

What you need to get started

Required apps

  • Webhooks
  • Airtable
  • WhatsApp

Required accounts

  • Active Webhooks workspace with API access
  • Active Airtable workspace with API access
  • Active WhatsApp workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OpenAI or compatible AI provider API key
  • 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)
  • Permission to send prompts to your AI provider

Estimated setup time

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

Optional apps

  • X (Twitter) (optional)
  • Klaviyo (optional)

Automation runtime

Activate this template

PreviewSome 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: ~13 min

Required connections

  • webhooks(required)
    Previewwebhooks: workflow actions run in preview
    Missing
  • Airtable(required)
    PreviewAirtable: workflow actions run in preview
    Missing
  • WhatsApp (Twilio)(required)
    PreviewWhatsApp (Twilio): workflow actions run in preview
    Missing
  • x(required)
    Previewx: workflow actions run in preview
    Missing
  • Missing connection: webhooks
  • Missing connection: Airtable
  • Missing connection: WhatsApp (Twilio)
  • Missing connection: x
Manage all connections →View all installations →

Workflow summary

Trigger
Shata loyalty points event or visit milestone webhook
Steps
6 nodes
Required apps
4
Optional apps
1

Trigger

Webhook 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.

AIFreeBeginnerPreview45 min setup4.74.3k installs · 307 reviews
Customize for My Business
Analytics

Template performance

32.6k
Views
4.3k
Installs
532
Favorites
4.7
Avg rating
13.2%
Conversion
45 min
Setup time
95%
Success rate
109
Trending score
Most used integrations
WebhooksAirtableWhatsApp

Shata loyalty webhook on points balance change or visit milestone—5th visit, 500 points—checks active campaigns in Airtable, applies bonus points multiplier, sends WhatsApp reward message with redeem instructions, updates CRM guest profile, and enrolls VIP tier guests in exclusive offer Mailchimp micro-campaign.

Some steps run in preview until their integrations go live.

Required apps
WebhooksPreviewAirtablePreviewWhatsAppPreviewX (Twitter)Preview
Optional apps
MailchimpPreview
All integrations
WebhooksAirtableWhatsAppX (Twitter)Mailchimp
Workflow preview

How Loyalty Campaigns runs

1
Trigger
Define campaign rules
2
Process
AI decision layer
3
Action
webhooks
4
Notify
Alert & log
WebhooksAirtableWhatsappXMailchimp
Setup steps

Get started in 5 steps

  1. 1
    Connect loyalty platform

    Shata loyalty API, Airtable campaigns, Twilio WhatsApp, Mailchimp, Slack.

  2. 2
    Define campaign rules

    Visit count, spend threshold, birthday month, double-points days.

  3. 3
    Configure reward messages

    WhatsApp template per campaign with points balance and expiry.

  4. 4
    Set tier enrollment

    Gold tier threshold auto-tags guest and triggers VIP email series.

  5. 5
    Test milestone path

    Simulate 5th visit; verify bonus points and message delivery.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Brand VoiceselectProfessionalNo
FAQ

Frequently asked questions

Stacking campaigns?

Highest single multiplier wins; no double-stack by default.

Expired points?

30-day expiry warning WhatsApp sent automatically before forfeiture.

Staff fraud?

Same-day 3+ point grants same phone flags manager review.

Integration with POS discount?

Redeem at checkout via loyalty API code returned in WhatsApp.

Get started

Customize Loyalty Campaigns for your business

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