Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salesforce: add function(s) to make a request to a REST API #464

Closed
daissatou2 opened this issue Jan 18, 2024 · 2 comments · Fixed by #465
Closed

Salesforce: add function(s) to make a request to a REST API #464

daissatou2 opened this issue Jan 18, 2024 · 2 comments · Fixed by #465
Assignees

Comments

@daissatou2
Copy link

Add functionality to the SF adaptor to make a request to a REST API. Add this to the Salesforce adaptor once you get it working via HTTP.

Test this using the WaterAid credential in LP named: "Water Aid - API Only Sandbox". If you POST to the following endpoint the system will create a Contact: wateraiduk--config2.sandbox.my.salesforce.com/v33.0/actions/custom/flow/POC_OpenFN_Test_Flow

After sending the request confirm with Tom via Slack that the correct resource was created.

See Slack thread with the original request. See helpful Docs below:

  1. https://help.salesforce.com/s/articleView?id=sf.flow_distribute_system_rest.htm&type=5
  2. https://astreait.com/Calling-REST-API-from-Flows-in-Salesforce/
  3. https://www.asagarwal.com/step-by-step-guide-to-calling-flow-from-an-api/
  4. https://www.postman.com/salesforce-developers/workspace/salesforce-developers/request/12721794-684df392-aebc-4ff8-9ff7-30f6e4e88b74
  5. https://www.salesforceben.com/introduction-salesforce-flow/#:~:text=What%20are%20Salesforce%20Flows%3F,help%20of%20a%20Salesforce%20developer
@mtuchi mtuchi linked a pull request Jan 18, 2024 that will close this issue
3 tasks
@daissatou2
Copy link
Author

Moving to icebox.

Message from Tom: "Let's leave this parked for now. We are currently not able to call the 3rd Party functionality within Salesforce Flow until we get clarification from that side, if we get a reply at all so don't want to currently devote any further time to these efforts."

@taylordowns2000 taylordowns2000 moved this to Icebox in v2 Feb 3, 2024
@mtuchi
Copy link
Collaborator

mtuchi commented Feb 15, 2024

This was done and released on #465

@mtuchi mtuchi closed this as completed Feb 15, 2024
@github-project-automation github-project-automation bot moved this from Icebox to Done in v2 Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants