Salesforce Decode
Salesforcedecode
All interview topics

Headless 360 Interview Questions

MCP, Agentforce APIs, commerce APIs, and external channel integrations.

62 unique questions in this topic

Difficulty Level

Topic Focus

Showing 62 of 62 Headless 360 questions

Beginnerheadlessapibasics

What does headless Salesforce mean?

A frontend team builds a React storefront and asks why they need Salesforce if they are not using the standard UI.

Beginnercommerce-apib2c

What is the B2C Commerce API used for?

Shoppers browse products on a custom site. You explain which Salesforce API powers product and cart data.

Beginnerexperience-cloudportal

What is Experience Cloud in a headless context?

A partner portal uses a custom Angular app but still needs Salesforce authentication and case data.

Beginneroauthsecurityauthentication

What is OAuth and why does headless need it?

Your mobile app must log users in without storing Salesforce passwords. You explain OAuth at a basic level.

Beginnermiddlewareapi-gateway

What is an API gateway or middleware in headless architecture?

The React site should not call ten different Salesforce endpoints directly from the browser. You introduce middleware.

Beginnermcpagentforceapi

What is MCP in the Salesforce headless context?

Leadership mentions MCP for connecting AI assistants to Salesforce data. You give a beginner explanation.

Beginnercomposablecommerce

What is a composable storefront?

Marketing wants best-of-breed CMS, search, and checkout. You explain composable commerce simply.

Beginnerorder-synccrm

How do headless integrations sync orders to CRM?

After online checkout, sales reps need the Order in Sales Cloud. You outline a simple sync pattern.

Beginnergraphqlrest

What is GraphQL vs REST for Salesforce headless apps?

Mobile app developers ask which API style to use for fetching product and customer in one screen load.

Beginnercachingperformance

What caching strategies help headless storefront performance?

Product pages load slowly because every visit hits Salesforce APIs. You suggest beginner-friendly caching.

Beginnerwebhooksevents

What is a webhook in headless integrations?

Payment provider notifies your site when charge succeeds. You explain webhooks simply.

Beginnertestinggo-live

What should you test before launching a headless site?

Go-live is Friday. You list minimum tests a junior should run on staging.

Architectcommerce-apiheadlessb2c

Design headless commerce architecture with Salesforce B2C Commerce APIs

A fashion brand replatforms to React Native mobile and Next.js web while keeping Salesforce B2C Commerce as cart and order system of record.

Advancedmcpagentforcetools

Explain MCP integration patterns for Agentforce external tools

Developers want Agentforce agents to call external inventory and pricing engines via Model Context Protocol servers hosted on AWS.

Architectcustomer-360apigraphql

Architect Customer 360 APIs for external channel consumption

A partner portal and IVR system need unified customer context—recent orders, open cases, loyalty tier—from Salesforce without direct CRM UI access.

Intermediateslasauthcommerce

Implement SLAS authentication for headless shoppers

Mobile app guest checkout works but registered login fails intermittently with token expiry errors during long browsing sessions.

Advancedeventsorderswebhooks

Design event-driven order lifecycle notifications to external systems

Warehouse WMS, email ESP, and loyalty platform each need order created, shipped, and returned events from Commerce and CRM in near-real-time.

Intermediateexperience-cloudself-serviceapi

Build headless self-service portal on Experience Cloud APIs

Customers want a custom React portal for case management and knowledge search instead of standard Experience Cloud templates.

Advancedagentforceapiembedding

Integrate Agentforce APIs for embedded support in third-party apps

A fintech mobile app wants in-app support chat powered by Agentforce without redirecting users to Salesforce-hosted pages.

Architectapi-versioningdeprecationpartners

Design API versioning and deprecation for public partner APIs

200 partners consume your Salesforce-backed product catalog API. A breaking schema change for new attributes threatens partner integrations.

Advancedsearchpersonalizationcommerce

Optimize headless product search and personalization APIs

Product search latency on mobile P95 is 2.8 seconds using direct Commerce search API calls without caching or CDN.

Advancedcheckoutpaymentsstripe

Implement headless checkout with payment provider abstraction

The brand uses Stripe for payments across web and mobile while B2C Commerce manages basket and order creation.

Intermediaterate-limitingapi-gatewaysecurity

