Skip to main content

SalesNexus CLI - manage your CRM from the command line

Project description

SalesNexus CLI (snx)

Command-line interface for the SalesNexus Public API v1. It is designed for both humans and AI agents: pass --json for structured output, or pipe output and the CLI will auto-select JSON.

Install locally

cd salesnexus-cli
pip install -e .

Authenticate

snx auth login --api-key sn_live_...
snx ping

Pipeline automation

Version 0.2.0 adds public pipeline-building commands:

snx goals create --name "New User Activation" --type marketing
snx pipelines create --goal-id 123 --name "New User Engagement" --type marketing --default
snx stages create --pipeline-id 456 --name "Signed Up" --order 0
snx triggers create --stage-id 789 --event AddedToStage --action SendEmail --action-params-json '{"templateId":101}'

Agents can create a complete marketing pipeline from a JSON spec:

snx --json marketing-pipelines create --spec examples/new-user-engagement.json

Email and SMS templates

Version 0.2.1 adds content-ready email and SMS template creation:

snx templates create \
	--name "Welcome email" \
	--media-type email \
	--subject "Welcome to SalesNexus" \
	--from-name "SalesNexus" \
	--from-email hello@example.com \
	--raw-html-file examples/welcome-email.html

snx templates create \
	--name "Trial follow-up SMS" \
	--media-type sms \
	--sms-text-file examples/trial-follow-up-sms.txt

Publish

python -m pip install -e ".[dev]"
python -m build
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

salesnexus_cli-0.2.1.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

salesnexus_cli-0.2.1-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file salesnexus_cli-0.2.1.tar.gz.

File metadata

  • Download URL: salesnexus_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for salesnexus_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cbdd0ed161a3b9577533b5a5e6d31f43c08be66f0ea346d487a3c30ee4750f20
MD5 401cf72b1813fdbecaac88c695b08272
BLAKE2b-256 ef9a807ce1896e7ddc0c91bd820be654384679ca48cf0f1c335655ca61dc4da1

See more details on using hashes here.

File details

Details for the file salesnexus_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: salesnexus_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for salesnexus_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d77d1b7038bca012094b5e38476dd197adc99491e4e8b8a8d848a6ef8264b226
MD5 95f4d5cbb75c92a04e638b83d6cafa51
BLAKE2b-256 fa80c4c0d319b4aa78e0b32f80fc53198529a6ba7ee352fe984f7ea05bb2bd05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page