Shata Solutions
← Back to marketplace
Social Media Automation

AI Content Generator

Draft platform-native posts from a single topic brief using GPT-4o.

Automation overview

What this automation does

This automation starts when new row in Notion content queue or Slack `/content` command. It openai generate platform drafts and buffer queue scheduled posts, then meta Insights engagement data informs publish-time suggestions. AI handles generation and decision logic in the middle of the flow.

Trigger
New row in Notion content queue or Slack `/content` command
Main actions
OpenAI generate platform drafts → Buffer queue scheduled posts
Final outcome
Meta Insights engagement data informs publish-time suggestions
Execution time
30–90 seconds
Apps used
4 integrations
AI-powered
Yes
Difficulty
Intermediate
AIIntermediate
Workflow diagram

End-to-end scenario flow

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

Trigger
Notion
New content queue row
AI
OpenAI
Generate platform drafts
Step 2
Buffer
Queue scheduled posts
Result
Meta Insights
Track performance
Step-by-step

How each step runs

  1. 1
    NotionTrigger
    New content queue row

    Brief added to Notion content queue or Slack /content command

  2. 2
    OpenAI
    Generate platform drafts

    GPT-4o creates Instagram, LinkedIn, and X variants from brief

  3. 3
    Buffer
    Queue scheduled posts

    Save drafts to Buffer with character counts and publish windows

  4. 4
    Meta Insights
    Track performance

    Meta Insights engagement data informs publish-time suggestions

Apps used

Connected applications

Notion

Generates

OpenAI

Generates

Buffer

Saves

Meta Insights

Saves

Summary

Automation summary

Trigger
New row in Notion content queue or Slack `/content` command
Inputs
New row in Notion content queue or Slack `/content` command, Business Name, Notification Email, Timezone
Outputs
Meta Insights engagement data informs publish-time suggestions, OpenAI generate platform drafts, Buffer queue scheduled posts
Business goal
Automate ai content generator end-to-end with accurate app routing.
Execution frequency
Real-time on event
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
Notion, OpenAI, Buffer, Meta Insights, AI provider API
Benefits

Why use this automation?

Save ~12 hours/week

Remove repetitive steps from AI Content Generator 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

  • Notion
  • OpenAI
  • Buffer
  • Meta Insights

Required accounts

  • Active Notion workspace with API access
  • Active OpenAI workspace with API access
  • Active Buffer workspace with API access
  • Active Meta Insights 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

  • 15 min including app authorization and test run
  • Difficulty: Intermediate

Optional apps

  • Slack (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: ~10 min

Required connections

  • Notion(required)
    PreviewNotion: workflow actions run in preview
    Missing
  • OpenAI(required)
    Missing
  • buffer(required)
    Previewbuffer: workflow actions run in preview
    Missing
  • Missing connection: Notion
  • Missing connection: OpenAI
  • Missing connection: buffer
Manage all connections →View all installations →

Workflow summary

Trigger
New row in Notion content queue or Slack `/content` command
Steps
4 nodes
Required apps
3
Optional apps
1

Trigger

New row 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.

FeaturedAIFreeIntermediatePartial15 min setup4.24.9k installs · 490 reviews
Customize for My Business
Analytics

Template performance

34.1k
Views
4.9k
Installs
810
Favorites
4.2
Avg rating
14.3%
Conversion
15 min
Setup time
92%
Success rate
90
Trending score
Most used integrations
NotionOpenAIBuffer

When you add a row to your Notion content queue or submit a brief via Slack `/content`, OpenAI generates three variants per platform—Instagram carousel hooks, LinkedIn thought-leadership angles, and X punch lines—then saves drafts to Buffer with character counts and suggested publish windows based on your historical engagement from Meta Insights.

Some steps run in preview until their integrations go live.

Required apps
NotionPreviewOpenAILiveBufferPreview
Optional apps
Meta (Facebook & Instagram)Preview
All integrations
NotionOpenAIBufferMeta (Facebook & Instagram)
Workflow preview

How AI Content Generator runs

1
Trigger
Define brand voice matrix
2
Process
AI decision layer
3
Action
notion
4
Notify
Alert & log
NotionOpenaiBufferMeta Facebook Instagram
Setup steps

Get started in 5 steps

  1. 1
    Connect content sources

    Authorize Notion, Slack, OpenAI, Buffer, and Meta Business Suite. Map your content queue database and pick the Slack channel for brief submissions.

  2. 2
    Define brand voice matrix

    Upload 5–10 example posts per platform. The workflow extracts tone markers—sentence length, emoji usage, CTA style—and stores them as persistent prompt context.

  3. 3
    Configure platform rules

    Set max lengths, hashtag caps, and carousel slide counts. Enable Arabic/English dual output if your audience spans both.

  4. 4
    Set approval routing

    Choose auto-queue vs. human review. Reviewers get a Slack preview with side-by-side variants before anything lands in Buffer.

  5. 5
    Activate generation loop

    Submit a test brief. Confirm drafts appear in Buffer with correct tags and that Meta Insights publish-time suggestions populate.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Brand VoiceselectProfessionalNo
AI prompt

System prompt template

You are a senior social media strategist for {brand}. Given a topic brief, produce platform-native post variants that match the stored voice profiles. Prioritize scroll-stopping hooks, one clear CTA per post, and zero generic filler. Output JSON with fields: platform, hook, body, cta, hashtags.
FAQ

Frequently asked questions

Can it match different voices per platform?

Yes. Each platform prompt uses a separate voice profile derived from your examples, so LinkedIn stays professional while Instagram stays conversational.

Does it pull images or only text?

Text only by default. Pair with Thumbnail Generator or AI Image Prompt Generator for visual assets.

How many variants per brief?

Three per enabled platform. You can reduce to one for faster throughput.

What if a draft exceeds character limits?

The workflow auto-truncates with an ellipsis and flags the draft in Slack for manual tweak before scheduling.

Get started

Customize AI Content Generator for your business

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