> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Segmetrics

> SegMetrics is a marketing analytics platform that provides detailed insights into customer journeys, helping businesses optimize their marketing strategies.

![Segmetrics logo](https://mintcdn.com/composio-preview/YYC5iurbUCUzEs77/images/toolkits/segmetrics.svg?fit=max\&auto=format\&n=YYC5iurbUCUzEs77\&q=85\&s=a408ff881f4d6238a6c0f98a3c9dd922)

* **Category:** analytics
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 3
* **Triggers:** 0
* **Slug:** `SEGMETRICS`
* **Version:** 20261101\_00

## Tools

> [accordion] Create Product
>
> **Slug:** `SEGMETRICS_CREATE_PRODUCT`
>
> Add a product to a SegMetrics integration using its ID and name. If a product with that ID already exists, it is updated instead.
>
> #### Input Parameters
>
> **id** `string` *required*
>
> Unique identifier for the product.
>
> **name** `string` *required*
>
> Name of the product.
>
> **type** `string ("digital" | "physical")`
>
> Type of product. Must be 'digital' or 'physical'.
>
> **price** `number`
>
> Default price of the product, must be non-negative.
>
> **account\_id** `string` *required*
>
> SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with 'a'.
>
> **description** `string`
>
> Description of the product.
>
> **external\_id** `string`
>
> External system reference ID for the product.
>
> **integration\_id** `string` *required*
>
> Integration ID to which this product belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Contact
>
> **Slug:** `SEGMETRICS_DELETE_CONTACT`
>
> Delete contacts from a SegMetrics integration by contact ID or email. Deleting by email affects all contacts in the integration with that address; associated invoices and purchases remain.
>
> #### Input Parameters
>
> **account\_id** `string` *required*
>
> SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with 'a'.
>
> **integration\_id** `string` *required*
>
> Integration ID to which this contact belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.
>
> **contact\_id\_or\_email** `string` *required*
>
> The unique identifier (contact\_id) or email address of the contact to delete. Using an email will delete all contacts with that email in the integration.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Add or Update Contact
>
> **Slug:** `SEGMETRICS_V1_ADD_OR_UPDATE_CONTACT`
>
> Add or update a contact in a SegMetrics integration during data import. Email is required by this tool; when a contact ID is supplied, SegMetrics gives it priority over email when matching an existing contact.
>
> #### Input Parameters
>
> **email** `string` *required*
>
> Contact's email address.
>
> **status** `string ("active" | "inactive")`
>
> Contact status, either 'active' or 'inactive'.
>
> **utm\_term** `string`
>
> UTM term parameter.
>
> **last\_name** `string`
>
> Contact's last name.
>
> **account\_id** `string` *required*
>
> SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with 'a'.
>
> **contact\_id** `string`
>
> Unique identifier for the contact (string or numeric). Optional if email is provided.
>
> **first\_name** `string`
>
> Contact's first name.
>
> **utm\_medium** `string`
>
> UTM medium parameter.
>
> **utm\_source** `string`
>
> UTM source parameter.
>
> **utm\_content** `string`
>
> UTM content parameter.
>
> **date\_created** `string`
>
> Creation timestamp (YYYY-MM-DD HH:MM:SS).
>
> **last\_updated** `string`
>
> Last-update timestamp (YYYY-MM-DD HH:MM:SS).
>
> **utm\_campaign** `string`
>
> UTM campaign parameter.
>
> **integration\_id** `string` *required*
>
> Integration ID to which this contact belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
