Skip to content

Social Post Workflow

The social post workflow handles scheduling and tracking social media posts across multiple platforms via Ayrshare integration.

Overview

Supported Platforms

Step-by-Step Flow

1. Create SocialPost

2. Post is Published

Ayrshare automatically publishes at the scheduled time:

3. Analytics Collection

Every 6 hours, the Bridge collects performance data:

SocialPost States

StatusDescriptionWhat Happens
DraftWork in progressNot sent to Ayrshare
ScheduledReady to publishSent to Ayrshare, waiting
PublishedLive on platformAnalytics being collected
FailedError occurredCheck error field

Post Types

TypePurposeExample
PromoAnnounce new content"New episode dropping tomorrow!"
ReminderRemind about upcoming"Going live in 1 hour!"
ClipShare video clipShort clip with caption
Episode LinkLink to full content"Watch the full episode: [link]"
QuoteQuotable momentPull quote from episode
Behind ScenesBTS contentStudio photos, outtakes

Linking to Content

SocialPosts can be linked to ContentProduction for tracking:

Deleting/Canceling Posts

When a SocialPost is deleted, the Bridge cancels it in Ayrshare:

Multi-Platform Posting

Post the same content to multiple platforms:

Analytics Tracking

Metrics Collected

MetricDescription
ImpressionsTimes post was shown
LikesLike/favorite count
CommentsComment count
SharesRetweet/share count
ClicksLink clicks
Engagement RateInteractions / Impressions

Data Flow

API Operations

Schedule a Post

http
POST /ayrshare/schedule
Content-Type: application/json

{
  "post": "Check out our latest episode! 🎙️",
  "platforms": ["twitter", "facebook"],
  "scheduleDate": "2026-02-10T15:00:00.000Z",
  "mediaUrls": ["https://example.com/image.jpg"]
}

Get Post History

http
GET /ayrshare/history?limit=50

Get Analytics

http
GET /ayrshare/analytics?platform=twitter&postId=ayr_123

Delete/Cancel Post

http
POST /ayrshare/delete
Content-Type: application/json

{
  "id": "ayr_123"
}

Best Practices

Schedule in Advance

Schedule posts at least 10 minutes in advance to ensure reliable delivery.

Use Platform-Specific Content

Different platforms have different optimal content. Customize for each.

Character Limits

  • X/Twitter: 280 characters
  • Facebook: 63,206 characters
  • LinkedIn: 3,000 characters
  • Instagram: 2,200 characters

Track Performance

Use Grafana dashboards to identify your best-performing content types and times.

MediaMagic CRM Documentation