Skip to main content

Questions tagged [external-services]

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Passing Autherization Token from Apex to Salesforce External Services method

I am using External services for integration. I've created Named Credentials, External Named Credentials, External Services Utilized Custom API. In 1st method call I'll be getting Authentication token ...
Hari Enaganti's user avatar
0 votes
1 answer
52 views

In Flow, access the DefaultExc values for a HTTP Callout Action

In a flow, we are making HTTP Callouts to a middleware layer to sync values to an external system. We set the HTTP Callout Action with only a 2XX response (this is how we received the definition from ...
xouns's user avatar
  • 145
1 vote
0 answers
24 views

Is there any way to change property names (to remove the x5f that replaces underscores) in dynamic apex classes generated from External Services?

When using External Services to generate Dynamic Apex classes for use in no-code solutions like Flows, if a property has an underscore in it, the underscore is replaced with "x5f" in the ...
Adam E's user avatar
  • 11
0 votes
1 answer
64 views

External callouts from Salesforce to third-party services that mandate IP restrictions

We make external callouts from Salesforce to a third-party - let's call them XYZ for this discussion. We currently use MuleSoft for for this integration - there's a Salesforce experience API and an ...
Ryan.Bartsch's user avatar
-1 votes
1 answer
33 views

How to use External Services within Illuminated Cloud

I was able to register a REST API as an External Service via the Open API spec in my sandbox. When I refresh the metadata in Illumnated Cloud, my Apex code doesn't resolve the ExternalService ...
Kyle J V's user avatar
  • 285
2 votes
0 answers
27 views

Three-person chat

Is it possible to operate a three-way chat in Salesforce? We offer intermediary services between customers - they do not have user accounts Sometimes customers need to communicate with each other in ...
Salawa's user avatar
  • 23
2 votes
2 answers
572 views

Issues using jsPDF library in an LWC

recently in our org we have needed the ability to create PDF files. I am aware you can do this using visualforce pages with the render as PDF method, however we would like the pdf to be styled more ...
Jake Colledge's user avatar
1 vote
0 answers
142 views

Using External Services with an API that Returns No Body or an Object

I have set up an integration using External Services and this is mainly working as expected. Here is the full schema One of the GET requests returns an object when valid data is found (based on ...
nathanvoller's user avatar
0 votes
0 answers
24 views

Salesforce External service generated Dynamic Apex classes has _set attribute which is rejected by target endpoint [duplicate]

Facing the same issue as highlighted in External services generated Dynamic Apex has _set attribute which is rejected by target endpoint. i.e. the when I register an external service with an Open API ...
Alokste's user avatar
0 votes
0 answers
98 views

External Service: Not able to select correct Apex Class in Variable-Type "Apex-Defined"

I create a flow in Salesforce and use the element Action to call an operation of an External Service. The External Service was created using an JSON OpenAPI Spec. 3 dynamic Apex Classes were created: ...
Frank Kern's user avatar
0 votes
0 answers
43 views

Discriminator support in Salesforce External Service

I have an ExternalService in Salesforce from an OpenAPI 3.0 spec. We have multiple object types that we can get which are all nested under the same path for the GET request (eg. ExampleSubObject1 and ...
Brandon Shute's user avatar
0 votes
0 answers
153 views

External Service with nested objects - How do you set input to the Action in Flow

I setup an external service to execute a Post callout through a Flow Action. The problem is I can't set the input in the action to an Apex-Defined variable which has two variables nested in it. I have ...
DevAndy's user avatar
0 votes
0 answers
48 views

O Data Service - How to Auto sync data from other system to SFDC external objects?

From Odata services, I've connected to SAP system. It automatically created an external object and fields based on the table in SAP in SFDC and I created an indirect lookup to the case. I can see the ...
Surya's user avatar
  • 11
2 votes
0 answers
81 views

When trying to call external API, keep having to re-autheticate despite receiveing Refresh Token from API

I have an application which sits in Salesforce. The application authenticates using the web browser flow, authenticating against an external API. Upon authentication, the external API returns an ...
Faith's user avatar
  • 21
0 votes
0 answers
59 views

Sending data To external services using Record-Triggerd

I have a Record Trigger Flow in Salesforce responsible for sending data to external services. The key requirement is for this flow to trigger only once, specifically when there's a change in the Tag ...
user131546's user avatar
-2 votes
1 answer
2k views

Error 400 and Error 401

good day to all the users This is my issue, i have 2 environments SO this environments need to send data from sandbox to an app I insert the data with anonymous Window For the 1 environment when I ...
Moon's user avatar
  • 13
1 vote
0 answers
257 views

External Credential Flow (Existing_link)

Struggeling to Authenticate to Microsoft AD With Open ID Connect using Named Credentials/External Credentials. First of all: This approach works on all Salesforce Instances, now I have this issue on a ...
TheShadow's user avatar
  • 315
1 vote
1 answer
231 views

External services generated Dynamic Apex has _set attribute which is rejected by target endpoint

Trying to use External Services to process a list of Objects. YAML JSON attribute looks like below, "FirstName": { "type": "string", ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
156 views

Can We Dynamically Create Accept Header In External Credentials

We have an External Service which uses different accept headers based on the operation such as: Operation1 - application/op1+json Operation2 - application/op2+json Operation3 - application/op3+json ...
ddeve's user avatar
  • 1,610
0 votes
0 answers
265 views

How to specify audience for OAuth token in SF when configuring auth for an Azure protected API endpoint hosting external data?

I have an external data source hosted in Azure which is an OData API endpoint. Everything works well with auth disabled. I created an application registration in Azure AD to represent the API and ...
Josh's user avatar
  • 101
0 votes
1 answer
252 views

Define an External Service that accepts application/xml

This is similar to How to use HTTP Callout action in Flow with body of Content-Type: application/x-www-form-urlencoded I am trying to create an HTTP callout for a flow. The service I am calling is ...
user1821431's user avatar
0 votes
1 answer
165 views

Convert Dynamic Apex classes to String

We are thinking of using External Services to integrate with an external application. Due to the nature of the application, we want to create logging records in Salesforce (creating a Log object to ...
xouns's user avatar
  • 145
0 votes
1 answer
601 views

. Can't perform callout when resuming a flow or inside an Apex Queueable

Currently, I've setup a scheduled flow to make an external callout. If i debug manually it's working successfully because it's firing for a single record. But if i scheduled the flow I'm getting below ...
Pavan tej's user avatar
  • 1,410
0 votes
0 answers
442 views

OAuth Client Credentials flow for external services - token expiration

I'm trying to connect to Marketo REST API via an external service leveraged in a flow, using the client credentials external credential and a named credential. Here is Marketo's doc on authentication ...
grantspants's user avatar
1 vote
1 answer
469 views

Invocable Method to return External Service data type

Ideally, we will create an External Service based on the API Schema and use it in Flows. For some reason, when we do callouts in the Flow, the API cannot parse the Authorization header correctly, ...
codefish's user avatar
6 votes
2 answers
465 views

Zap scan commercial APIs used in AppExchange apps?

My Managed package, which will soon be submitted for Security Review to be listed on the AppExchange, uses two commercial REST APIs (one of them is the Open AI API for GPT4). As someone who submitted ...
Robert Sösemann's user avatar
0 votes
1 answer
131 views

Flow does not registed selection of picklist in flow when run as site guest user in embedded service

I inserted an embedded service deployment into an external site that launches a flow. I have a picklist field that my "support Site Guest User" cannot seem to fill in for the flow. Here is ...
Matthew Metros's user avatar
1 vote
1 answer
310 views

Code Coverage requirements for External Services and Flows in Unlocked Packages

I created an unlocked Salesforce package that contains an External Service and an Inactive Autolaunched Flow that calls methods in the External Service. The package does not contain any Apex classes ...
Mary Hamlin's user avatar
0 votes
1 answer
190 views

External Service to create user in Azure returns Bad Request

Okay here is a tough one. I am playing around with External Services to connect to the Azure (Microsoft Graph) API. I can confirm that my named credential is working and I am successful in querying ...
Jannis Bott's user avatar
1 vote
1 answer
251 views

Integration properties which has a underscore (_) in the name is not parsed correctly with external services

I am using external service for making a getting call and getting results in JSON from a AZURE server. The results are coming back correctly into salesforce by using external service where i imported ...
Anil Shivaraj's user avatar
1 vote
1 answer
648 views

External Services - Accessing nested object in response

I'm testing out using external services with the OFAC-API.com I'm successfully using Search API v3 to search for a fella in Russia. I'm having trouble parsing information out of the response, as its ...
gorav's user avatar
  • 4,557
0 votes
1 answer
267 views

Setting up per user JWT claim Named Credential

I'm trying to setup a per-user JWT claim as per the documentation here the issue is it specifies Subject of the token (the user). The subject is a string when the identity type is named principal, ...
KarlLivesey's user avatar
-1 votes
4 answers
1k views

Calling External API before the record is saved

I want to call an external service whenever there's an update in a record from the UI for specific attributes. And stop the update if the external call failed. I was thinking if it's possible to do ...
ashwini571's user avatar
2 votes
0 answers
347 views

External Services - Timeout Limit

I am working on an integration where I am using external services and a screen flow to call an external API and display the result to the user. In Apex you can set the timeout of an API call to a ...
sfdx_guy17's user avatar
3 votes
1 answer
1k views

Guest User access to External Credentials

I'm trying to make a callout from an unauthenticated experience page using an External Credential but I get this error. The callout couldn't access the endpoint. You might not have the required ...
jonny-harte's user avatar
2 votes
2 answers
2k views

How to set the requestBody parameter as an input variable for a flow tied to external services?

I am exploring options of moving from code based apex to 'flows' using 'external services'. The service basically takes 3 parameters: SSN, account number and VIN (optional) and gives back a boolean ...
Anil Shivaraj's user avatar
1 vote
0 answers
513 views

Call External Service from LWC using Apex

I am trying to invoke External Service using Apex from LWC, but I am receiving an error: System.InvalidParameterValueException: Invalid output parameter type Background: Using BankService External ...
Abhijit's user avatar
  • 11
1 vote
1 answer
733 views

Populate Flow picklist values by calling external API

I am working on a pretty challenging problem. I need to do this mostly declaratively so I used Lighting Flow and External Services. I built a simple screen flow as shown below: The issue is that I ...
user3688231's user avatar
0 votes
1 answer
842 views

Can't get External Service actions to work in Flow

So I'm trying to call an external API using a Flow, so I added everything I needed to get the connection set: auth provider, named credential and external service. So far so good, connection is ...
Nuno Donato's user avatar
9 votes
2 answers
4k views

What are: Dynamic Apex Classes in Setup > Apex Classes

What are Dynamic Apex Classes? They are in a Winter 23 preview org in: Setup > Apex Classes In a section called Dynamic Apex Classes and they have a description of: Dynamic Apex extends your ...
Robs's user avatar
  • 9,426
1 vote
0 answers
473 views

Change Mime Type Response From Text to JSON For Declarative External Services

OpenApi 2.0 or 3.0 declarative External Services used in Flow getting error Expected declared response media type application/json, but got text/plain; charset=UTF-8 for operation get. It appears 3rd ...
ddeve's user avatar
  • 1,610
0 votes
2 answers
1k views

Declarative External Service Suddenly Getting Media Type Response Error

Open API 2.0 schema used as Invocable Apex with Flow that has been working for six months. Two days ago we started getting an error on the 200 response. Expected declared response media type ...
ddeve's user avatar
  • 1,610
3 votes
0 answers
4k views

Flow - Set Apex defined Collection Values in Flow

I have used external services to create the apex classes for connection to an external service through api. The aim is to post value to the external service and I am struggling to set the values for ...
Dru Rattigan's user avatar
1 vote
1 answer
175 views

Security Review: Cloud Service uses and stores OAuth tokens

My customer runs a Cloud Service for many years, that connects with Salesforce orgs via OAuth flow and stores org tokens in its database. As this service wasn't on the AppExchange my customer did not ...
Robert Sösemann's user avatar
0 votes
1 answer
275 views

External Services - Nested object in response appears to be blank in Flow but is populated in Postman

There is already a question asking the same, however it is still not responded. I am using an external service and in the response, I am supposed to receive a nested object as per the following ...
Gabriel Serrano Salas's user avatar
5 votes
1 answer
606 views

External Service in a Managed Package Doesn't Work in Subscriber Orgs

I'm developing an api integration feature from Salesforce to an external web service in a managed package using External Service, Named Credential and Flow. The feature works in a packaging org but ...
Hiroki Yuda's user avatar
1 vote
0 answers
748 views

Is There Workaround for Using a Bearer Token as Authentication for Declarative Named Credential?

My OpenApi 3.0 schema requires just a bearer token as authentication. Salesforce declarative Named Credential does not offer this as option. When using Password Authentication with a dummy username I ...
ddeve's user avatar
  • 1,610
0 votes
3 answers
961 views

Import Mulesoft APIs with External Services - 301 Moved Permanently Response

I have been following the instructions provided in the official salesforce developer docs here regarding importing mulesoft apis using sfdc external services for use in a flow. I have followed the ...
FrankieDonkeyBrains's user avatar
1 vote
1 answer
227 views

sprinkledata: How to connect using Salesforce connector

This might be very specific to tool sprinkledata. But I have tried everything. Only these data needs to be filled in and I tried everything. On Server Location* : I tried Instance Name, test, whole ...
Nagendra Singh's user avatar
-2 votes
1 answer
119 views

Add two values that return from API

I'm going to be calling a REST endpoint to return back data for two datapoints into a lightning component in SF. This is only needed from a UI standpoint visually on the lightning component. This may ...
DigitalWoman's user avatar