Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 104 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,104 @@
# sss
# 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.