Design rate limiting and API gateway for Salesforce-backed microservices

A viral marketing campaign caused partner API quota exhaustion and Commerce API 429 errors affecting all channels.

Intermediatedata-cloudanalyticsevents

Connect headless channels to Data Cloud for unified analytics

Mobile app behavioral events sit in Firebase while web uses GA4. Marketing cannot attribute cross-channel journeys in Salesforce.

Architectb2brevenue-cloudcpq

Architect B2B headless ordering with Salesforce Revenue Cloud APIs

A distributor wants partner portal for contract pricing, bulk ordering, and approval workflows using Revenue Cloud as backend.

Intermediatecmscontentheadless

Implement content delivery for headless storefronts with CMS

Marketing manages hero banners and promotional content in Salesforce CMS but Next.js storefront shows stale content for hours.

Advancedofflinemobilesync

Design offline-first mobile patterns with Salesforce sync

Field sales reps in rural areas need offline catalog browse and draft order creation syncing when connectivity returns.

Architectzero-trustsecurityoauth

Secure headless API exposure with zero-trust principles

Pen test found partner API keys embedded in mobile app binaries and excessive OAuth scopes on integration users.

Architectcomposablearchitecturestrategy

Evaluate composable commerce vs monolithic Salesforce Commerce

CTO proposes replacing B2C Commerce with composable best-of-breed cart, PIM, and OMS while keeping Salesforce CRM.

Intermediatedeveloper-experiencedocumentationsandbox

Build developer experience for internal API consumers

Internal teams complain Salesforce APIs are hard to discover, test, and mock causing duplicate integration code.

Architectmulti-regiongloballatency

Design multi-region headless deployment for global retail

A retailer operates EU, US, and APAC storefronts with data residency requirements and localized payment methods.

Intermediateslomonitoringobservability

Monitor and SLO headless channel API reliability

Mobile app crash reports spike during checkout but Salesforce dashboards show green API availability.

Intermediatecorscspsecurity

Implement CORS and CSP for headless web apps calling Salesforce

Browser console shows CORS errors blocking Experience Cloud API calls from custom domain.

Intermediatecart-abandonmentmarketingapi

Design cart abandonment recovery via headless APIs

Marketing wants triggered emails when mobile users abandon baskets without batch exports.

Advancedmetadatatooling-apiadmin

Expose Salesforce metadata to headless admin tools

Internal admin portal needs read-only visibility into picklist values and entitlement configs.

Intermediatei18nlocalizationapi

Handle locale and translation in headless API responses

Product descriptions return English only despite CMS translations existing for 12 locales.

Intermediatereturnsservice-cloudrma

Integrate headless returns portal with Service Cloud RMA

Customers initiate returns in mobile app but warehouse never receives RMA in Service Cloud.

Intermediatefeature-flagsrolloutdevops

Design feature flags for headless channel rollouts

New checkout flow tested in web but mobile release delayed—need shared toggle control.

Intermediatessrseonextjs

Compare server-side vs client-side rendering for SEO commerce

Organic search traffic dropped after SPA migration to client-only React storefront.

Advancedwebhookssecurityverification

Implement webhook signature verification for Commerce events

Security audit requires proof inbound webhooks from Salesforce are authentic and unmodified.

Intermediateloyaltycheckoutredemption

Design headless loyalty redemption at checkout API

Shoppers cannot apply loyalty points in headless checkout though points show in profile API.

Intermediateload-testingperformancepeak

Plan load testing headless APIs before peak season

Last Black Friday crashed APIs at 3x normal traffic; leadership wants proof of readiness this year.

Architectwhatsappagentforcemessaging

Integrate WhatsApp Business API with Agentforce for order support

A consumer electronics brand routes WhatsApp order inquiries through a custom middleware layer. Customers expect catalog images, order lookups, and human escalation within WhatsApp session windows.

Advancedslackintegrationsapprovals

Build Slack operational apps surfacing Salesforce alerts and approvals

Sales ops wants discount approvals and large deal alerts in Slack channels with action buttons updating Salesforce without opening CRM. Security requires least-privilege OAuth per workspace.

Architectreactscapicommerce-api

Architect custom React storefront consuming Commerce Cloud SCAPI

