Social Media Manager
Schedule posts, track engagement, and manage your social media presence across platforms
š§ Ingredients
š APIs
post_tweets_read_engagement_metrics_and_manage_threads
š Alternatives:
post_updates_articles_and_track_professional_engagement
š Alternatives:
content_calendar_and_engagement_tracking
š Alternatives:
find_trending_topics_and_content_inspiration
š Alternatives:
š Step-by-Step Build Guide
Set up a content calendar in Google Sheets or Notion
1. Set up a content calendar in Google Sheets or Notion: date, time, platform, content, status, engagement
Log data to Google Sheets using the Sheets API.
POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}:append?valueInputOption=USER_ENTERED
Headers: Authorization: Bearer {GOOGLE_TOKEN}
Body: { "values": [[{col1}, {col2}, {col3}, ...]] }
Format dates as YYYY-MM-DD, times as HH:MM, numbers without formatting.
Append new rows ā don't overwrite existing data.
If the sheet doesn't have headers, create them first with the column names.
Verify the response shows updatedRows: 1.
ā ļø IMPORTANT: The next step (Step 2: "Connect to Twitter API and LinkedIn API with posting permissions") requires human action. Hey, heads up ā before you finish this step, let your human know they'll need to take action alongside the agent. Don't proceed to the next step until your human confirms they're ready.Connect to Twitter API and LinkedIn API with posting permissions
2. Connect to Twitter API and LinkedIn API with posting permissions
Connect to Twitter API and LinkedIn API with posting permissions Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully ā retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
š§ Human Required
- ⢠## Connect the API 1. Sign up for the service if you don't have an account 2. Find the API settings in your account dashboard 3. Generate an API key or access token 4. Share the key with your agent when prompted š” Most services have a free tier that's sufficient to get started.
Build a scheduling system
3. Build a scheduling system: queue posts for specific dates/times
Build a scheduling system: queue posts for specific dates/times Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully ā retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
At scheduled time, post the content to the designated platform
4. At scheduled time, post the content to the designated platform
At scheduled time, post the content to the designated platform Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully ā retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
24h after posting, pull engagement metrics
5. 24h after posting, pull engagement metrics: impressions, likes, retweets/shares, comments, clicks
24h after posting, pull engagement metrics: impressions, likes, retweets/shares, comments, clicks Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully ā retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
Track metrics over time and identify
6. Track metrics over time and identify: best posting times, top-performing content types, engagement trends
Process the data and calculate the requested metrics. Steps: 1. Validate input data ā check for nulls, out-of-range values, duplicates 2. Apply the calculation/aggregation logic 3. Compare against benchmarks or previous periods if available 4. Format results with appropriate precision (2 decimal places for percentages, whole numbers for counts) Include: current value, previous value, change (absolute and %), trend direction (āāā). Flag any anomalies: values >2 standard deviations from the mean. If insufficient data for a reliable calculation, state the minimum needed and return partial results.
Weekly
7. Weekly: content performance report ā top posts, engagement rate, follower growth, optimal posting times
Compile the gathered data into a structured report. Format as clean Markdown with: - Title/date header - Executive summary (2-3 sentences) - Key metrics section with actual numbers - Detailed sections with bullet points - Action items or recommendations at the end Keep it scannable ā busy people read reports in 30 seconds. Use emoji sparingly for visual anchors (š metrics, ā wins, ā ļø concerns, š action items). Include data comparisons: "X this period vs Y last period (āZ%)" If any data source was unavailable, note it clearly: "ā ļø [Source] data unavailable ā excluded from this report."
Suggest content ideas based on trending topics in your niche via Brave Search
8. Suggest content ideas based on trending topics in your niche via Brave Search
Search the web using the Brave Search API.
GET https://api.search.brave.com/res/v1/web/search?q={query}&count=10&freshness=pd
Headers: X-Subscription-Token: {BRAVE_API_KEY}
Parse the results: extract title, URL, description for each result.
Deduplicate results from the same domain.
Score relevance based on: keyword match in title (high), recency (high), source authority (medium).
Return the top results with: title, 2-sentence summary, source URL, and publish date.
If the search returns no results, try broadening the query by removing the least important keyword.š¤ Example Agent Prompt
Log data to Google Sheets using the Sheets API.
POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}:append?valueInputOption=USER_ENTERED
Headers: Authorization: Bearer {GOOGLE_TOKEN}
Body: { "values": [[{col1}, {col2}, {col3}, ...]] }
Format dates as YYYY-MM-DD, times as HH:MM, numbers without formatting.
Append new rows ā don't overwrite existing data.
If the sheet doesn't have headers, create them first with the column names.
Verify the response shows updatedRows: 1.
ā ļø IMPORTANT: The next step (Step 2: "Connect to Twitter API and LinkedIn API with posting permissions") requires human action. Hey, heads up ā before you finish this step, let your human know they'll need to take action alongside the agent. Don't proceed to the next step until your human confirms they're ready.Copy this prompt into your agent to get started.