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 '{"campaignId":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.3 adds content-ready email and SMS template creation for triggered automations, plus template export and domain discovery:
snx domains list --purpose email
snx templates create \
--name "Welcome email" \
--media-type email \
--mode triggered \
--tracking-domain-id 123 \
--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 \
--mode triggered \
--sms-text-file examples/trial-follow-up-sms.txt
snx templates export 101 --dir exported-template
Campaigns used by stage triggers must be created with --mode triggered. Bulk campaigns are still useful for segment sends, but the automation sender will reject them for stage-trigger actions.
For email templates that will be sent, use a validated email-ready domain from snx domains list --purpose email and pass its ID with --tracking-domain-id.
Publish
python -m pip install -e ".[dev]"
python -m build
python -m twine upload dist/*
Metadata
Release files for salesnexus-cli 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| salesnexus_cli-0.2.6.tar.gz | 25.8 kB | Without provenance | Details for salesnexus_cli-0.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| salesnexus_cli-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for salesnexus_cli-0.2.6-py3-none-any.whl |
Total release size: 67.7 kB
Release files / salesnexus_cli-0.2.6.tar.gz
| Download URL | salesnexus_cli-0.2.6.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f17ffa579dbfb73cedcf07676cc2f99b4a23cab222e4cfeb9ce4f5d4bee09dec
|
|
BLAKE2b-256 checksum How to use checksums |
3cc319a51a3783ed3d82059b1b4df40d24eac105c511c73929deb6a5ca9a0441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / salesnexus_cli-0.2.6-py3-none-any.whl
| Download URL | salesnexus_cli-0.2.6-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f335e92268feab1e39e40fa46777c52ebfd0108c8bd8dfee8f6a73bf5abb405c
|
|
BLAKE2b-256 checksum How to use checksums |
82fea2454e02fbbca6d344e5a06cdb12ea71aa2a8b07f5ae66ac0ec1527c9986
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for salesnexus-cli 0.2.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.