Skip to main content

#Integration토론 중인 항목 67개

Hi Trailblazers,

I’m looking for some architectural advice on integrating a third-party GenAI search widget into our Experience Cloud / B2B Commerce site.

The Setup: We have selected a third-party AI search tool  that sits on our storefront to help users find case studies using natural language. For privacy and compliance reasons, we want this external AI to be completely "stateless."

The Goal: We want Salesforce to hold the "brain." Salesforce will retain the user’s history, past purchases (coursepacks), and role. When an authenticated user interacts with the AI widget (e.g., they ask, "Give me a refreshed version of my pack from last year"), we need Salesforce to dynamically pass that historical context (like past SKUs) to the AI widget at the exact moment of the query, without permanently storing PII on the third-party side.

My Questions:

  1. Passing the Payload: What is the best practice for injecting this dynamic user context into an external widget? Should we use a custom LWC to fetch the user’s history via Apex and pass it as a hidden payload/parameter to the widget's API? Or is it better to encode this context into a JWT?
  2. General Advice: Has anyone built a similar architecture where Salesforce acts as the memory engine for a stateless external AI? Any "gotchas" we should watch out for?

We are not looking to replace the tool with Agentforce at this time; we are strictly focused on the data integration layer between our chosen vendor and Salesforce.

Any insights, documentation, or recommended patterns would be hugely appreciated! Thanks!   

 

@* Salesforce Developers * 

답변 1개
  1. 7월 7일 오후 3:49

    Hi @Roger Kurian

    Could you try using a custom LWC as a wrapper around the vendor widget? The LWC could intercept the user's query, call an Apex controller to retrieve the user's relevant context (such as role, purchase history, and past SKUs), and then pass that context to the AI service at request time.

    If the vendor supports it, you could consider using a short-lived signed JWT to carry the context, as it provides tamper protection and expiration. Otherwise, a minimal JSON context payload sent over HTTPS is also a common and valid approach.

    A few things I'd validate before implementing:

    • Does the vendor's SDK/API support passing custom context (JWT, headers, or metadata)?
    • Is Apex enforcing the correct sharing model for Experience Cloud users?
    • Does the vendor guarantee that request payloads aren't retained or used for model training?
    • Would routing requests through Salesforce or middleware make sense to keep API credentials server-side?

    This approach keeps Salesforce as the system of record while allowing the external AI to remain stateless by receiving only the context needed for each request. 

     

    Hope this helps. Thanks!

0/9000
I would like to trigger an LWC page from Apex method. I tried using PageReference as a return type but it didn't help me. If someone tries the same please add your comments. 

Here is the reason why I am trying this:

 I am trying to make an API call from Apex but it through a certification Error but If I try the same Endpoint from LWC I am getting the expected response. In this case, I am planning to write a schedule (every 30min) class and invoke the LWC component. please add your comments or what could be the alternate solution. 
