Shata Solutions
← Back to marketplace
Productivity

Gmail Assistant

Triage inbox, draft replies, and apply labels using your communication patterns.

Automation overview

What this automation does

This automation starts when gmail new message push notification. It x (twitter) drafts and slack drafts, then applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes s. AI handles generation and decision logic in the middle of the flow.

Trigger
Gmail new message push notification
Main actions
X (Twitter) drafts → Slack drafts
Final outcome
applies user label set, drafts replies for action items using sent-mail tone mod…
Execution time
30–90 seconds
Apps used
3 integrations
AI-powered
Yes
Difficulty
Advanced
AIAdvanced
Workflow diagram

End-to-end scenario flow

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

Trigger
Gmail
Incoming message
Step 1
X (Twitter)
Drafts
Step 2
Slack
Drafts
Result
Slack
Workflow complete
Step-by-step

How each step runs

  1. 1
    GmailTrigger
    Incoming message

    Gmail new message push notification

  2. 2
    X (Twitter)
    Drafts

    applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes s

  3. 3
    Slack
    Drafts

    applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes s

  4. 4
    Slack
    Workflow complete

    applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes s

Apps used

Connected applications

Gmail

Watch

X (Twitter)

Drafts

Slack

Drafts

Summary

Automation summary

Trigger
Gmail new message push notification
Inputs
Gmail new message push notification, Business Name, Notification Email, Timezone
Outputs
applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes s, X (Twitter) drafts, Slack drafts
Business goal
Automate gmail assistant end-to-end with accurate app routing.
Execution frequency
On demand with batch fallback
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
Gmail, X (Twitter), Slack, AI provider API
Benefits

Why use this automation?

Save ~13 hours/week

Remove repetitive steps from Gmail Assistant 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

  • Gmail
  • X (Twitter)
  • Slack

Required accounts

  • Active Gmail workspace with API access
  • Active X (Twitter) workspace with API access
  • Active Slack 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

  • 30 min including app authorization and test run
  • Difficulty: Advanced

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: ~6 min

Required connections

  • Gmail(required)
    Missing
  • x(required)
    Previewx: workflow actions run in preview
    Missing
  • Missing connection: Gmail
  • Missing connection: x
Manage all connections →View all installations →

Workflow summary

Trigger
Gmail new message push notification
Steps
4 nodes
Required apps
2
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.

FeaturedAIFreeAdvancedPartial30 min setup4.66.8k installs · 326 reviews
Customize for My Business
Analytics

Template performance

16.0k
Views
6.8k
Installs
299
Favorites
4.6
Avg rating
42.7%
Conversion
30 min
Setup time
97%
Success rate
85
Trending score
Most used integrations
GmailX (Twitter)Slack

Gmail watch API push on new mail runs classification—action, waiting, FYI, newsletter—applies user label set, drafts replies for action items using sent-mail tone model, snoozes waiting threads until date extracted from email body, unsubscribes safe newsletters to archive, morning Slack digest of true action count.

Some steps run in preview until their integrations go live.

Required apps
GmailLiveX (Twitter)Preview
Optional apps
SlackLive
All integrations
GmailX (Twitter)Slack
Workflow preview

How Gmail Assistant runs

1
Trigger
Train from sent mail
2
Process
AI decision layer
3
Action
gmail
4
Notify
Alert & log
GmailXSlack
Setup steps

Get started in 5 steps

  1. 1
    Connect Gmail automation

    Gmail API watch, labels, drafts, OpenAI classify and draft, Slack digest.

  2. 2
    Train from sent mail

    Analyze 100 sent emails for greeting length sign-off formality.

  3. 3
    Configure label taxonomy

    Action, waiting, FYI, newsletter, receipts—customizable.

  4. 4
    Enable draft mode

    Drafts only never auto-send; max 10 drafts per hour cap.

  5. 5
    Run shadow week

    Log proposed labels in Sheet before applying live.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Brand VoiceselectProfessionalNo
Slack Channeltext#generalNo
Gmail Search Querytextis:unreadNo
FAQ

Frequently asked questions

Shared inbox?

Delegate mailbox supported with team label conventions.

VIP senders?

Always label action and notify Slack immediately.

Arabic email?

Classify and draft in Arabic when thread Arabic.

Legal privilege?

Attorney-client label excluded from AI processing.

Get started

Customize Gmail Assistant for your business

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