From 3a0d92970f5fec87c3406f92448c2ceebed78b2b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:53:23 +0000 Subject: [PATCH 1/2] Initial plan From 5f6915cd7d2bb10d661afc36d721d2fc4c7d45cb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:54:50 +0000 Subject: [PATCH 2/2] Add comprehensive README documentation for TestTotango project Co-authored-by: srvchawla <15349186+srvchawla@users.noreply.github.com> Agent-Logs-Url: https://github.com/srvchawla/TestTotango/sessions/70aa55c7-4748-49db-8665-d2c849dc0936 --- README.md | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67a9e24..c7cd43d 100644 --- a/README.md +++ b/README.md @@ -1 +1,104 @@ -# sss \ No newline at end of file +# TestTotango + +A project for testing and exploring the [Totango](https://www.totango.com/) customer success platform API and integrations. + +## Table of Contents + +- [Overview](#overview) +- [Getting Started](#getting-started) + - [Prerequisites](#prerequisites) + - [Installation](#installation) +- [Usage](#usage) +- [Configuration](#configuration) +- [Contributing](#contributing) +- [License](#license) + +## Overview + +TestTotango is a repository used to test, prototype, and document integrations with the Totango customer success platform. It serves as a sandbox environment for: + +- Exploring the Totango REST API +- Testing event tracking and user attribute updates +- Prototyping customer success workflows +- Validating integration patterns before production deployment + +## Getting Started + +### Prerequisites + +Before you begin, ensure you have the following: + +- A [Totango](https://www.totango.com/) account with API access +- Your Totango **Service ID** and **API token** + +### Installation + +1. Clone the repository: + + ```bash + git clone https://github.com/srvchawla/TestTotango.git + cd TestTotango + ``` + +2. Configure your Totango credentials (see [Configuration](#configuration)). + +## Usage + +Use this project to send events and attribute updates to Totango. A basic integration typically involves: + +1. **Track an activity** – Send a user activity event to Totango to record customer interactions. +2. **Update account/user attributes** – Synchronize account or user data with Totango to keep customer profiles up to date. + +Example of a Totango tracking payload (HTTP API): + +```json +{ + "sdr": { + "app": { + "module": "Login" + }, + "user": { + "id": "user@example.com", + "name": "Jane Doe" + }, + "account": { + "id": "account-123", + "name": "Acme Corp" + } + } +} +``` + +Refer to the [Totango API Documentation](https://support.totango.com/hc/en-us/categories/200396143-Developer-Guide) for full details on available endpoints and payload schemas. + +## Configuration + +Set the following environment variables before running any integration scripts: + +| Variable | Description | +|-----------------------|------------------------------------------| +| `TOTANGO_SERVICE_ID` | Your Totango Service ID | +| `TOTANGO_API_TOKEN` | Your Totango API authentication token | + +Example (Linux / macOS): + +```bash +export TOTANGO_SERVICE_ID=your-service-id +export TOTANGO_API_TOKEN=your-api-token +``` + +## Contributing + +Contributions are welcome! To contribute: + +1. Fork the repository. +2. Create a new feature branch: `git checkout -b feature/your-feature-name` +3. Commit your changes: `git commit -m "Add your feature"` +4. Push to the branch: `git push origin feature/your-feature-name` +5. Open a Pull Request. + +Please ensure your changes are well-documented and tested before submitting. + +## License + +This project is open source. See the repository for license details.