Engineering rebuilds flagship.com in Next.js React while retaining Salesforce B2C Commerce for basket, pricing, and checkout. SEO and Core Web Vitals are board-level KPIs.

Advancedexperience-cloudjwtauth

Implement headless Experience Cloud authentication with JWT bearer tokens

Partner portal built in custom SPA must authenticate users against Experience Cloud without iframe login, supporting SSO from corporate IdP and community self-registration.

Architectagentforceapiembedding

Embed Agentforce session APIs in third-party partner portals

Logistics partners embed support agent in their shipper portal helping customers track Salesforce-stored shipments without visiting your brand site.

Architectb2brevenue-cloudcpq

Design headless B2B quote configuration with Salesforce Revenue Cloud APIs

Industrial distributor replaces legacy CPQ UI with custom React buyer portal requiring complex bundle configuration, contracted pricing, and approval workflows.

Advancedmcpauthenticationagentforce

Secure MCP server authentication for Agentforce external tool calls

DevOps deployed MCP servers on Kubernetes exposing inventory and pricing tools to Agentforce. Security audit flagged missing OAuth and overly broad tool permissions.

Advancedwhatsappcommerce-apinotifications

Send WhatsApp order status updates via Commerce API event pipeline

Customers opt into WhatsApp shipping updates at checkout but messages arrive hours late or with wrong tracking numbers after order export delays.

Intermediateslackflowslash-commands

Implement Slack slash commands triggering Salesforce Flow via API

Support engineers want /create-case Slack command pre-populating Case from thread context but early version created duplicate cases on Slack retries.

Advancedreactssrserver-components

Fetch Salesforce data in React Server Components with cache strategy

Headless marketing site in Next.js App Router hammers Experience Cloud CMS and CRM APIs causing rate limit errors during traffic spikes.

Intermediateexperience-cloudlmsapi

Deliver headless LMS course enrollment via Experience Cloud APIs

Training company embeds course catalog and enrollment in custom Vue app while Salesforce Experience Cloud manages learning objects and completion records.

Architectb2bpricingcontracts

Expose negotiated B2B contract pricing APIs to headless buyer portals

Manufacturing buyers see list price on headless portal instead of contract rates negotiated in Salesforce, causing checkout abandonment and manual quote rework.

Advancedagentforcemobile-sdkapi

Initialize Agentforce mobile SDK sessions from native iOS and Android apps

Retail mobile app embeds Agentforce for in-app support. Sessions drop on app backgrounding and authenticated shoppers lose order context when SDK reinitializes.

Advancedcomposite-apicheckoutperformance

Reduce headless checkout latency with Composite REST API patterns

Single-page checkout makes seven sequential Salesforce callouts causing 4-second submit times on mobile networks during flash sales.

Architectwhatsappcatalogcommerce

Enable WhatsApp catalog commerce integrated with B2C Commerce inventory

Marketing launches WhatsApp catalog shopping in emerging markets but orders oversell when catalog sync lags Commerce inventory by 30 minutes.

Intermediateslackapprovalsrevenue-cloud

Route Slack discount approval workflows to Revenue Cloud quote records

Sales managers approve discount exceptions in Slack but quote status in Salesforce remains pending until someone manually updates CRM hours later.

Architectb2bpunchoutcommerce

Implement B2B punchout catalog integration with headless buyer experience

Enterprise buyer procurement system punchout lands in Salesforce Commerce B2B storefront but return cart cXML fails validation breaking ERP requisition creation.

Advancedreactcommerceadmin

Build custom React admin for Commerce catalog and price management

Merchandisers refuse Business Manager UX and demand custom React admin calling Commerce APIs for bulk price updates during promotions.

Intermediateexperience-cloudknowledgesearch

Expose headless Experience Cloud knowledge search to external support portals

Partner support portal needs federated search across Experience Cloud Knowledge and Service Cloud articles without exposing full CRM to partners.

Architectagentforcemulti-channelwidgets

Coordinate multi-channel Agentforce widgets across web, mobile, and Slack

Customers start support in mobile app, continue on website, and internal ops monitor same threads in Slack alerting channel—inconsistent agent configs cause conflicting answers.

Headless 360 Interview Questions | Salesforce Decode | Salesforce Decode