get_segment_contacts
Get Segment Contacts
Retrieve all contacts belonging to a specific segment. Provide the segment ID to get its members.
get_segment_contacts
Retrieve all contacts belonging to a specific segment. Provide the segment ID to get its members.
send_email
Send a one-off email message to a single recipient. Allows setting sender, subject, HTML/plain text content, reply-to address, and tags. For sending prepared templates or multi-channel messages, use the **Send Prepared Message** tool instead.
delete_orders
Delete orders from eSputnik by their external order IDs.
update_segment_membership
Attach or detach contacts from a static segment. Provide either internal contact IDs or external customer IDs to identify the contacts.
send_prepared_message
Send a pre-configured message template (SmartSend) to one or more recipients. Supports all channels: Email, SMS, Viber, Mobile Push, Web Push, Telegram, App Inbox. Dynamic content can be injected via Velocity template parameters per recipient using the `jsonParam` field.
get_account_info
Retrieve eSputnik account information and current organization balance including credit limits, currency, and bonus allocations.
list_segments
Retrieve all segments (groups) in your eSputnik account. Returns each segment's ID, name, and type (Static or Dynamic).
get_message_status
Check the delivery status of one or more sent messages using request IDs obtained from the Send Prepared Message tool.
send_sms
Send an SMS message to a single recipient by phone number. Optionally use a pre-configured message template. If the phone number does not match an existing contact, a new contact will be created automatically.
upsert_contact
Add a new contact or update an existing one in eSputnik. If a contact with the same channel value already exists, it will be updated. Supports setting channels (email, SMS, Viber, etc.), personal info, address, custom fields, and segment membership.
generate_event
Generate a custom event in eSputnik to trigger workflows. Events are used for abandoned cart reminders, transactional emails, password recovery, and other triggered scenarios. The `params` must include a contact identifier (e.g., Email, Phone, externalCustomerId) and can carry any additional data for use in workflows and message templates.
get_contact
Retrieve a single contact by their eSputnik internal contact ID. Returns full contact details including channels, custom fields, address, and segment membership.
search_contacts
Search for contacts in eSputnik by email, phone number, external customer ID, first name, or last name. Returns matching contacts with their channels, custom fields, and segment membership.
add_orders
Submit orders to eSputnik for tracking and automated workflows. Each order automatically generates an event (e.g., orderDELIVERED, orderCANCELLED) that can trigger workflows. Orders require a contact identifier (externalCustomerId, email, or phone) to associate with a contact. Only **DELIVERED** orders count toward RFM analysis and revenue reporting.
bulk_upsert_contacts
Add or update multiple contacts at once. Supports deduplication, segment assignment, and custom fields. Use this for importing batches of contacts efficiently.
delete_contact
Delete a contact from eSputnik. You can delete by internal contact ID or by external customer ID.
manage_unsubscribes
Add or remove email addresses from the unsubscribed list. Unsubscribing an email prevents email delivery to that address; other channels (SMS, Viber, etc.) remain active.
Manage contacts, segments, and omnichannel marketing campaigns across Email, SMS, Viber, Web Push, Mobile Push, App Inbox, Telegram, and In-App channels. Add, update, delete, and search contacts with custom fields and subscription management. Create and manage dynamic and static audience segments. Send bulk broadcasts or individual triggered messages with dynamic content. Generate custom events to trigger automated workflows for abandoned carts, transactional emails, and post-purchase follow-ups. Manage orders, upload promotional codes, configure product feeds, and retrieve personalized product recommendations. Track message delivery statuses and contact activity via webhooks. Retrieve account information, billing history, and organization balance.
Common questions about connecting Esputnik to AI agents with Metorial.