답변 2개
  1. 어제 오전 5:28

     I was able to resolve it. You need to generate the SSL Certificate from the trusted site and need to upload it to the Endpoint ORG(From where you are getting/sending the data. Then there will be a to and fro data transfer.or check if IP ranges are mentioned in the Endpoint Org(Gole is to make it public or whitelist the IP).Hope you get what I am trying to conway.

0/9000
when I make API call from apex I am receiving Certification Error but when trying the same endpoint from LWC It works fine what could be the reason for this.
답변 4개
  1. 2021년 3월 25일 오전 9:30
    Hi @Nagarajan,

    yes, I was able to resolve it. You need to generate the SSL Certificate from the trusted site and need to upload it to the Endpoint ORG(From where you are getting/sending the data. Then there will be a to and fro data transfer.

    or check if IP ranges are mentioned in the Endpoint Org(Gole is to make it public or whitelist the IP).

    Hope you get what I am trying to conway.
0/9000

Description:

 

We are experiencing an issue with our Salesforce Named Credential TestAdobeSign and Auth Provider setup for integrating with Adobe Sign. After approximately one hour (3600 seconds), the following error is returned:

{"code":"INVALID_ACCESS_TOKEN","message":"Access token provided is invalid or has expired"}

 

Expected Behavior:

 

The access token should be automatically refreshed using the refresh token mechanism, ensuring continuous access to Adobe Sign without manual intervention.

 

Actual Behavior:

 

The access token expires after one hour, and no automatic refresh occurs, resulting in the above error.

 

Additional Information:

 

The Named Credential TestAdobeSign is set up to use OAuth 2.0.

The Auth. Provider for Adobe Sign has been configured correctly with all required endpoints and credentials.

The issue consistently occurs after one hour, indicating that the access token expiration is not being handled as expected.

 

@* Salesforce Developers * 

답변 1개
  1. 2024년 5월 31일 오후 4:13

    Hi @Kunal Satghare,

     

    Ensure that TestAdobeSign and Auth provider is set up correctly in salesforce with the appropriate endpoint and credentials.

    Additionally, Please note that not all Adobe product APIs support the refresh token grant. I would suggest posting this question in the Adobe Community or reaching out to Adobe Support for further troubleshooting.

0/9000

Hi everyone.    I need to find out which integrations are actually in use in our org, along with details on whether it is inbound or outbound, method of connection, etc.    I have checked Connected apps, OAuth usage, etc. Can I get any guidance on how to get such details for sure?   

답변 3개
  1. 6월 26일 오전 4:41

    Hi @Anik Mallick, Unfortunately, there is not a single indicator in Salesforce that can definitively tell you whether an integration is still in use. However, you can gather enough evidence to make an informed decision by checking a few areas that mentioned below, 

     

    • API Usage: Review Setup → System Overview → API Usage and Login History/Event Monitoring (API Total Usage) to see if the integration user or connected app has authenticated recently. 
    • Named Credentials / Connected Apps: Check the Last Used Date (where available) or review authentication logs. 
    • Debug Logs & Event Monitoring: If you have Event Monitoring, the API Event Log can show whether the integration has made API calls recently. 
    • Scheduled Jobs & Apex: Verify whether scheduled Apex, Flows, Platform Events, or middleware jobs related to the integration are still running. 
    • External System Logs: If the integration uses MuleSoft, Boomi, Informatica, etc., check those platforms for recent executions. Sometimes Salesforce shows the configuration, but the middleware confirms whether it's actually being used. 
    • Last Modified/Created Records: If the integration updates specific objects, check for records recently created or modified by the integration user. 

    In my experience, the best approach is to combine these technical checks with business validation. If both the technical evidence (no API activity, no scheduled jobs, no recent record updates) and the business confirm it's unused, you can confidently classify it as a candidate for decommissioning. If there is any uncertainty, consider disabling it first in a lower environment or monitoring it for a few weeks before removing it from production. This approach has worked well in my projects on few years ago. Since this was done in my career starting point and I also faced the same difficulties what you are facing now exactly. 

     

    Hope it helps you.

0/9000

Hi, 

 

I am trying to connect to sf hosted mcp server using named query api as a tool(was trying something related to headless 360). 

 

Not able to connect MCP Server which uses Named Query API as tool

 

Above is screenshot for Named Query API in org. I have enabled this in API catalog too. I have tried connecting this MCP server as a claude connector. Still getting issues. Am I missing something here ?  

 

image.png

 

Can someone please suggest if I am missing something here ? 

 

 

 

#Integration

답변 2개
  1. 6월 26일 오후 8:19

    @Amiya Das Sandip's right, fix the casing first, that's definitely causing the query to fail.

    But even after that, getting the SF-hosted MCP server talking to Claude cleanly is its own headache. A few things that have caught people out: 

     

    Your connected app needs cdp_query_api scope explicitly — general api scope isn't enough for Named Query / Data Cloud endpoints. 

    Double check the MCP server URL is your org-specific one, not a generic Salesforce endpoint. 

    Claude's MCP connector can be finicky with Salesforce's OAuth flow specifically, it doesn't always complete the handshake correctly even when everything looks right on the Salesforce side. 

     

    If you've sorted the query bug and the connection is still unreliable , I've seen people work around it by routing through DataGrout, it sits between your Salesforce tools and the MCP client and handles the auth layer so you're not fighting the connector. Not saying that's your only option but worth a look if you're still stuck.

0/9000
_nc_external/identity/sso/ui/AuthorizationError?ErrorCode=Bad_Id⌗

access_token=******************************************************
답변 2개
  1. 6월 29일 오전 9:10

    「chrome://settings/content/all」にsalesforceサイトの「ポップアップとリダイレクト」の権限を許可に設定していただいた上で

    、再度お試しください。 

     

    「chrome://settings/content/all」にsalesforceサイトの「ポップアップとリダイレクト」の権限を許可に設定していただいた上で、再度お試しください。

     

     

     

0/9000

I am looking into integrating student enrollment/registration data from Modern Campus (Lumens) into Salesforce EDA. Because we do not currently have an enterprise middleware platform (like MuleSoft or Boomi) in place, we are planning on using an automated nightly CSV export dropped onto a secure SFTP server. Has anyone successfully mapped Lumens data into the EDA Interactions staging object using a flat-file method? I would love to hear any recommendations for lightweight, budget-friendly ETL tools (or native Salesforce workarounds) you used to automate the SFTP pickup and ingestion. Any insights, lessons learned, or object mapping tips would be greatly appreciated!   

답변 2개
  1. 6월 29일 오후 2:14

    Hi Katende! Sorry for the delay and thank you so much for the detailed follow-up! 

     

    1. I would anticipate this to be well under 50,000 records, as this will just capture our daily continuing education/open enrollment registration activity. 

     

    2. I am thinking this would be a full system extract. 

     

    3. I could ask, but I'd like to avoid having to use our IT department as much as I can. 

     

    4. I think using a cloud option is the way I'm going to go 

     

    5. It is sounding like it will be clean. The core fields required for the EDA object are present. 

     

    6. Lumens has a unique Learner ID that will have to be mapped to an External ID field on the Salesforce Contact object. 

     

    7. I'd like to have no code.

0/9000

Can someone suggest the best step by step method to integrate Zoom with Marketing Cloud.

 

Like bring in registrant, attendee and Webinar details to Marketing Cloud from Zoom Webinars.

 

#Integration

답변 6개
  1. 6월 29일 오후 12:10

    The approaches mentioned above (API + Automation Studio, webhooks, or middleware) are all valid. 👍 I'd just add a few considerations based on webinar setups I've seen over time.

     

    If Zoom is already a fixed requirement, I'd like @EDGAR Joes suggests, lean towards webhooks or scheduled API syncs over relying heavily on middleware logic/third party apps like Zapier. Keeping Marketing Cloud responsible for segmentation and journeys, while treating the webinar software as the source of engagement data, tends to be easier to maintain.

     

    If you're still evaluating the webinar platform itself, it's also worth looking at solutions with native Salesforce integrations (for example Univid) that can pass registrations, attendance, watch time and other engagement signals directly into the Salesforce ecosystem, instead of building/maintaining the integration yourself. That can reduce the amount of custom integration work over time, as things update and change.

     

    Curious what approach you ended up taking.

0/9000

Hi all,

  We currently integrate Zoom Webinars with Salesforce using Zapier and Salesforce Flows to track registrations and post-event attendance (attended vs no-show).

  While this works functionally, the integration keeps breaking due to ongoing updates across Zoom, Zapier, and Salesforce. Fixing these issues every time has become difficult and time-consuming.   

What I’m specifically looking for:

  • Has anyone implemented a similar Zoom ↔ Salesforce webinar setup that has stayed stable over time?
  • Are you still using Zapier, or did you move to another tool (Workato, MuleSoft, custom API, etc.)?
  • If you stayed with Zapier, what changes helped reduce failures? (decoupling flows, scheduled syncs, retries, etc.)
  • If you moved away from Zapier, what problem did that solve and what tradeoffs did you accept?

We’re not looking for basic “how to connect” steps — we’re trying to learn from real implementations that are working in production.   

Any examples, lessons learned, or recommendations would be extremely helpful.   

Thanks!  

답변 2개
  1. 6월 29일 오전 11:44

    We've seen similar challenges with Zapier and Salesforce over time. It works, but running a third-party integration means depending on three different platforms that can each introduce breaking changes, and where you hit API limits etc.

     

    If webinars are a core workflow rather than an occasional use case, I'd look at moving to a webinar platform with a native Salesforce integration instead of maintaining middleware long term, similar to what @Arpita Chakraborty

    suggests in (2). Imo that's been much more stable than relying on Zapier for registrations and attendance sync. 

      

    Also you can usually get a more automated setup, for example where you:

    • create webinars from Salesforce Campaigns
    • handling registrations through MCAE (ex Pardot)
    • and syncing richer engagement data back to Salesforce Campaign Members (watch time, attendance status, polls, CTA clicks, etc). 

    Imo that makes lead scoring + follow-up more accurate, as well as admin more efficient.

     

    We've had good experiences with the Univid webinar platform for this kind of native setup, but I'd recommend any setup with a webinar platform that has a native (and well-supported) Salesforce integration rather than building around Zapier - if long-term stability is the main goal (rather minimizing cost). Let me know how it goes!

0/9000