Social Studio Next — Comprehensive User & Administrator Guide
Version: 1.23.0 Namespace: rissnext
API Version: v65.0 Package Type: Second-Generation Managed Package (2GP)
Table of Contents
- Part 1: Application Overview
- Part 2: Getting Started
- Part 3: End-User Feature Guides
- Part 4: Administrator Configuration Guide
- Part 5: Data Cloud Configuration for Social Listening
- Part 6: Data Model Reference
- Part 7: Troubleshooting
Part 1: Application Overview
What Is Social Studio Next?
Social Studio Next (SSN) is a Salesforce-native social media management platform that enables organizations to publish content, monitor brand conversations, engage with audiences, and analyze performance — all within the Salesforce ecosystem. It integrates deeply with Service Cloud for case management, Data Cloud for unified customer profiles, and Slack for team notifications.
Supported Platforms
| Platform | Publishing | Listening | Reply/DM | Analytics |
|---|---|---|---|---|
| X (Twitter) | Yes | Yes | Yes | Yes |
| Yes | Own Pages | Yes | Yes | |
| Yes | Hashtags (30/week) | Yes | Yes | |
| Yes | Own Pages | Yes | Yes | |
| TikTok | Yes (Video & Photo Posts) | No | No | Limited |
Key Capabilities
- Multi-Platform Publishing — Compose once, publish to multiple platforms simultaneously with platform-specific content variants
- Content Calendar — Visual month view of scheduled, pending, and published posts
- Approval Workflows — Multi-level approval chains with SLA tracking and auto-escalation
- Recurring Posts — Schedule daily, weekly, biweekly, or monthly recurring content
- Social Listening — Keyword-based brand monitoring, competitor tracking, and campaign monitoring
- Sentiment Analysis — Automated sentiment scoring, emotion detection, entity extraction, and crisis flagging
- Unified Inbox — Threaded conversation view for customer engagement across all platforms
- CRM Case Integration — Auto-create or manually create Service Cloud cases from social posts
- Analytics Dashboard — Engagement metrics, sentiment trends, share of voice, and platform comparisons
- Crisis Detection — Automated alerts and case creation when negative sentiment or crisis keywords are detected
- Data Cloud Integration — Unified customer profiles linking social authors to CRM contacts via the Ingestion API
- Slack Notifications — Real-time alerts for approvals, crisis events, and publishing status
- Digital Asset Management — Browse Salesforce Files (ContentVersion) directly from the post composer
- Influencer Flagging — Flag social authors as influencers for prioritized engagement and tracking
- Conversation Archiving — Archive resolved conversations in the Inbox to keep the workspace focused
- Data Privacy — PII redaction and GDPR right-to-erasure processing
Part 2: Getting Started
Permission Sets & Roles
Social Studio Next includes four permission sets that control access to features and data. Assign the appropriate permission set to each user based on their role.
SSN_Admin
Audience: System administrators, social media directors
| Capability | Access |
|---|---|
| All objects | Full CRUD + ViewAll + ModifyAll |
| OAuth & account management | Full access |
| Approval chain configuration | Full access |
| Analytics | Full access |
| Listening topics | Full access |
| Notification preferences | Full access |
⚠️ You must also grant “View Encrypted Data” yourself. Salesforce does not allow a managed package to grant this permission, so no SSN permission set can include it — it is stripped when the package is built. Without it, OAuth client secrets are unreadable and every social connection fails. This is a mandatory, one-time setup step. See “View Encrypted Data” permission (required) in Part 4.
SSN_Manager
Audience: Social media managers, content strategists, team leads
| Capability | Access |
|---|---|
| Authored posts | Create, Read, Update, Delete |
| Social posts | Read only |
| Listening topics | Create, Read, Update, Delete |
| Social accounts | Read only |
| Social authors | Read, Update (link to contacts) |
| Approval chains | Read only |
| Analytics | Full access |
SSN_Creator
Audience: Content creators, copywriters, designers
| Capability | Access |
|---|---|
| Authored posts | Create, Read, Update, Delete (own only) |
| Post media | Create, Read, Update, Delete (own only) |
| Social posts | Read only |
| Listening topics | Read only |
| Analytics | Limited |
SSN_Agent
Audience: Customer service representatives, social support agents
| Capability | Access |
|---|---|
| Social posts | Read only |
| Inbox conversations | Read, Reply |
| Cases | Create, Read, Update |
| Social authors | Read only |
| Authored posts | Read only |
Application Navigation
After installation, the Social Command Center Lightning app appears in the App Launcher. It contains these tabs:
| Tab | Description | Roles |
|---|---|---|
| Dashboard | KPI summary, sentiment trends, volume charts, trending topics | All |
| Publishing | Post composer, content calendar, post queue, Approvals sub-tab, Approval Flow sub-tab | Admin, Manager, Creator |
| Listening | Topic management, social feed, crisis alerts | Admin, Manager, Agent |
| Inbox | Threaded conversations, reply composer | Admin, Agent |
| Analytics | Engagement metrics, share of voice, competitor benchmarks | Admin, Manager |
| Settings | Account management, OAuth, topics, notifications, Data Cloud | Admin |
Dashboard Overview
The Dashboard provides a real-time snapshot of your social media performance:
- KPI Cards — Total Posts, Total Engagement (likes + shares + comments), Average Sentiment Score, Active Listening Topics. Each card shows a trend comparison vs the previous period (e.g., “+8.3% vs prev period”).
- Actionable Cards — Unanswered Messages, Pending Approvals, Negative Mentions, Scheduled Posts, Drafts, Failed Posts. Clicking any card navigates to the relevant tab with pre-applied filters.
- Sentiment Trend Chart — Line chart showing sentiment over time (powered by Chart.js)
- Volume by Platform — Bar chart showing post volume per platform
- Trending Topics — Top 10 topics by post volume
Date Range Filters: Last 24 Hours, Last 7 Days, Last 30 Days, Last 60 Days, Last 90 Days, Custom Range (with start/end date pickers)
Part 3: End-User Feature Guides
3.1 Publishing
Creating a New Post
- Navigate to the Publishing tab
- Click New Post to open the Post Composer
- Write your content in the main text area
- A real-time character counter shows remaining characters per platform
- Content is validated against each platform’s limits (e.g., 280 for X/Twitter)
- Select Target Platforms — check one or more: X/Twitter, Facebook, Instagram, LinkedIn, TikTok
Content Variants
For platform-specific messaging, use Content Variants:
- After selecting multiple platforms, click Add Variant for any platform
- Write alternate content for that platform
- Each platform will receive its variant instead of the main content
- Variants are stored as JSON in the
Content_Variants__cfield
Media Uploads
- Click Upload Media or drag-and-drop files into the media area
- Alternatively, click Browse Files to open the DAM Browser and select from Salesforce Files
- Add Alt Text for accessibility (recommended for all images)
- Reorder media items via drag-and-drop for carousel posts
Platform Media Constraints:
| Platform | Max Images | Max Video Size | Max Video Duration | Formats |
|---|---|---|---|---|
| X/Twitter | 4 | 512 MB | 140 sec | JPEG, PNG, GIF, MP4 |
| 10 | 10 GB | 4 hours | JPEG, PNG, GIF, MP4, MOV | |
| 10 | 10 GB | 900 sec (reels, 15 min); publish rate 100/24hr | JPEG, PNG, MP4 | |
| 20 | 10 GB | 1800 sec | JPEG, PNG, MP4 | |
| TikTok | 35 (photo posts: JPEG/WebP) | 287.6 MB | — | MP4, JPEG, WebP |
Scheduling Posts
- Publish Now — Post is published immediately upon approval (or immediately if no approval chain)
- Schedule — Select a future date and time; the post enters the publishing queue and is published at the scheduled time by the
PostPublishSchedulablebatch job
Recurring Posts
- Toggle Is Recurring on in the composer sidebar
- Select a Pattern: Daily, Weekly, Biweekly, or Monthly
- For Weekly/Biweekly: select a Day of Week
- For Monthly: select a Day of Month (1-28)
- Set an End Date for the recurrence
- On first publish, the system automatically clones the post for the next occurrence
The recurrence rule is stored as JSON:
{
"pattern": "weekly",
"endDate": "2026-12-31",
"dayOfWeek": "MON"
}
UTM Parameters
- Expand the UTM Parameters section in the composer
- Fill in: Campaign, Source, Medium, Content, Term
- The system automatically appends UTM parameters to all URLs found in your post content
- If Bitly integration is configured, URLs are also shortened
First Comment Strategy (Instagram/Facebook)
- When Instagram or Facebook is selected as a target platform, a First Comment field appears
- Enter hashtags or supplementary content
- After the main post is published, the system automatically posts the first comment as a reply
- This is a common Instagram strategy to keep captions clean while maximizing hashtag reach
Post Queue
The Post Queue lists all authored posts with a status filter dropdown to narrow results: All, Scheduled, Approved, Pending Approval, Draft, or Failed.
Content Calendar
The Content Calendar provides a visual view of all posts with Month, Week, and Day view toggle buttons:
- Color coding by status: Draft (gray), Pending Approval (yellow), Approved (blue), Scheduled (purple), Published (green), Failed (red)
- Recurring indicator — Posts with
Is_Recurring__c = trueshow a recurring icon - Times display in 12-hour AM/PM format
- Click any post to open it in the composer for editing
- Navigate between periods using arrow controls; use the Today button for quick navigation to the current date
3.2 Approval Workflows
Submitting a Post for Approval
- Save your post as a Draft
- Click Submit for Approval
- The post status changes to Pending Approval
- The Level 1 approver is notified (email, in-app, and/or Slack based on preferences)
Reviewing & Approving Posts (Managers)
- Navigate to Publishing > Approvals
- View the queue of pending posts
- Click a post to see the full preview (content, media, target platforms)
- Click Approve to advance the post or Reject with a reason
- Approved posts move to Scheduled (if a schedule date is set) or Approved (ready for immediate publish)
Multi-Level Approval
Approval chains support up to 3 levels:
- Level 1 — Initial review (e.g., content manager)
- Level 2 — Secondary review (e.g., brand director)
- Level 3 — Final review (e.g., VP, conditionally required)
Each level has a configurable SLA (hours). If the SLA is exceeded and auto-escalation is enabled, the post escalates to the next approver or the designated escalation user.
Configuring Approval Chains
Approval chain configuration is now done in-app via Publishing > Approval Flow:
- Navigate to Publishing > Approval Flow
- For each approval level, select an approver from the dropdown of active users (no raw User IDs required)
- Set the SLA hours and auto-escalation preferences
- Click Save to apply the chain
Rejection Flow
- Approver clicks Reject
- A confirmation modal appears prompting the approver to enter a rejection reason and confirm
- Post status reverts to Draft
- Creator is notified of the rejection with the reason
- Creator edits the post and resubmits
3.3 Social Listening
Creating a Listening Topic
A topic is required. Nothing is ingested unless an active Listening Topic lists the platform. If you have no topics, the Inbox stays empty no matter how many accounts you connect.
- Navigate to Settings > Listening Topics (Managers/Admins)
- Click New Topic
- Configure:
- Topic Name — Descriptive name (e.g., “Brand Mentions”, “Competitor XYZ”, “#SummerCampaign”)
- Topic Type — Brand Monitoring, Competitor, Campaign, Crisis, or Industry
- Monitor Account — Optional. Scope this topic to one connected account (e.g. a single Facebook Page), so you can run different listening configurations for different pages or handles on the same platform. Leave as All accounts on the selected platforms to monitor every connected account.
- Keywords — One per line (commas also work). Used by X and Instagram only — see the table below.
- Exclude Keywords — Posts containing these are skipped
- Platforms — Which platforms this topic polls
- Filter Inbox By Sentiment — Off by default. See “Filtering the Inbox by sentiment” below.
- Sentiment Threshold — Score from −1 (very negative) to 1 (very positive)
- Languages / Geo Filters — Optional (Geo is X only)
- Volume Spike Threshold — Posts per hour that triggers a spike alert
- Alert on Crisis — Enable crisis alerting for this topic
- Is Active — Toggle monitoring on/off
- Click Save
What keywords actually do (this varies by platform)
This is the most common setup mistake. Facebook and LinkedIn have no public keyword-search API, so on those platforms your keywords are ignored — selecting the platform simply switches on monitoring of your own Page/organization posts and the comments people leave on them.
| Platform | Are keywords used? | What the topic monitors |
|---|---|---|
| X (Twitter) | Yes — they become a search query | Recent public posts matching your keywords |
| Partly — single words become hashtags (phrases skipped) | Posts tagging your account + hashtag matches | |
| No — ignored | Your Page’s posts and the comments on them | |
| No — ignored | Your organization’s posts and the comments on them | |
| TikTok | No | Nothing — TikTok offers no commercial listening API |
The topic modal has a “How does each platform use this topic?” link that shows the same summary in-app.
Filtering the Inbox by sentiment
By default every post a topic finds appears in the Inbox. Turn on Filter Inbox By Sentiment to surface only negative or at-risk conversations: only posts scoring at or below the Sentiment Threshold reach the Inbox.
This gates the Inbox only — Cases, crisis alerts, and analytics still evaluate every post, so enabling it can never cause you to miss an escalation.
Because a neutral post scores exactly 0, choose the threshold carefully:
| Threshold | What reaches the Inbox |
|---|---|
0 | Neutral and negative posts (drops only praise) — a good default |
-0.2 | Only clearly negative posts |
-0.6 | Only strongly negative posts |
Warning: Sentiment is scored by keyword matching, which cannot read negation or sarcasm, and an ordinary comment scores exactly 0. Setting a negative threshold therefore drops most normal comments — including genuine customer questions. Start at 0, and leave the filter off unless you specifically want to suppress praise.
Turning On Ingestion
Listening topics define what to monitor; a background job does the actual fetching and files results into the Inbox and Listening feed. Turn it on from the Inbox toolbar:
- Enable Hourly Sync — schedules the ingestion job to poll your active topics every hour. New installs attempt to schedule this automatically; if the Inbox is empty and the status reads “Hourly sync off,” click this once.
- Sync now — runs a fetch immediately so you don’t have to wait for the top of the hour.
The toolbar shows the schedule state, the next run, and the last run’s status.
What Each Platform Can Monitor
Each platform’s API limits what can be pulled in. The Inbox’s “What shows in the Inbox?” panel summarizes the same information in-app:
| Platform | What the Inbox surfaces | Not available |
|---|---|---|
| Your organization’s own posts and their comments | Direct messages; organic posts made outside the app | |
| Your Page’s posts and the incoming comments on them | Page direct messages (Messenger) | |
| Posts that tag your account, plus hashtag matches from your topics (hashtag search is limited to ~30 tags / 7 days) | Direct messages | |
| X (Twitter) | Keyword and mention search from your topics | Requires an API tier that permits recent search |
| TikTok | — | No commercial listening API for comments/mentions |
Viewing the Social Feed
- Navigate to the Listening tab (can also be reached from the Dashboard by clicking the Negative Mentions actionable card, which pre-applies a negative sentiment filter)
- Use filters to narrow results:
- Topic — Select a specific listening topic (changing topics auto-refreshes the feed)
- Platform — Filter by social network
- Sentiment — Filter by Positive, Negative, Neutral, or Mixed
- Date Range — Preset ranges or Custom date range with start/end date pickers
- Click Apply to refresh the feed with the selected filters
- Posts appear in reverse chronological order showing:
- Author handle and display name
- Post content
- Platform icon
- Sentiment badge (color-coded)
- Engagement metrics (likes, comments, shares)
- Click any post for the detail view:
- Full content and metadata
- Sentiment analysis breakdown (score, confidence, emotions, topics, entities)
- Author profile (influence score, interaction history)
- Conversation thread (if threaded)
- Related CRM case (if one exists)
- Quick Actions: Reply (opens reply modal), Assign to Agent (user dropdown), Create Case, View Original
Crisis Detection
When the sentiment engine flags a post as a crisis:
- The Crisis_Alert_Event__e platform event is published
- Slack notification is sent to the configured crisis channel
- A Case is automatically created (if threshold is configured with
action_type = 'create_case') - Crisis posts appear with a red badge in the Listening feed
3.4 Inbox & Conversations
Inbox Toolbar
The top of the Inbox has controls for keeping conversations current:
- Sync now — fetches new activity from your connected platforms immediately.
- Enable / Disable Hourly Sync — schedules (or stops) the hourly background ingestion, with the next-run and last-run status shown alongside.
- What shows in the Inbox? — expands the platform-coverage panel (see What Each Platform Can Monitor).
If the Inbox is empty, confirm you have at least one active Listening Topic and that Hourly Sync is on (or click Sync now). Remember that some content is not retrievable by design — e.g. LinkedIn/Facebook direct messages.
Conversation List
- Navigate to the Inbox tab
- Conversations are grouped by author handle + platform
- Each conversation shows:
- Author avatar and handle
- Last message preview
- Timestamp of last activity
- Sentiment badge
- Unread indicator (if new messages)
- Archive button on each conversation archives all posts in that conversation (replaces the previous dismiss behavior)
- Show Archived toggle to view archived conversations
- Each archived conversation has an Unarchive button (undo icon) to restore it
Conversation Detail
- Click a conversation to open the detail view
- View the full thread (oldest to newest)
- See the Author Profile Card (right-justified, with properly sized sentiment and interaction stats):
- Influencer toggle — Flag as Influencer / remove flag directly on the card
- Average sentiment across interactions
- Total interaction count
- Linked CRM records (Contact, Lead, Account)
- If a Case exists, click the case link to navigate to it
- Assign to Case button creates or links a Service Cloud case to the conversation
Replying to Posts
- Scroll to the bottom of the conversation detail
- Type your reply in the Reply Composer
- Character counter shows platform-specific limits
- Click Send Reply
- The reply is posted to the platform in real-time
- If a Case is linked, the case is updated with
Response_Posted__c = true
Note: TikTok does not support API replies. Manual replies must be posted directly on TikTok.
Creating a Case from a Post
- In the Listening feed or Conversation detail, click Create Case
- A Case is created with:
- Subject auto-generated from post content
- Origin set to “Social Media”
- Priority based on sentiment severity
- Linked
Social_Post__candSocial_Author__c - Contact auto-resolved from author’s CRM links
- The case appears in the standard Cases tab for assignment and resolution
Replying to a Post from the Case
Service agents can respond to the customer without leaving the Case. Cases created from social posts carry a Social Context component showing the original post, its sentiment breakdown, the author’s history, and a reply box.
- Open the Case (Cases tab, or the Related Case link in the Inbox)
- Review the original post in the Social Context panel
- Type the response and click Send Reply
- The reply is posted to the platform as a comment/reply on the original post
- The Case is stamped with
Response_Posted__c = trueand the timestamp
The reply is sent from the account that owns the conversation. If you have several Pages or handles connected on one platform, SSN replies as the specific account the post was ingested from — not an arbitrary one.
Note: TikTok does not support API replies. Manual replies must be posted directly on TikTok.
3.5 Analytics
Dashboard Metrics
The Analytics tab provides comprehensive performance insights:
- KPI Metrics — Each metric displays a label and previous-period comparison:
- Total Posts — Count of published posts (e.g., “+12.5% vs prev period”)
- Total Impressions — Total impressions across all platforms with trend indicator
- Engagement Rate — (Total engagement / Total impressions) as a percentage with trend indicator
- Avg Sentiment — Mean sentiment score across analyzed posts with trend indicator
- Platform Breakdown — Engagement metrics broken down by platform using correct lowercase platform keys with friendly display labels (bar chart). Charts render properly on data change.
Sentiment Trends
A line chart showing sentiment over time, filterable by:
- Platform
- Date range
- Listening topic
Share of Voice
Shows true Share of Voice — Your Brand’s proportion vs competitors and industry:
- Posts are grouped by topic type: brand_monitoring, competitor, and industry
- Visual bar per row showing each group’s share
- Your Brand row is highlighted for quick identification
- Data table with exact counts and percentages
- Filter by date range
Competitor Benchmarking
Compare your brand’s performance against competitor topics, filtered to external/non-owned content only:
- Engagement metrics side-by-side
- Sentiment comparison
- Volume trends
Campaign Performance
When posts are linked to Salesforce Campaigns:
- View engagement metrics per campaign
- Track publishing success rates
- Measure campaign sentiment
Top Posts
A ranked list of your highest-performing posts based on total engagement, showing:
- Post content preview
- Platform
- Engagement metrics
- Sentiment score
Part 4: Administrator Configuration Guide
4.1 Initial Setup Checklist
| Step | Action | Details |
|---|---|---|
| 1 | Install package | Install Social Studio Next managed package from AppExchange or package install URL |
| 2 | Assign permission sets | Assign SSN_Admin, SSN_Manager, SSN_Creator, or SSN_Agent to users. Required for anyone who connects accounts or publishes — these permission sets grant access to the platform External Credentials the API callouts use |
| 3 | Grant “View Encrypted Data” | Create your own permission set with the View Encrypted Data system permission and assign it to whoever connects accounts and schedules jobs. Managed packages are not allowed to grant this, so no SSN permission set includes it. Without it Salesforce masks OAuth client secrets and every social connection fails with a misleading 401 (see Section 4.2) |
| 4 | Register platform apps | Create developer apps on each social platform (see Section 4.2) |
| 5 | Configure OAuth credentials | Add each platform’s Client ID/Secret to an OAuth App record (Settings → OAuth Apps). Credentials are read only from OAuth App records (encrypted), not from custom metadata |
| 6 | Enable Named Credential callouts | Setup → Named Credentials: enable callouts for each SSN_* credential (X, Facebook, Instagram, LinkedIn, TikTok). Managed-package Named Credentials install with callouts disabled by default; until enabled, that platform’s callouts fail with “Callout blocked for named credential.” |
| 7 | Connect social accounts | Use the Settings > Connected Accounts flow to OAuth-connect each brand account, then choose the organization/Page to post as |
| 8 | Create listening topics | Define keywords, platforms, and alert thresholds for monitoring |
| 9 | Verify scheduled jobs | Confirm the token-refresh and Inbox-ingestion jobs are scheduled (see Verify Scheduled Background Jobs); in the Inbox click Enable Hourly Sync to turn ingestion on |
| 10 | Configure approval chains | Set up multi-level approval workflows for content review |
| 11 | Configure Slack (optional) | Add Slack incoming webhook URLs to SSN_Slack_Config__mdt |
| 12 | Configure Data Cloud (optional) | Set up Ingestion API for unified profiles (see Part 5) |
| 13 | Enable Content Deliveries | Setup → Salesforce Files → General Settings (or Content Deliveries and Public Links): check “Content Deliveries” / “Enable content deliveries”. Required for publishing images and video: SSN publishes media by generating a public link that the social platform fetches, and that link cannot be created without this setting |
| 14 | Review sentiment thresholds | Activate/customize automated action thresholds |
4.2 OAuth & Social Account Setup
Platform Developer App Registration
Before connecting social accounts, you must register a developer application on each platform.
X (Twitter)
- Go to the X Developer Portal and create a Project and an App.
- Under User authentication settings, enable OAuth 2.0.
- Set Type of App to a confidential client — Web App, Automated App or Bot. A Native App / SPA is a public client with no secret and will not work with this integration.
- Set App permissions to Read and Write.
- Add the Callback URI / Redirect URL exactly:
https://{yourDomain}.my.salesforce.com/apex/rissnext__SSNOAuthCallback - From Keys and tokens, copy the OAuth 2.0 Client ID and Client Secret — not the OAuth 1.0a API Key / API Key Secret. Using the API Key Secret causes
Token exchange failed (401): "Missing valid authorization header"at connect time. - Scopes used:
tweet.read,tweet.write,users.read,media.write,offline.access,like.read,like.write.
Listening note: Reading mentions/keywords from X requires an X API access tier that permits recent search (/2/tweets/search/recent). The free tier does not include search, so the Inbox will show nothing for X on that tier.
Facebook & Instagram
- Go to developers.facebook.com
- Create a new App (type: Business)
- Add the Facebook Login product
- Add the Instagram Graph API product
- Set Valid OAuth Redirect URI:
https://{yourDomain}.my.salesforce.com/apex/rissnext__SSNOAuthCallback - Note the App ID and App Secret
- Required Facebook scopes:
pages_show_list,pages_read_engagement,pages_manage_posts,pages_manage_metadata,pages_manage_engagement,publish_video,read_insights - Required Instagram scopes:
instagram_basic,instagram_content_publish,instagram_manage_comments,instagram_manage_insights
Important: Instagram publishing requires publicly accessible media URLs. Media files behind authentication will fail.
- Go to linkedin.com/developers and create an App linked to the Company Page you will manage.
- Request access to the Community Management API product. Do not add other products (Sign In with LinkedIn / Advertising): the Community Management API is an exclusive product, and combining it with
openid/profilescopes causes anunauthorized_scope_errorat connect. - Add the Authorized Redirect URL exactly:
https://{yourDomain}.my.salesforce.com/apex/rissnext__SSNOAuthCallback - Copy the Client ID and Client Secret.
- Scopes used:
r_organization_social,w_organization_social,rw_organization_admin,w_member_social.rw_organization_adminis required so the app can list the organizations you administer when you choose which Page to post as.
Note: You must be an administrator of the LinkedIn organization to post as it. The Inbox surfaces your organization’s own posts and their comments — LinkedIn’s API does not expose direct messages or organic posts made outside the app.
TikTok
- Go to developers.tiktok.com
- Create a new App
- Apply for Content Posting API access
- Add the Redirect URI:
https://{yourDomain}.my.salesforce.com/apex/rissnext__SSNOAuthCallback - Note the Client Key (TikTok uses
client_keyinstead ofclient_id) and Client Secret - Required scopes:
user.info.basic,user.info.profile,user.info.stats,video.publish,video.upload,video.list
Important: Unaudited TikTok apps can only post as PRIVATE. Apply for TikTok’s audit process to enable public posting.
Configuring OAuth Credentials in Salesforce
Enter each platform’s credentials on an OAuth App record. Client secrets are stored AES-256 encrypted on this record, and it is the only place the package reads them from.
Required: OAuth App records are the supported credential source. Credentials are not read from custom metadata — the SSN_OAuth_Config__mdt type is intentionally not a secret store. Every platform you connect needs its own active OAuth App record.
- Open the Social Studio Next app → Settings → OAuth Apps.
- Click New OAuth App and set:
- Platform —
x_twitter,facebook,instagram,linkedin, ortiktok. - Client ID — the platform’s Client ID / App ID / Client Key (for X, the OAuth 2.0 Client ID).
- Client Secret — the platform’s Client Secret / App Secret (for X, the OAuth 2.0 Client Secret).
- Is Active — checked.
- Platform —
- Repeat for each platform. To rotate a secret later, edit the record here and reconnect the account.
“View Encrypted Data” permission (REQUIRED — you must create this yourself)
This is the single most common cause of “my accounts won’t connect.” Do this before connecting any social account.
The Client Secret field is a Salesforce Encrypted Text field. Salesforce masks encrypted fields as asterisks (*****) for any user who lacks the View Encrypted Data permission — and that masking applies to Apex too (it is a user permission, so it is not bypassed by the package running in system mode).
Without it, Social Studio Next reads the secret as asterisks and sends those to the platform as your client secret. Every OAuth connection then fails with a misleading authentication error such as:
Token exchange failed (401): {"error":"unauthorized_client",
"error_description":"Missing valid authorization header"}
Salesforce does not permit a managed package to grant this permission — it is stripped when the package is built — so no SSN permission set can include it. You must create it in your own org:
- Go to Setup → Users → Permission Sets → New
- Label:
SSN View Encrypted Data - Save, then open System Permissions → Edit
- Tick View Encrypted Data → Save
- Click Manage Assignments → Add Assignment and assign it to:
- Every admin who connects or reconnects social accounts, and
- The user who schedules the background jobs (the token-refresh job decrypts client secrets to renew tokens; without the permission, token refresh fails silently and accounts expire)
Verifying it worked
Run this in Setup → Developer Console → Debug → Open Execute Anonymous Window:
for (rissnext__OAuth_App__c a : [
SELECT rissnext__Platform__c, rissnext__Client_Secret__c FROM rissnext__OAuth_App__c
]) {
String s = a.rissnext__Client_Secret__c;
System.debug(a.rissnext__Platform__c + ' masked=' + s.startsWith('*'));
}
masked=true means the permission is still missing. masked=false means it is working.
Troubleshooting note: this 401 is identical to the one produced by a genuinely wrong or expired secret, so the two are easy to confuse. Check the permission first (it costs nothing). If it is already in place, regenerate the platform’s client secret — and for X, be sure to use the OAuth 2.0 Client Secret, not the API Key & Secret, which is OAuth 1.0a and produces this same error.
Enable Named Credential Callouts (required)
Social Studio Next reaches each platform through a packaged Named Credential (SSN_Twitter, SSN_Facebook, SSN_Instagram, SSN_LinkedIn, SSN_TikTok). For security, Salesforce installs managed-package Named Credentials with callouts disabled, so you must enable each one once per org before connecting or publishing on that platform.
- Go to Setup → Security → Named Credentials.
- Open SSN Twitter → Edit → enable it for callouts → Save.
- Repeat for SSN Facebook, SSN Instagram, SSN LinkedIn, and SSN TikTok (only the platforms you use).
If a credential is still Disabled, that platform’s connect/publish/listening callouts fail with “Callout blocked for named credential. Be sure the Enabled for Callouts setting is enabled.” This is an org configuration step — it is not related to the platform’s developer app.
Connecting Social Accounts
Prerequisite: Assign the user an SSN permission set (SSN_Admin / SSN_Manager / SSN_Creator / SSN_Agent) before connecting. These grant access to the External Credentials the platform callouts use; without one, connecting or publishing fails.
- Open Settings → Connected Accounts and click Connect Account.
- Select a platform (and the OAuth App, if you have more than one for that platform), then click Authorize. A popup opens to the platform’s consent screen.
- Grant the requested permissions. You are redirected back to the packaged callback page and the popup closes.
- Choose the target when prompted:
- LinkedIn — pick the organization / Company Page you administer.
- Facebook — pick the Page.
- Instagram — pick the Instagram Business account (via its linked Page).
- X / TikTok — resolve automatically to the authenticated user.
You can change this later with Change on the account tile.
- A
Social_Account__crecord is created/updated withToken_Status__c = valid,Account_Handle__c,Account_Platform_Id__c, andIs_Active__c = true.
Callback URL: the redirect URI is always the namespaced Visualforce page https://{yourDomain}.my.salesforce.com/apex/rissnext__SSNOAuthCallback. Register that exact value (with the rissnext__ prefix) on every platform. An unprefixed /apex/SSNOAuthCallback produces a “Page SSNOAuthCallback does not exist” error and is fixed only in package 1.13.0 or later.
Token Management
- Token Refresh: The
TokenRefreshSchedulablejob runs every 30 minutes to refresh tokens before expiry and persist the rotated refresh tokens (X and TikTok issue a new refresh token on every refresh). Without it, X/TikTok connections stop working roughly every couple of hours — see Verify Scheduled Background Jobs. - Token Status Values:
valid,expired,revoked - Reconnect any time: Every account tile in Settings → Connected Accounts shows a Reconnect button, even when the status reads
valid. Use it to re-run OAuth whenever a connection is behaving unexpectedly — for example, a token that posts text but not images (see the Xmedia.writenote below), or after you have changed the app’s permissions or scopes on the platform. - Expired Tokens: The account shows a warning badge. Re-authenticate by clicking Reconnect in Settings.
- Revoking Tokens: Deactivate the account in SSN, then revoke access on the platform’s developer console.
X (Twitter): images/videos require the media.write permission. X grants scopes based on the consent you approve, and it reuses a prior consent when you reconnect — so a connection created before media posting was supported can keep posting text while silently failing on images/videos. If an X post publishes as text only, reconnect the account to grant media.write: first revoke the app in X → Settings → Security and account access → Apps and sessions, confirm the app is set to Read and Write in the X Developer Portal, then click Reconnect in SSN. The connection confirmation page warns you if X returns a token still missing media.write or users.read.
Verify Scheduled Background Jobs (required)
Social Studio Next relies on two recurring background jobs. The package attempts to schedule them automatically on install, but a managed package cannot guarantee scheduling in every org (in particular, some CLI/API upgrades do not run the post-install script), so verify them after install and schedule any that are missing.
| Job | Cadence | Purpose | If missing |
|---|---|---|---|
Token refresh (TokenRefreshSchedulable) | Every 30 min (two jobs: SSN Token Refresh 1 @ :00, SSN Token Refresh 2 @ :30) | Refreshes and persists OAuth tokens so accounts stay connected | Setup → Apex Classes → Schedule Apex, class TokenRefreshSchedulable; schedule one job at minute 0 and one at minute 30 (hourly each) |
Inbox ingestion (SocialPostIngestionSchedulable) | Hourly | Polls active Listening Topics into the Inbox | Open the Inbox → Enable Hourly Sync (also gives a Sync now button) |
To verify: go to Setup → Scheduled Jobs and confirm SSN Token Refresh 1, SSN Token Refresh 2, and SSN Social Ingestion are present. (Admins can also check with SELECT CronJobDetail.Name, State, NextFireTime FROM CronTrigger WHERE CronJobDetail.Name LIKE 'SSN %'.)
4.3 Platform Configuration Reference
Platform specifications are stored as Custom Metadata (Platform_Config__mdt) and are read-only after installation. These values are used to validate content before publishing.
| Platform | Max Text | Max Images | Max Video Size | Max Video Duration | Rate Limit |
|---|---|---|---|---|---|
| X/Twitter | 280 chars | 4 | 512 MB | 140 sec | 300 req / 900 sec |
| 63,206 chars | 10 | 10,240 MB | 14,400 sec | 200 req / 3600 sec | |
| 2,200 chars | 10 | 10,240 MB | 900 sec (15 min reels) | 100 posts / 24 hours | |
| 3,000 chars | 20 | 10,240 MB | 1800 sec | Per-endpoint limits | |
| TikTok | N/A (video only) | 35 (JPEG/WebP only) | 287.6 MB | — | Per-endpoint limits |
4.4 Approval Chain Configuration
Creating an Approval Chain
- Navigate to Publishing > Approval Flow tab in the SSN app
- Click New
- Configure:
| Field | Description |
|---|---|
| Social Account | Link to specific account (leave blank for global chain) |
| Level 1 Approver | Select a user from the dropdown who performs initial review |
| Level 1 Role | Role requirement for L1 (informational) |
| Level 1 SLA Hours | Maximum hours for L1 to respond |
| Level 2 Approver | (Optional) Select a user from the dropdown for secondary review |
| Level 2 Role | Role requirement for L2 |
| Level 2 SLA Hours | Maximum hours for L2 to respond |
| Level 3 Approver | (Optional) Select a user from the dropdown for final review |
| Level 3 Role | Role requirement for L3 |
| Level 3 SLA Hours | Maximum hours for L3 to respond |
| Level 3 Required When | Condition triggering L3 (e.g., “crisis topic”, “external campaign”) |
| Auto Escalation | Enable automatic escalation when SLA is exceeded |
| Escalation User | Select a user from the dropdown who receives escalated posts |
| Is Active | Toggle this chain on/off |
- Click Save
How Approval Routing Works
- When a post is submitted for approval, the system finds the applicable chain:
- First checks for an active chain linked to the post’s target
Social_Account__c - Falls back to the first active global chain (no linked account)
- First checks for an active chain linked to the post’s target
- Level 1 approver is notified
- After L1 approval, L2 approver is notified (if configured)
- After L2, L3 approver is notified (if the
Level_3_Required_When__ccondition is met) - Final approval moves the post to Scheduled or triggers immediate publish
- If any level rejects, the post reverts to Draft with the rejection reason
4.5 Sentiment Scoring & Thresholds
How posts are scored
Every ingested post receives a sentiment score from -1 (very negative) to +1 (very positive), produced by matching the post against a built-in English keyword list.
Understand its limits before relying on it. Because it is a word-list lookup, it cannot read context, negation, or sarcasm:
| Post | Score assigned |
|---|---|
| “This is not great. Worst decision ever.” | Neutral (0) |
| “Oh brilliant, another outage. Fantastic work team.” | Positive (“praise”) |
Sentiment is therefore best treated as a rough triage signal, not a verdict. Be cautious about using it to hide posts – see the warning under Filtering the Inbox by sentiment. AI-based scoring is planned for a future release.
Threshold-driven actions
Sentiment thresholds define automated actions triggered when incoming social posts match certain criteria.
Pre-Configured Thresholds
| Threshold Name | Condition | Action | Case Priority |
|---|---|---|---|
| Crisis Signal | Crisis_Flag = true | crisis_alert | High |
| High Urgency Complaint | Sentiment=Negative, Urgency > 0.8 | create_case | High |
| Influencer Negative | Influencer Score > 0.7, Sentiment=Negative | create_case | High |
| Toxicity Flag | Toxicity Score > 0.7 | flag_for_review | Medium |
| Support Request | Intent = inquiry | create_case | Medium |
| Purchase Intent | Intent = compliment, Engagement > 0.8 | sales_alert | Low |
| Negative Escalation | Sentiment=Negative, No Reply > 24h | escalate | High |
Creating a Custom Threshold
- Go to Setup > Custom Metadata Types > Sentiment Threshold > Manage Records
- Click New
- Configure:
- Threshold Name: Descriptive name
- Condition Type:
sentiment,toxicity,intent,crisis,engagement - Min Score / Max Score: Numeric range for the condition
- Intent Value: For intent-based conditions (e.g.,
complaint,inquiry) - Action Type:
create_case,crisis_alert,flag_for_review,sales_alert,escalate - Case Priority:
High,Medium,Low - Is Active: Toggle on/off
- Click Save
Threshold Evaluation Flow
Social Post Ingested
→ Sentiment Scoring Queueable runs
→ Social_Sentiment__c record created
→ SocialSentimentTriggerHandler fires
→ SentimentService.evaluateThresholds()
→ For each active threshold:
If condition matches → triggerAction()
→ create_case: CaseCreationService.createCaseFromPost()
→ crisis_alert: Crisis_Alert_Event__e published + Slack notification
→ flag_for_review: Post flagged
→ sales_alert: Notification sent
→ escalate: Case escalated
4.6 Slack Integration
Setting Up Slack Incoming Webhooks
- Go to api.slack.com/apps
- Create a new Slack App (or use an existing one)
- Enable Incoming Webhooks
- Click Add New Webhook to Workspace
- Select the target channel
- Copy the Webhook URL
Configuring Slack in SSN
- Go to Setup > Custom Metadata Types > SSN Slack Config > Manage Records
- Create records for each notification type:
| Record Name | Notification Type | Webhook URL | Channel | Is Active |
|---|---|---|---|---|
| Approval Alerts | approval | https://hooks.slack.com/services/... | #content-approvals | true |
| Crisis Alerts | crisis | https://hooks.slack.com/services/... | #crisis-response | true |
| Publish Updates | publish | https://hooks.slack.com/services/... | #social-updates | true |
Notification Format
- Approval Requests: Blue accent, includes post preview (200 char truncated) and approver name
- Crisis Alerts: Red accent, includes topic name, severity level, and details
- Publish Notifications: Green (success) or Red (failure), includes target platforms
4.7 Notification Preferences
Each user can configure their notification preferences per event type.
Event Types
| Event | Description |
|---|---|
| new_post | New social post ingested |
| crisis_alert | Crisis-level sentiment detected |
| approval_ready | Post submitted for your approval |
| publish_success | Post successfully published |
| publish_failed | Post failed to publish |
| comment_reply | Reply to a brand post |
Channels
| Channel | Description |
|---|---|
| Email notification | |
| In-App | Salesforce in-app notification |
| Slack | Slack channel message (requires Slack config) |
Users configure their preferences in Settings > Notification Preferences by toggling each channel on/off for each event type.
Part 5: Data Cloud Configuration for Social Listening
This section provides detailed instructions for configuring Salesforce Data Cloud to ingest social media data from Social Studio Next via the Ingestion API. This enables unified customer profiles, cross-platform identity resolution, and advanced social analytics.
5.1 Prerequisites & Architecture Overview
Prerequisites
- Salesforce Data Cloud license — Data Cloud must be provisioned in your org
- System Administrator or Data Cloud Architect permission set
- Social Studio Next installed and configured with active social accounts
- Connected App configured for API access (see Section 5.2)
Architecture
┌─────────────────────────────────────────────────────────────────────┐
│ SALESFORCE ORG │
│ │
│ ┌──────────────────────┐ ┌──────────────────────────────────┐ │
│ │ Social Studio Next │ │ Data Cloud │ │
│ │ │ │ │ │
│ │ Social_Post__c ─────┼──► │ Ingestion API ──► Data Stream │ │
│ │ Social_Author__c ───┼──► │ │ │ │ │
│ │ Social_Sentiment__c─┼──► │ ▼ ▼ │ │
│ │ Authored_Post__c ───┼──► │ Schema Objects ──► DMOs │ │
│ │ │ │ │ │ │
│ │ ┌────────────────┐ │ │ ┌────────▼───────┐ │ │
│ │ │ DataCloudSync │ │ │ │ Identity │ │ │
│ │ │ Batch │─┼──► │ │ Resolution │ │ │
│ │ └────────────────┘ │ │ └────────┬───────┘ │ │
│ │ │ │ │ │ │
│ │ ┌────────────────┐ │ ◄──┤ Data Actions ◄── Calculated │ │
│ │ │ Platform Events│ │ │ Insights │ │
│ │ └────────────────┘ │ │ │ │
│ └──────────────────────┘ └──────────────────────────────────┘ │
│ │
│ ┌──────────────────────┐ │
│ │ Service Cloud │ ◄── Auto Case Creation via Data Actions │
│ │ (Cases) │ │
│ └──────────────────────┘ │
└─────────────────────────────────────────────────────────────────────┘
Data Flow
- Social Studio Next ingests social posts via platform APIs and scores sentiment
- DataCloudSyncBatch periodically pushes SSN records to Data Cloud via the Ingestion API
- Data Cloud maps ingested data to Data Model Objects (DMOs)
- Identity Resolution links social authors to CRM contacts/leads via email, social handle, or external ID matching
- Calculated Insights compute aggregated metrics (sentiment trends, engagement scores, share of voice)
- Data Actions trigger Platform Events or Flows back in the CRM (e.g., crisis alerts, auto case creation)
5.2 Connected App Setup
Step 1: Create the Connected App
- In Salesforce Setup, navigate to App Manager
- Click New Connected App
- Enter:
- Connected App Name:
Data Cloud Social Ingestion - API Name:
Data_Cloud_Social_Ingestion - Contact Email: your admin email
- Connected App Name:
- Under API (Enable OAuth Settings):
- Check Enable OAuth Settings
- Callback URL:
https://login.salesforce.com/services/oauth2/callback - Selected OAuth Scopes:
Access and manage your Data Cloud Ingestion API data (cdp_ingest_api)Access and manage your data (api)Perform requests on your behalf at any time (refresh_token, offline_access)
- Click Save
- Note the Consumer Key and Consumer Secret (click to reveal after saving)
Step 2: Enable Client Credentials Flow
- After saving, click Manage on the Connected App
- Click Edit Policies
- Under OAuth Policies:
- Set Permitted Users to Admin approved users are pre-authorized
- Check Enable Client Credentials Flow
- Set Run As to an integration user with Data Cloud access
- Click Save
- Under Manage Profiles or Manage Permission Sets, add the appropriate Data Cloud permission sets
Step 3: Verify Permissions
The Run As user must have these permission sets assigned:
CdpCoreUserorCDPDataCloudUserDataCloudIngestionApiUser(if available)
5.3 Authentication Flow
Authentication to the Data Cloud Ingestion API is a two-step process.
Step 1: Obtain Salesforce Access Token
Using Client Credentials Flow (recommended for server-to-server):
curl -X POST https://{myDomain}.my.salesforce.com/services/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id={CONSUMER_KEY}" \
-d "client_secret={CONSUMER_SECRET}"
Response:
{
"access_token": "00D...!AQ...",
"instance_url": "https://{myDomain}.my.salesforce.com",
"id": "https://login.salesforce.com/id/{orgId}/{userId}",
"token_type": "Bearer",
"issued_at": "1708300000000"
}
Step 2: Exchange for Data Cloud Token
curl -X POST https://{myDomain}.my.salesforce.com/services/a360/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=urn:salesforce:grant-type:external:cdp" \
-d "subject_token={SALESFORCE_ACCESS_TOKEN}" \
-d "subject_token_type=urn:ietf:params:oauth:token-type:access_token"
Response:
{
"access_token": "{DATA_CLOUD_ACCESS_TOKEN}",
"instance_url": "https://{tenant-id}.c360a.salesforce.com",
"token_type": "Bearer",
"issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
"expires_in": 7200
}
Important: The instance_url from this response is your tenant-specific base URL for all Ingestion API calls. The access_token expires in 2 hours (7200 seconds).
Apex Implementation
public class DataCloudAuthService {
private static final String TOKEN_ENDPOINT = '/services/oauth2/token';
private static final String DC_TOKEN_ENDPOINT = '/services/a360/token';
public static String getDataCloudToken(
String consumerKey,
String consumerSecret
) {
// Step 1: Get Salesforce access token
String baseUrl = URL.getOrgDomainUrl().toExternalForm();
HttpRequest req = new HttpRequest();
req.setEndpoint(baseUrl + TOKEN_ENDPOINT);
req.setMethod('POST');
req.setHeader('Content-Type', 'application/x-www-form-urlencoded');
req.setBody(
'grant_type=client_credentials' +
'&client_id=' +
EncodingUtil.urlEncode(consumerKey, 'UTF-8') +
'&client_secret=' +
EncodingUtil.urlEncode(consumerSecret, 'UTF-8')
);
Http http = new Http();
HttpResponse res = http.send(req);
Map<String, Object> tokenResponse = (Map<String, Object>) JSON.deserializeUntyped(
res.getBody()
);
String sfAccessToken = (String) tokenResponse.get('access_token');
// Step 2: Exchange for Data Cloud token
HttpRequest dcReq = new HttpRequest();
dcReq.setEndpoint(baseUrl + DC_TOKEN_ENDPOINT);
dcReq.setMethod('POST');
dcReq.setHeader('Content-Type', 'application/x-www-form-urlencoded');
dcReq.setBody(
'grant_type=urn:salesforce:grant-type:external:cdp' +
'&subject_token=' +
EncodingUtil.urlEncode(sfAccessToken, 'UTF-8') +
'&subject_token_type=urn:ietf:params:oauth:token-type:access_token'
);
HttpResponse dcRes = http.send(dcReq);
Map<String, Object> dcTokenResponse = (Map<String, Object>) JSON.deserializeUntyped(
dcRes.getBody()
);
return (String) dcTokenResponse.get('access_token');
}
}
5.4 Schema Definition
The Ingestion API requires an OpenAPI 3.0 YAML schema that defines the objects and fields being ingested.
Schema Constraints
| Constraint | Limit |
|---|---|
| Max fields per object | 1,000 |
| Max object name length | 80 characters |
| Max field name length | 80 characters |
| Allowed characters | a-z, A-Z, 0-9, _, - |
| Nested objects | Not allowed |
| Double underscores in field names | Not allowed |
| Object/field deletion after upload | Not supported |
| Field data type changes after upload | Not supported |
Reserved Field Names (Do Not Use)
date_id, location_id, dat_account_currency, dat_exchange_rate, pacing_period, pacing_end_date, row_count, version
Data Type Mapping
| Data Cloud Type | OpenAPI type | OpenAPI format | Example |
|---|---|---|---|
| Text | string | — | "Hello World" |
| Number (Integer) | number | int32 | 42 |
| Number (Decimal) | number | float | 0.85 |
| Boolean | boolean | — | true |
| Date | string | date | "2026-02-19" |
| DateTime | string | date-time | "2026-02-19T14:30:00.000Z" |
string | email | "user@example.com" | |
| URL | string | url | "https://example.com" |
| Phone | string | phone | "+1-555-123-4567" |
Complete Schema File for Social Studio Next
Save this file as ssn_ingestion_schema.yaml:
openapi: "3.0.0"
info:
title: Social Studio Next Ingestion Schema
description: Schema for ingesting social media data into Salesforce Data Cloud
version: "1.0.0"
components:
schemas:
# ─────────────────────────────────────────────
# Social Post — Engagement category
# Represents individual social media posts
# ─────────────────────────────────────────────
SocialPost:
type: object
required:
- postId
- platform
- publishedDate
properties:
postId:
type: string
description: Unique platform-native post identifier
platform:
type: string
description: "Source platform: x_twitter, facebook, instagram, linkedin, tiktok"
content:
type: string
description: Full text content of the post
contentLanguage:
type: string
description: ISO 639-1 language code
authorId:
type: string
description: Reference to SocialAuthor.authorId
authorHandle:
type: string
description: Author's handle (e.g., @username)
authorDisplayName:
type: string
description: Author's display name
authorProfileUrl:
type: string
format: url
description: URL to author's profile
authorFollowerCount:
type: number
format: int32
description: Author's follower count at time of post
authorIsVerified:
type: boolean
description: Whether the author has a verified badge
publishedDate:
type: string
format: date-time
description: When the post was published (ISO 8601)
permalink:
type: string
format: url
description: Direct URL to the post on the platform
postType:
type: string
description: "Type: post, image, video, link, poll, story, reel, thread"
mediaType:
type: string
description: "Primary media type: text, image, video, carousel"
isOwnedContent:
type: boolean
description: Whether this is the brand's own published content
likeCount:
type: number
format: int32
description: Number of likes/reactions
shareCount:
type: number
format: int32
description: Number of shares/retweets/reposts
commentCount:
type: number
format: int32
description: Number of comments/replies
viewCount:
type: number
format: int32
description: Number of views/impressions
overallSentiment:
type: string
description: "Sentiment label: positive, negative, neutral, mixed"
sentimentScore:
type: number
format: float
description: Sentiment score from 0.0 (negative) to 1.0 (positive)
matchedKeyword:
type: string
description: Listening topic keyword that matched this post
listeningTopicId:
type: string
description: ID of the matched Listening Topic
parentPostId:
type: string
description: ID of the parent post (for threading)
caseId:
type: string
description: ID of the linked CRM Case
dataCloudId:
type: string
description: Data Cloud record identifier
modifiedDate:
type: string
format: date-time
description: Last modification timestamp
# ─────────────────────────────────────────────
# Social Author — Profile category
# Represents social media user profiles
# ─────────────────────────────────────────────
SocialAuthor:
type: object
required:
- authorId
- primaryPlatform
properties:
authorId:
type: string
description: Unique author identifier
authorName:
type: string
description: Display name of the author
primaryHandle:
type: string
description: Primary social media handle
primaryPlatform:
type: string
description: "Primary platform: x_twitter, facebook, instagram, linkedin, tiktok"
profileUrl:
type: string
format: url
description: URL to primary social profile
email:
type: string
format: email
description: Email address (if available from platform)
isInfluencer:
type: boolean
description: Whether the author is flagged as an influencer
followerCount:
type: number
format: int32
description: Current follower count
totalInteractions:
type: number
format: int32
description: Total interactions with the brand
averageSentiment:
type: number
format: float
description: Average sentiment score across interactions
lifetimeEngagementScore:
type: number
format: float
description: Calculated lifetime engagement score
firstInteractionDate:
type: string
format: date-time
description: Date of first interaction with the brand
lastInteractionDate:
type: string
format: date-time
description: Date of most recent interaction
crmContactId:
type: string
description: Linked Salesforce Contact ID
crmLeadId:
type: string
description: Linked Salesforce Lead ID
crmAccountId:
type: string
description: Linked Salesforce Account ID
dataCloudId:
type: string
description: Data Cloud record identifier
modifiedDate:
type: string
format: date-time
description: Last modification timestamp
# ─────────────────────────────────────────────
# Social Sentiment — Other category
# AI-generated sentiment analysis results
# ─────────────────────────────────────────────
SocialSentiment:
type: object
required:
- sentimentId
- postId
- scoredDate
properties:
sentimentId:
type: string
description: Unique sentiment record identifier
postId:
type: string
description: Reference to SocialPost.postId
overallSentiment:
type: string
description: "Sentiment label: positive, negative, neutral, mixed"
sentimentScore:
type: number
format: float
description: Sentiment score 0.0-1.0
sentimentConfidence:
type: number
format: float
description: Model confidence 0.0-1.0
intentClassification:
type: string
description: "Intent: complaint, compliment, inquiry, feedback, irrelevant"
urgencyScore:
type: number
format: float
description: Urgency level 0.0-1.0
toxicityScore:
type: number
format: float
description: Toxicity level 0.0-1.0
crisisFlag:
type: boolean
description: Whether this post is flagged as a crisis
emotionLabels:
type: string
description: JSON array of detected emotions
extractedTopics:
type: string
description: JSON array of extracted topics
extractedEntities:
type: string
description: JSON array of extracted entities
influencerScore:
type: number
format: float
description: Author influence rating 0.0-1.0
modelVersion:
type: string
description: Sentiment model version identifier
scoredDate:
type: string
format: date-time
description: When the sentiment was analyzed
dataCloudId:
type: string
description: Data Cloud record identifier
modifiedDate:
type: string
format: date-time
description: Last modification timestamp
# ─────────────────────────────────────────────
# Engagement Metric — Engagement category
# Platform-reported engagement data per post
# ─────────────────────────────────────────────
EngagementMetric:
type: object
required:
- engagementId
- postId
- metricDate
properties:
engagementId:
type: string
description: Unique engagement record identifier
postId:
type: string
description: Reference to SocialPost.postId
platform:
type: string
description: Platform this metric is from
metricDate:
type: string
format: date-time
description: When this metric was captured
impressionCount:
type: number
format: int32
description: Number of times content was displayed
reachCount:
type: number
format: int32
description: Unique users who saw the content
clickCount:
type: number
format: int32
description: Number of clicks on the content
engagementRate:
type: number
format: float
description: Engagement rate as a decimal (0.0-1.0)
videoViewCount:
type: number
format: int32
description: Video views (for video content)
videoCompletionRate:
type: number
format: float
description: Percentage of video watched (0.0-1.0)
saveCount:
type: number
format: int32
description: Number of saves/bookmarks
profileVisitCount:
type: number
format: int32
description: Profile visits attributed to this post
dataCloudId:
type: string
description: Data Cloud record identifier
modifiedDate:
type: string
format: date-time
description: Last modification timestamp
5.5 Ingestion API Connector Setup
Step 1: Create the Connector
- In Data Cloud, navigate to Setup > Data Cloud Setup
- Under Salesforce Integrations, click Ingestion API
- Click New
- Enter the Connector Name:
SSN_Social_Ingest - Click Save
Step 2: Upload the Schema
- Click Upload Schema
- Navigate to and select your
ssn_ingestion_schema.yamlfile - Preview the detected objects:
SocialPost(25+ fields)SocialAuthor(18+ fields)SocialSentiment(17+ fields)EngagementMetric(13+ fields)
- Click Save
The connector status will show “Needs Data Stream”. It changes to “In Use” once data streams are created and deployed.
Step 3: Note the Source API Name
After saving, note the Source API Name (e.g., SSN_Social_Ingest). This is used in the API endpoint URL:
POST https://{tenant-url}/api/v1/ingest/sources/SSN_Social_Ingest/SocialPost
5.6 Data Stream Creation
Create a data stream for each schema object.
SocialPost Data Stream (Engagement)
- Navigate to Data Streams in Data Cloud
- Click New > Ingestion API
- Select the
SSN_Social_Ingestconnector - Select SocialPost and click Next
- Configure:
- Primary Key:
postId - Category: Engagement
- Event Time Field:
publishedDate
- Primary Key:
- Click Deploy
SocialAuthor Data Stream (Profile)
- Click New > Ingestion API
- Select the
SSN_Social_Ingestconnector - Select SocialAuthor and click Next
- Configure:
- Primary Key:
authorId - Category: Profile
- Record Modified Field:
modifiedDate - Refresh Mode: Partial (enables incremental updates)
- Primary Key:
- Click Deploy
SocialSentiment Data Stream (Other)
- Click New > Ingestion API
- Select the
SSN_Social_Ingestconnector - Select SocialSentiment and click Next
- Configure:
- Primary Key:
sentimentId - Category: Other
- Record Modified Field:
modifiedDate
- Primary Key:
- Click Deploy
EngagementMetric Data Stream (Engagement)
- Click New > Ingestion API
- Select the
SSN_Social_Ingestconnector - Select EngagementMetric and click Next
- Configure:
- Primary Key:
engagementId - Category: Engagement
- Event Time Field:
metricDate
- Primary Key:
- Click Deploy
Important: The Refresh Mode for Profile and Other categories cannot be changed after creation. Choose Partial if you need incremental updates.
5.7 Data Mapping to DMOs
After data streams are deployed, map the ingested Data Source Objects (DSOs) to Data Model Objects (DMOs).
Map SocialAuthor to Contact Point Social (Standard DMO)
This maps social author profiles to the standard ssot__ContactPointSocial__dlm DMO, enabling identity resolution.
- Go to Data Model > Data Mapping
- Select the SocialAuthor data stream
- Target DMO: Contact Point Social
- Map fields:
| Source Field (SocialAuthor) | Target Field (Contact Point Social) |
|---|---|
authorId | Id |
primaryHandle | SocialHandleName |
authorId | SocialHandleId |
primaryPlatform | SocialNetworkProviderId |
followerCount | FollowersCount |
profileUrl | ProfilePictureURL |
firstInteractionDate | ActiveFromDate |
lastInteractionDate | ActiveToDate |
- Also map to Individual DMO for identity resolution:
| Source Field (SocialAuthor) | Target Field (Individual) |
|---|---|
authorId | Id |
authorName | FirstName (or use split logic) |
email | (via Contact Point Email mapping) |
Map SocialPost to Custom Social Post DMO
- In Data Model, create a custom DMO: SSN Social Post (Category: Engagement)
- Add fields matching the schema
- Map all SocialPost data stream fields to the custom DMO fields
- Set
publishedDateas the Event Time dimension
Map SocialSentiment to Custom Sentiment DMO
- Create a custom DMO: SSN Social Sentiment (Category: Other)
- Add fields matching the schema
- Map all SocialSentiment data stream fields to the custom DMO fields
- Create a relationship to SSN Social Post via
postId
Map EngagementMetric to Custom Engagement DMO
- Create a custom DMO: SSN Engagement Metric (Category: Engagement)
- Add fields matching the schema
- Map all EngagementMetric data stream fields to the custom DMO fields
- Set
metricDateas the Event Time dimension - Create a relationship to SSN Social Post via
postId
5.8 Identity Resolution
Identity Resolution links social authors to existing CRM contacts by matching identifiers across data sources.
Step 1: Create a Ruleset
- Navigate to Identity Resolution in Data Cloud
- Click New Ruleset
- Name:
SSN_Author_Unification - Description: “Links social media authors to CRM contacts and leads”
- Click Save
Step 2: Configure Match Rules
Rule 1 — Email Match (High Confidence)
| Setting | Value |
|---|---|
| Object | Contact Point Email |
| Match Type | Exact Normalized |
| Match On | Email Address |
| Description | Links authors who have an email matching an existing contact |
Rule 2 — Social Handle Match
| Setting | Value |
|---|---|
| Object | Contact Point Social |
| Match Type | Exact |
| Match On | Social Handle Name + Social Network Provider |
| Description | Links known social handles across data sources |
Rule 3 — Party Identification Match
| Setting | Value |
|---|---|
| Object | Party Identification |
| Match Type | Exact |
| Match On | External ID (platform user ID) |
| Party Identification Type | Social |
| Description | Links by platform-native user IDs |
Step 3: Configure Reconciliation Rules
When multiple sources disagree on a field value:
| Field | Rule | Rationale |
|---|---|---|
| Name | Most Recent | Social profiles change names frequently |
| Source Priority: CRM first | CRM data is verified | |
| Follower Count | Most Recent | Follower counts change constantly |
| Platform | Most Frequent | Stabilize on the most-used platform |
Step 4: Publish and Validate
- Click Publish on the ruleset
- Identity resolution runs within 24 hours
- Validate results in Profile Explorer:
- Search for a known contact
- Verify linked social handles appear under their unified profile
- Check for over-merging (multiple distinct people incorrectly merged)
5.9 Calculated Insights
Calculated Insights use SQL to compute aggregated metrics from Data Cloud data.
Sentiment Trend Analysis
-- Hourly sentiment trend across all social posts
SELECT
DATE_FORMAT(ssn_SocialPost__dlm.publishedDate__c, 'yyyy-MM-dd HH:00:00') AS time_bucket__c,
ssn_SocialPost__dlm.platform__c AS platform__c,
COUNT(ssn_SocialPost__dlm.postId__c) AS post_count__c,
AVG(ssn_SocialPost__dlm.sentimentScore__c) AS avg_sentiment__c,
SUM(CASE WHEN ssn_SocialPost__dlm.overallSentiment__c = 'positive' THEN 1 ELSE 0 END) AS positive_count__c,
SUM(CASE WHEN ssn_SocialPost__dlm.overallSentiment__c = 'negative' THEN 1 ELSE 0 END) AS negative_count__c,
SUM(CASE WHEN ssn_SocialPost__dlm.overallSentiment__c = 'neutral' THEN 1 ELSE 0 END) AS neutral_count__c
FROM
ssn_SocialPost__dlm
WHERE
ssn_SocialPost__dlm.publishedDate__c >= DATEADD(day, -30, CURRENT_TIMESTAMP)
GROUP BY
time_bucket__c,
platform__c
Engagement Scoring per Author
-- Calculate engagement score per unified individual
SELECT
ssot__Individual__dlm.ssot__Id__c AS individual_id__c,
SUM(ssn_SocialPost__dlm.likeCount__c
+ ssn_SocialPost__dlm.shareCount__c
+ ssn_SocialPost__dlm.commentCount__c) AS total_engagement__c,
COUNT(ssn_SocialPost__dlm.postId__c) AS total_posts__c,
AVG(ssn_SocialPost__dlm.sentimentScore__c) AS avg_sentiment__c,
CASE
WHEN SUM(ssn_SocialPost__dlm.likeCount__c
+ ssn_SocialPost__dlm.shareCount__c
+ ssn_SocialPost__dlm.commentCount__c) > 1000 THEN 'High Engager'
WHEN SUM(ssn_SocialPost__dlm.likeCount__c
+ ssn_SocialPost__dlm.shareCount__c
+ ssn_SocialPost__dlm.commentCount__c) > 100 THEN 'Medium Engager'
ELSE 'Low Engager'
END AS engagement_tier__c
FROM
ssn_SocialPost__dlm
JOIN
ssot__Individual__dlm
ON ssn_SocialPost__dlm.authorId__c = ssot__Individual__dlm.ssot__Id__c
WHERE
ssn_SocialPost__dlm.publishedDate__c >= DATEADD(day, -90, CURRENT_TIMESTAMP)
GROUP BY
individual_id__c
Share of Voice Calculation
-- Share of voice by listening topic type
SELECT
ssn_SocialPost__dlm.listeningTopicId__c AS topic_id__c,
COUNT(ssn_SocialPost__dlm.postId__c) AS mention_count__c,
ROUND(
CAST(COUNT(ssn_SocialPost__dlm.postId__c) AS FLOAT)
/ CAST(SUM(COUNT(ssn_SocialPost__dlm.postId__c)) OVER () AS FLOAT)
* 100, 2
) AS share_of_voice_pct__c,
AVG(ssn_SocialPost__dlm.sentimentScore__c) AS avg_sentiment__c
FROM
ssn_SocialPost__dlm
WHERE
ssn_SocialPost__dlm.listeningTopicId__c IS NOT NULL
AND ssn_SocialPost__dlm.publishedDate__c >= DATEADD(day, -30, CURRENT_TIMESTAMP)
GROUP BY
topic_id__c
Crisis Detection Scoring
-- Real-time crisis score aggregation
SELECT
ssn_SocialSentiment__dlm.postId__c AS post_id__c,
ssn_SocialSentiment__dlm.overallSentiment__c AS sentiment__c,
ssn_SocialSentiment__dlm.sentimentScore__c AS sentiment_score__c,
ssn_SocialSentiment__dlm.urgencyScore__c AS urgency__c,
ssn_SocialSentiment__dlm.toxicityScore__c AS toxicity__c,
ssn_SocialSentiment__dlm.crisisFlag__c AS is_crisis__c,
CASE
WHEN ssn_SocialSentiment__dlm.crisisFlag__c = true THEN 'Critical'
WHEN ssn_SocialSentiment__dlm.toxicityScore__c > 0.7 THEN 'High'
WHEN ssn_SocialSentiment__dlm.urgencyScore__c > 0.8
AND ssn_SocialSentiment__dlm.overallSentiment__c = 'negative' THEN 'High'
WHEN ssn_SocialSentiment__dlm.overallSentiment__c = 'negative' THEN 'Medium'
ELSE 'Low'
END AS crisis_severity__c
FROM
ssn_SocialSentiment__dlm
WHERE
ssn_SocialSentiment__dlm.scoredDate__c >= DATEADD(hour, -24, CURRENT_TIMESTAMP)
5.10 Data Actions
Data Actions send near real-time events from Data Cloud to trigger automations.
Crisis Alert Data Action (Platform Event)
Social Studio Next includes the Crisis_Alert_Event__e platform event with fields Topic_Id__c, Alert_Type__c, Severity__c, and Details__c. Create a Data Action targeting Salesforce Platform Event, source it from the SSN Social Sentiment DMO (or the Crisis Detection Calculated Insight), set the trigger condition to crisisFlag = true OR crisis_severity = 'Critical', map the fields, then Save and Activate.
Auto Case Creation (Data Cloud-Triggered Flow)
- In Salesforce Setup, create a Data Cloud-Triggered Flow
- Set the trigger: Object SSN Social Sentiment DMO, condition
overallSentiment = 'negative'ANDurgencyScore > 0.8 - Add a Create Record action (Case: subject “Social Media Alert – High Urgency”, Priority High, Origin Social Media) and a Publish Platform Event action (
Social_Post_Event__eto notify the SSN UI) - Activate the Flow
5.11 Streaming vs Bulk Ingestion
| Pattern | Use Case | Latency | Volume |
|---|---|---|---|
| Streaming | Real-time post ingestion, live monitoring | ~3 min (micro-batch) | Up to 250 req/sec |
| Bulk | Historical data backfill, batch sync | Minutes to hours | Up to 15 GB per job |
Both patterns can operate on the same data stream simultaneously. Key rate limits: streaming payloads are capped at 200 KB per request with 5 concurrent requests and 250 requests/second across all endpoints; bulk supports up to 150 MB per CSV file, 100 files per job, and 20 jobs per hour. Deletes are capped at 200 records per streaming request. Both patterns throttle with HTTP 429.
Streaming Insert Example
# Insert social posts via streaming API
curl -X POST \
"https://{tenant-id}.c360a.salesforce.com/api/v1/ingest/sources/SSN_Social_Ingest/SocialPost" \
-H "Authorization: Bearer {DATA_CLOUD_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"data": [
{
"postId": "tw_1234567890",
"platform": "x_twitter",
"content": "Just tried @YourBrand new product and absolutely love it! #review",
"authorId": "auth_tw_98765",
"authorHandle": "@happy_customer",
"publishedDate": "2026-02-19T14:30:00.000Z",
"likeCount": 42,
"shareCount": 12,
"commentCount": 5,
"viewCount": 2100,
"overallSentiment": "positive",
"sentimentScore": 0.92,
"matchedKeyword": "YourBrand",
"modifiedDate": "2026-02-19T14:30:00.000Z"
}
]
}'
Response: 202 Accepted — Data is queued for processing (~3 minute micro-batch cycle).
Bulk Insert Workflow
Bulk ingestion is a four-step job: create the job (POST …/jobs with operation: upsert), upload CSV data (PUT …/jobs/{id}/batches with Content-Type: text/csv), close the job (PATCH …/jobs/{id} with state: UploadComplete), then poll status (GET …/jobs/{id}) until state is JobComplete.
postId,platform,content,authorId,authorHandle,publishedDate,likeCount,shareCount,commentCount,viewCount,overallSentiment,sentimentScore,modifiedDate
tw_001,x_twitter,"Great product @YourBrand!",auth_001,@user1,2026-02-19T10:00:00.000Z,50,10,5,1000,positive,0.88,2026-02-19T10:00:00.000Z
tw_002,x_twitter,"@YourBrand needs better support",auth_002,@user2,2026-02-19T11:00:00.000Z,3,1,8,200,negative,0.25,2026-02-19T11:00:00.000Z
5.12 Best Practices
- Plan your schema carefully before uploading — objects and fields cannot be removed once added
- Include a
modifiedDatedatetime field on all objects for incremental update support - For Engagement-category objects, always include an Event Time datetime field
- Use clear, descriptive field names (no double underscores, no reserved names)
- Batch streaming records into single requests (within the 200 KB limit) rather than one request per record
- Handle HTTP 429 responses with exponential backoff
- Store the Data Cloud token and reuse it until expiry (2 hours) rather than re-authenticating per call
- Use bulk ingestion for historical backfill; reserve streaming for live monitoring
Part 6: Data Model Reference
All custom objects use the rissnext namespace prefix. Field API names shown below omit the namespace for readability; the deployed API name is rissnext__<FieldName>__c.
6.1 Custom Objects Overview
| Object | API Name | Purpose |
|---|---|---|
| Authored Post | Authored_Post__c | Content composed in SSN for publishing (drafts, scheduled, published) |
| Social Post | Social_Post__c | Inbound posts ingested from listening topics and account monitoring |
| Social Author | Social_Author__c | Social media user profiles, with CRM linkage and influencer flags |
| Social Sentiment | Social_Sentiment__c | Sentiment analysis results per ingested post |
| Social Account | Social_Account__c | Connected brand accounts and OAuth token state |
| OAuth App | OAuth_App__c | Per-platform client credentials (client secret AES-256 encrypted) |
| Listening Topic | Listening_Topic__c | Keyword/platform monitoring configuration |
| Approval Chain | Approval_Chain__c | Multi-level approval routing configuration |
| Post Media | Post_Media__c | Media attachments linked to authored posts |
| Engagement Metric | Engagement_Metric__c | Platform-reported engagement data per post |
6.2 Key Fields by Object
Authored_Post__c
| Field | Type | Notes |
|---|---|---|
Content__c | Long Text | Main post body |
Content_Variants__c | Long Text (JSON) | Per-platform content overrides |
Target_Platforms__c | Multi-Select Picklist | x_twitter, facebook, instagram, linkedin, tiktok |
Status__c | Picklist | Draft, Pending Approval, Approved, Scheduled, Published, Failed |
Scheduled_Datetime__c | DateTime | When to publish |
Is_Recurring__c | Checkbox | Recurring post flag |
Recurrence_Rule__c | Long Text (JSON) | Pattern, dayOfWeek/dayOfMonth, endDate |
First_Comment__c | Long Text | Auto-posted first comment (IG/FB) |
Campaign__c | Lookup(Campaign) | Salesforce Campaign link |
Social_Post__c
| Field | Type | Notes |
|---|---|---|
Platform_Native_Id__c | Text (External ID) | Platform-native post ID |
Platform__c | Picklist | Source platform |
Content__c | Long Text | Post text |
Author__c | Lookup(Social_Author__c) | Post author |
Published_Datetime__c | DateTime | When published on platform |
Overall_Sentiment__c | Picklist | positive, negative, neutral, mixed |
Sentiment_Score__c | Number(3,2) | −1 to +1 |
Matched_Keyword__c | Text | Listening topic keyword matched |
Listening_Topic__c | Lookup(Listening_Topic__c) | Matched topic |
Case__c | Lookup(Case) | Linked Service Cloud case |
Is_Archived__c | Checkbox | Inbox archive state |
Social_Author__c
| Field | Type | Notes |
|---|---|---|
Primary_Handle__c | Text | Primary social handle |
Primary_Platform__c | Picklist | Primary platform |
Is_Influencer__c | Checkbox | Influencer flag (toggled from Inbox card) |
Follower_Count__c | Number | Current follower count |
Average_Sentiment__c | Number(3,2) | Mean sentiment across interactions |
Total_Interactions__c | Number | Interaction count |
Contact__c | Lookup(Contact) | Resolved CRM contact |
Lead__c | Lookup(Lead) | Resolved CRM lead |
Account__c | Lookup(Account) | Resolved CRM account |
Social_Account__c
| Field | Type | Notes |
|---|---|---|
Platform__c | Picklist | Connected platform |
Account_Handle__c | Text | Connected account handle |
Account_Platform_Id__c | Text | Platform-native account/page ID |
Token_Status__c | Picklist | valid, expired, revoked |
Is_Active__c | Checkbox | Whether the account is active for publishing/listening |
Part 7: Troubleshooting
Connection & Authentication
| Symptom | Likely Cause | Fix |
|---|---|---|
Token exchange failed (401): "Missing valid authorization header" | Missing View Encrypted Data permission (client secret reads as asterisks), or wrong secret type | Grant View Encrypted Data first (Section 4.2). For X, use the OAuth 2.0 Client Secret, not the API Key/Secret |
| “Callout blocked for named credential” | Named Credential installed with callouts disabled | Enable callouts on the SSN_* Named Credential (Setup → Named Credentials) |
| “Page SSNOAuthCallback does not exist” | Redirect URI registered without namespace prefix, or package older than 1.13.0 | Register /apex/rissnext__SSNOAuthCallback exactly; upgrade to 1.13.0+ |
LinkedIn unauthorized_scope_error | Community Management API combined with Sign In / Advertising products | Use only the Community Management API product; remove openid/profile scopes |
| X post publishes as text only (images fail) | Token missing media.write (reused prior consent) | Revoke the app on X, confirm Read+Write, then Reconnect in SSN |
| Accounts expire every couple of hours | Token-refresh job not scheduled, or scheduling user lacks View Encrypted Data | Verify SSN Token Refresh 1/2 jobs; assign the permission to the scheduling user |
Listening & Inbox
| Symptom | Likely Cause | Fix |
|---|---|---|
| Inbox is empty | No active Listening Topic, or hourly sync off | Create an active topic; click Enable Hourly Sync or Sync now |
| No X results despite keywords | X API tier without recent search | Upgrade to an X tier that permits /2/tweets/search/recent |
| Facebook/LinkedIn keywords ignored | No public keyword-search API on those platforms | Expected — those topics monitor your own Pages/org posts and their comments |
| Genuine customer questions missing from Inbox | Sentiment filter threshold set too low (neutral posts score 0) | Set threshold to 0 or turn the sentiment filter off |
Publishing
| Symptom | Likely Cause | Fix |
|---|---|---|
| Image/video posts fail | Content Deliveries not enabled (public link can’t be generated) | Enable Content Deliveries (Setup → Salesforce Files) |
| Instagram publish fails on media | Media URL behind authentication | Instagram requires publicly accessible media URLs |
| TikTok posts only PRIVATE | App not yet audited | Complete TikTok’s audit process for public posting |
| Scheduled post never publishes | Publishing batch job not running | Verify PostPublishSchedulable is scheduled |
Social Studio Next is a Resource Interactive product distributed on Salesforce AppExchange. Namespace rissnext · API v65.0 · 2GP managed package.
