Skip to main content

node-wire-salesforce

Salesforce CRM connector for Node Wire. Lets an agent or app create, read, update and delete Leads and Contacts through the Salesforce REST API. It authenticates with an OAuth 2.0 refresh token, so long-running agents stay signed in.

Part of Node Wire. Every call runs through the Node Wire runtime, so it gets input validation, retries with a circuit breaker, scope policy, a shared error taxonomy, and OpenTelemetry tracing. A Node Wire host exposes each action over REST, gRPC and MCP.

Install

pip install node-wire-salesforce

This pulls in node-wire-runtime. Pre-releases are published as X.Y.ZbN; install one with pip install --pre node-wire-salesforce. To install every connector at once, use node-wire-connectors.

The wheel is pure Python (py3-none-any) and installs on CPython 3.11, 3.12 and 3.13 on any OS and CPU.

Actions

The connector registers as salesforce. MCP tool names are <connector_id>_<action>, with dots replaced by underscores.

Action MCP tool What it does
create_lead salesforce_create_lead Creates a Lead (last_name and company are required)
read_lead salesforce_read_lead Reads a Lead by record ID
update_lead salesforce_update_lead Updates fields on a Lead
delete_lead salesforce_delete_lead Deletes a Lead
create_contact salesforce_create_contact Creates a Contact (last_name is required), optionally under an Account
read_contact salesforce_read_contact Reads a Contact by record ID
update_contact salesforce_update_contact Updates fields on a Contact
delete_contact salesforce_delete_contact Deletes a Contact

Fields accept both snake_case and Salesforce API names (last_name or LastName). Record IDs accept record_id, id, or lead_id / contact_id.

Configuration

Add the connector to config/connectors.yaml:

connectors:
  salesforce:
    enabled: true
    exposed_via: ["rest", "grpc", "mcp"]
    auth:
      provider: oauth2
      grant_method: refresh_token
      token_url_secret: SALESFORCE_TOKEN_URL
      client_id_secret: SALESFORCE_CLIENT_ID
      client_secret_secret: SALESFORCE_CLIENT_SECRET
      refresh_token_secret: SALESFORCE_REFRESH_TOKEN

Secrets are read through the configured secret provider (environment variables by default):

Variable Purpose
SALESFORCE_INSTANCE_URL Your org's URL, e.g. https://your-domain.my.salesforce.com
SALESFORCE_TOKEN_URL OAuth 2.0 token endpoint, e.g. https://login.salesforce.com/services/oauth2/token
SALESFORCE_CLIENT_ID Consumer key of the connected app
SALESFORCE_CLIENT_SECRET Consumer secret of the connected app
SALESFORCE_REFRESH_TOKEN Refresh token issued to the connected app

Usage

Set NW_ALLOWED_CONNECTORS=salesforce (comma-separate several). Node Wire loads only the connectors listed there, and discovers them through the node_wire.connectors entry point. A Node Wire host (the REST, gRPC or MCP server, or ConnectorFactory) then builds the connector from the configuration above. See Use a connector.

Documentation

License

Apache-2.0. See LICENSE.

Metadata

Release files for node-wire-salesforce 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for node-wire-salesforce 1.1.1
File Interpreter ABI Platform Actions
node_wire_salesforce-1.1.1-py3-none-any.whl Python 3 none any Details for node_wire_salesforce-1.1.1-py3-none-any.whl

Release files / node_wire_salesforce-1.1.1-py3-none-any.whl

Download URL node_wire_salesforce-1.1.1-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14ec30f54f0c39cd62d9c640a346e3c02ba0ace6233de961715ef6c5bef89895
BLAKE2b-256 checksum
How to use checksums
a6dec681e0588de107fcc15c840cc62344fb95d529a0fe46255cf2abf7f1bb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for node-wire-salesforce 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for node_wire_salesforce-1.1.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page