Skip to main content
Segmetrics logo
  • Category: analytics
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 3
  • Triggers: 0
  • Slug: SEGMETRICS
  • Version: 20261101_00

Tools

Slug: SEGMETRICS_CREATE_PRODUCTAdd 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

string
required
Unique identifier for the product.
string
required
Name of the product.
string ("digital" | "physical")
Type of product. Must be ‘digital’ or ‘physical’.
number
Default price of the product, must be non-negative.
string
required
SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with ‘a’.
string
Description of the product.
string
External system reference ID for the product.
string
required
Integration ID to which this product belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SEGMETRICS_DELETE_CONTACTDelete 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

string
required
SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with ‘a’.
string
required
Integration ID to which this contact belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.
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

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SEGMETRICS_V1_ADD_OR_UPDATE_CONTACTAdd 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

string
required
Contact’s email address.
string ("active" | "inactive")
Contact status, either ‘active’ or ‘inactive’.
string
UTM term parameter.
string
Contact’s last name.
string
required
SegMetrics account ID (Site ID). Found in your SegMetrics Account settings. Format: 6+ characters starting with ‘a’.
string
Unique identifier for the contact (string or numeric). Optional if email is provided.
string
Contact’s first name.
string
UTM medium parameter.
string
UTM source parameter.
string
UTM content parameter.
string
Creation timestamp (YYYY-MM-DD HH:MM:SS).
string
Last-update timestamp (YYYY-MM-DD HH:MM:SS).
string
UTM campaign parameter.
string
required
Integration ID to which this contact belongs. Found in SegMetrics integration settings or in the URL when configuring an integration.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not