Tool ID:
pipedrive_get_activitiesRun 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(
'pipedrive_get_activities',
{
"filter_id": 123,
"ids": "example",
"owner_id": 123
},
);
console.log(result.toolResponse.raw);
CLI
deepline tools execute pipedrive_get_activities --input '{
"filter_id": 123,
"ids": "example",
"owner_id": 123
}' --json
Example response
The SDK exposes this shape atresult.toolResponse.raw. Values below are representative.
{
"data": {
"success": true,
"data": [
{
"id": 123,
"subject": "Introduction",
"type": "example"
}
],
"additional_data": {
"next_cursor": "cursor_123"
}
}
}
deepline tools get pipedrive_get_activities --json for the latest machine-readable contract.
Input reference
Returns data about all activities.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.filter_id | integer | No | — | If supplied, only activities matching the specified filter are returned |
payload.ids | string | No | — | Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response. |
payload.owner_id | integer | No | — | If supplied, only activities owned by the specified user are returned. If filter_id is provided, this is ignored. |
payload.deal_id | integer | No | — | If supplied, only activities linked to the specified deal are returned. If filter_id is provided, this is ignored. |
payload.lead_id | string | No | — | If supplied, only activities linked to the specified lead are returned. If filter_id is provided, this is ignored. |
payload.person_id | integer | No | — | If supplied, only activities whose primary participant is the given person are returned. If filter_id is provided, this is ignored. |
payload.org_id | integer | No | — | If supplied, only activities linked to the specified organization are returned. If filter_id is provided, this is ignored. |
payload.done | boolean | No | — | If supplied, only activities with specified ‘done’ flag value are returned |
payload.updated_since | string | No | — | If set, only activities with an update_time later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z. |
payload.updated_until | string | No | — | If set, only activities with an update_time earlier than this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z. |
payload.sort_by | "id" | "update_time" | "add_time" | "due_date" | No | "id" | The field to sort by. Supported fields: id, update_time, add_time, due_date. Allowed: id, update_time, add_time, due_date. |
payload.sort_direction | "asc" | "desc" | No | "asc" | The sorting direction. Supported values: asc, desc. Allowed: asc, desc. |
payload.include_fields | "attendees" | No | — | Optional comma separated string array of additional fields to include Allowed: attendees. |
payload.limit | integer | No | — | For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. |
payload.cursor | string | No | — | For pagination, the marker (an opaque string value) representing the first item on the next page |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.success | boolean | No | — | If the response is successful or not |
result.data.data | array | No | — | Activities array |
result.data.data[].id | integer | No | — | The ID of the activity |
result.data.data[].subject | string | No | — | The subject of the activity |
result.data.data[].type | string | No | — | The type of the activity |
result.data.data[].owner_id | integer | No | — | The ID of the user who owns the activity |
result.data.data[].creator_user_id | integer | No | — | The ID of the user who created the activity |
result.data.data[].is_deleted | boolean | No | — | Whether the activity is deleted or not |
result.data.data[].add_time | string | No | — | The creation date and time of the activity |
result.data.data[].update_time | string | No | — | The last updated date and time of the activity |
result.data.data[].deal_id | integer | No | — | The ID of the deal linked to the activity |
result.data.data[].lead_id | string | No | — | The ID of the lead linked to the activity |
result.data.data[].person_id | integer | No | — | The ID of the person linked to the activity |
result.data.data[].org_id | integer | No | — | The ID of the organization linked to the activity |
result.data.data[].project_id | integer | No | — | The ID of the project linked to the activity |
result.data.data[].due_date | string | No | — | The due date of the activity |
result.data.data[].due_time | string | No | — | The due time of the activity |
result.data.data[].duration | string | No | — | The duration of the activity |
result.data.data[].busy | boolean | No | — | Whether the activity marks the assignee as busy or not in their calendar |
result.data.data[].done | boolean | No | — | Whether the activity is marked as done or not |
result.data.data[].marked_as_done_time | string | No | — | The date and time when the activity was marked as done |
result.data.data[].location | object | No | — | Location of the activity |
result.data.data[].location.value | string | No | — | The full address of the activity |
result.data.data[].location.country | string | No | — | Country of the activity |
result.data.data[].location.admin_area_level_1 | string | No | — | Admin area level 1 (e.g. state) of the activity |
result.data.data[].location.admin_area_level_2 | string | No | — | Admin area level 2 (e.g. county) of the activity |
result.data.data[].location.locality | string | No | — | Locality (e.g. city) of the activity |
result.data.data[].location.sublocality | string | No | — | Sublocality (e.g. neighborhood) of the activity |
result.data.data[].location.route | string | No | — | Route (e.g. street) of the activity |
result.data.data[].location.street_number | string | No | — | Street number of the activity |
result.data.data[].location.subpremise | string | No | — | Subpremise (e.g. apartment/suite number) of the activity |
result.data.data[].location.postal_code | string | No | — | Postal code of the activity |
result.data.data[].participants | array | No | — | The participants of the activity |
result.data.data[].participants[].person_id | integer | No | — | The ID of the person |
result.data.data[].participants[].primary | boolean | No | — | Whether the person is the primary participant or not |
result.data.data[].attendees | array | No | — | The attendees of the activity |
result.data.data[].attendees[].email | string | No | — | The email address of the attendee |
result.data.data[].attendees[].name | string | No | — | The name of the attendee |
result.data.data[].attendees[].status | string | No | — | The status of the attendee |
result.data.data[].attendees[].is_organizer | boolean | No | — | Whether the attendee is the organizer or not |
result.data.data[].attendees[].person_id | integer | No | — | The ID of the person if the attendee has a person record |
result.data.data[].attendees[].user_id | integer | No | — | The ID of the user if the attendee is a user |
result.data.data[].conference_meeting_client | string | No | — | The client used for the conference meeting |
result.data.data[].conference_meeting_url | string | No | — | The URL of the conference meeting |
result.data.data[].conference_meeting_id | string | No | — | The ID of the conference meeting |
result.data.data[].public_description | string | No | — | The public description of the activity |
result.data.data[].priority | integer | No | — | The priority of the activity. Mappable to a specific string using activityFields API. |
result.data.data[].note | string | No | — | The note of the activity |
result.data.additional_data | object | No | — | The additional data of the list |
Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.