Skip to main content

Python Workflows

Client Initialization

Use this helper function from the AutoKitteh Python SDK:

from autokitteh.salesforce import salesforce_client

client = salesforce_client("autokitteh_connection_name")

The code above uses the AutoKitteh connection's authentication details automatically, and is equivalent to this code snippet

from simple_salesforce import Salesforce

client = Salesforce(
instance_url="https://<your-domain>.develop.my.salesforce.com",
session_id="<ACCESS-TOKEN>",
)

API Reference

Python:

REST: