Tool ID:
salesloft_activities_emails_indexRun this action
Use the TypeScript SDK for a single call. Putctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'salesloft_activities_emails_index',
{
"ids": [
123
],
"updated_at": {
"gt": "example",
"gte": "example",
"lt": "example"
},
"bounced": true
},
);
console.log(result.toolResponse.raw);
CLI
deepline tools execute salesloft_activities_emails_index --input '{
"ids": [
123
],
"updated_at": {
"gt": "example",
"gte": "example",
"lt": "example"
},
"bounced": true
}' --json
Example response
The SDK exposes this shape atresult.toolResponse.raw. Values below are representative.
{
"data": [
{
"id": 123,
"created_at": "2026-01-15T12:00:00Z",
"updated_at": "2026-01-15T12:00:00Z"
}
]
}
deepline tools get salesloft_activities_emails_index --json for the latest machine-readable contract.
Input reference
Fetches multiple email records. The records can be filtered, paged, and sorted according to the respective parameters.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.ids | array | No | — | IDs of emails to fetch. If a record can’t be found, that record won’t be returned and your request will be successful |
payload.updated_at | object | No | — | Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision. |
payload.bounced | boolean | No | — | Filters emails by whether they have bounced or not |
payload.crm_activity_id | array | No | — | Filters emails by crm_activity_id. Multiple crm activity ids can be applied |
payload.action_id | array | No | — | Filters emails by action_id. Multiple action ids can be applied |
payload.user_id | array | No | — | Filters emails by user_id. Multiple User ids can be applied |
payload.status | array | No | — | Filters emails by status. Multiple status can be applied, possible values are sent, sent_from_gmail, sent_from_external, pending, pending_reply_check, scheduled, sending, delivering, failed, cancelled, pending_through_gmail, pending_through_external |
payload.cadence_id | array | No | — | Filters emails by cadence. Multiple cadence ids can be applied |
payload.step_id | array | No | — | Filters emails by step. Multiple step ids can be applied |
payload.one_off | boolean | No | — | Filters emails by one-off only |
payload.scoped_fields | array | No | — | Specify explicit scoped fields desired on the Email Resource. |
payload.person_id | array | No | — | Filters emails by person_id. Multiple person ids can be applied |
payload.email_addresses | array | No | — | Filters emails by recipient email address. Multiple emails can be applied. |
payload.personalization | array | No | — | Filters emails by personalization score |
payload.sent_at | object | No | — | Returns all matching records that are greater than the provided iso8601 timestamp. The comparison is done using microsecond precision. |
payload.email_template_id | array | No | — | Filters emails by email_template_id. Multiple Email Template ids can be applied |
payload.account_id | array | No | — | Filters emails by account_id. Multiple Account ids can be applied |
payload.has_replies | boolean | No | — | Filters emails by whether they have any replies or none |
payload.has_clicks | boolean | No | — | Filters emails by whether they have any clicks or none |
payload.has_views | boolean | No | — | Filters emails by whether they have any views or none |
payload.draft_with_ai | boolean | No | — | Filters emails by whether they were drafted with AI assistance or not |
payload.sort_by | string | No | — | Key to sort on, must be one of: updated_at, recipient, send_time, account, subject, views, clicks, replies. Defaults to updated_at |
payload.sort_direction | string | No | — | Direction to sort in, must be one of: ASC, DESC. Defaults to DESC |
payload.per_page | integer | No | — | How many records to show per page in the range [1, 100]. Defaults to 25 |
payload.page | integer | No | — | The current page to fetch results from. Defaults to 1 |
payload.include_paging_counts | boolean | No | — | Whether to include total_pages and total_count in the metadata. Defaults to false |
payload.limit_paging_counts | boolean | No | — | Specifies whether the max limit of 10k records should be applied to pagination counts. Affects the total_count and total_pages data |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | array | Yes | — | Provider response payload. |
result.data[].id | integer | No | — | ID of Email |
result.data[].created_at | string | No | — | Datetime of when the email was created Format: date-time. |
result.data[].updated_at | string | No | — | Datetime of when the email was last updated Format: date-time. |
result.data[].recipient_email_address | string | No | — | Email address of the recipient |
result.data[].status | string | No | — | Status of this email through the sending process. Possible values are: sent, sent_from_gmail, sent_from_external, pending, pending_reply_check, scheduled, sending, delivering, failed, cancelled, pending_through_gmail, pending_through_external |
result.data[].bounced | boolean | No | — | Whether this email bounced |
result.data[].send_after | string | No | — | When this email will be sent, or null if already sent Format: date-time. |
result.data[].sent_at | string | No | — | When this email was sent, or null if it was not sent Format: date-time. |
result.data[].view_tracking | boolean | No | — | Whether this email had view tracking enabled |
result.data[].click_tracking | boolean | No | — | Whether this email had click tracking enabled |
result.data[].message_id | string | No | — | ID of Client Email Message |
result.data[].headers | record | No | — | Selected headers that are included if this email used them. Available keys are: cc, bcc |
result.data[].personalization | string | No | — | Percentage of this email that has been personalized |
result.data[].subject | string | No | — | Subject of the email. This field has been determined sensitive and requires a specific scope to access it. |
result.data[].body | string | No | — | Email Body |
result.data[].error_message | string | No | — | Error message of the email. This field has been determined sensitive and requires a specific scope to access it. |
result.data[].draft_with_ai | boolean | No | — | Whether this email body was drafted with AI assistance |
result.data[].email_thread_id | integer | No | — | ID of the email thread this email belongs to |
result.data[].counts | object | No | — | — |
result.data[].counts.clicks | integer | No | — | The number of times links in the email were clicked |
result.data[].counts.views | integer | No | — | The number of times the email was opened |
result.data[].counts.replies | integer | No | — | The number of replies the email received |
result.data[].counts.unique_devices | integer | No | — | The number of unique devices that opened the email |
result.data[].counts.unique_locations | integer | No | — | The number of unique locations that opened the email |
result.data[].counts.attachments | integer | No | — | The number of attachments on the email |
result.data[].user | object | No | — | User that sent this email |
result.data[].user.id | integer | No | — | — |
result.data[].user._href | string | No | — | — |
result.data[].recipient | object | No | — | The person whom received this email |
result.data[].recipient.id | integer | No | — | — |
result.data[].recipient._href | string | No | — | — |
result.data[].mailing | object | No | — | The mailing that this email was a part of |
result.data[].mailing.id | integer | No | — | — |
result.data[].action | object | No | — | Action that this email was sent from, or null if not sent through a cadence |
result.data[].action.id | integer | No | — | — |
result.data[].task | object | No | — | Task that this email was sent from, or null if not sent through a cadence |
result.data[].task.id | integer | No | — | — |
result.data[].crm_activity | object | No | — | CRM Activity associated with this email |
result.data[].crm_activity.id | integer | No | — | — |
result.data[].crm_activity._href | string | No | — | — |
result.data[].cadence | object | No | — | Cadence the email was sent on |
result.data[].cadence.id | integer | No | — | — |
result.data[].cadence._href | string | No | — | — |
result.data[].step | object | No | — | Step the email was sent on |
result.data[].step.id | integer | No | — | — |
result.data[].step._href | string | No | — | — |
result.data[].email_template | object | No | — | Template used for this email |
result.data[].email_template.id | integer | No | — | — |
result.data[].email_template._href | string | No | — | — |
Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.