> For the complete documentation index, see [llms.txt](https://docs.feathery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feathery.io/platform/build-forms/advanced-logic/visual-rule-builder/connect-to-api-action/salesforce-api-connector.md).

# Salesforce API Connector

Feathery offers pre-configured Salesforce API connectors that allow users to write custom SOQL.

If you have Feathery's [Salesforce integration](https://www.feathery.io/integrations/salesforce) enabled on a form, you can build custom Salesforce API connectors that leverages your integration connection.

<figure><img src="https://640450274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHAVngDAEk3s8Bw7P6Ntz%2Fuploads%2F3WHG8a9IaBjs4xdgkLh2%2FScreenshot%202024-09-03%20at%205.21.45%E2%80%AFPM.png?alt=media&amp;token=89f379fe-2b03-4141-ab77-0f9de488d753" alt="" width="375"><figcaption></figcaption></figure>

The Salesforce API connector allows you to configure a custom SOQL query to prefill data from your Salesforce instance into your Feathery form. The SOQL query can leverage data from your existing Feathery fields, and the data that is returned can also be used to populate various fields.

<figure><img src="https://640450274-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHAVngDAEk3s8Bw7P6Ntz%2Fuploads%2FW83DeHDbYvPXin0cIcER%2FScreenshot%202024-09-03%20at%205.12.16%E2%80%AFPM.png?alt=media&amp;token=daaf6852-0304-4072-b7c8-94a4a404ea09" alt=""><figcaption></figcaption></figure>

Similar to other API connectors, Salesforce API connectors can be used in any logic rule, at any point in your form flow. You can also switch to **Advanced Configuration** mode at any point to have full control of the API request being sent to Salesforce.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.feathery.io/platform/build-forms/advanced-logic/visual-rule-builder/connect-to-api-action/salesforce-api-connector.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
