Skip to content

Attio #17456 #17756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/attio/actions/create-note/create-note.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "attio-create-note",
name: "Create Note",
description: "Creates a new note for a given record. The note will be linked to the specified record. [See the documentation](https://developers.attio.com/reference/post_v2-notes)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
attio,
Expand Down
2 changes: 1 addition & 1 deletion components/attio/actions/create-person/create-person.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "attio-create-person",
name: "Create Person",
description: "Creates a new person. [See the documentation](https://developers.attio.com/reference/post_v2-objects-people-records).",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
attio,
Expand Down
2 changes: 1 addition & 1 deletion components/attio/actions/create-task/create-task.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-create-task",
name: "Create Task",
description: "Creates a new task. [See the documentation](https://docs.attio.com/rest-api/endpoint-reference/tasks/create-a-task)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
attio,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-create-update-record",
name: "Create or Update Record",
description: "Creates or updates a specific record such as a person or a deal. If the record already exists, it's updated. Otherwise, a new record is created. [See the documentation](https://developers.attio.com/reference/put_v2-objects-object-records)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
attio,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "attio-delete-list-entry",
name: "Delete List Entry",
description: "Deletes an existing entry from a specific list. [See the documentation](https://developers.attio.com/reference/delete_v2-lists-list-entries-entry-id)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
attio,
Expand Down
37 changes: 37 additions & 0 deletions components/attio/actions/get-record/get-record.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import attio from "../../attio.app.mjs";

export default {
key: "attio-get-record",
name: "Get Record",
description: "Retrieves the record with the specified ID. [See the documentation](https://docs.attio.com/rest-api/endpoint-reference/records/get-a-record)",
version: "0.0.1",
type: "action",
props: {
attio,
objectId: {
propDefinition: [
attio,
"objectId",
],
},
recordId: {
description: "The identifier of the record to retrieve.",
propDefinition: [
attio,
"recordId",
(c) => ({
targetObject: c.objectId,
}),
],
},
},
async run({ $ }) {
const response = await this.attio.getRecord({
$,
objectId: this.objectId,
recordId: this.recordId,
});
$.export("$summary", "Successfully retrieved the record with ID: " + this.recordId);
return response;
},
};
2 changes: 1 addition & 1 deletion components/attio/actions/update-person/update-person.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "attio-update-person",
name: "Update Person",
description: "Update an existing person. [See the documentation](https://developers.attio.com/reference/patch_v2-objects-people-records-record-id).",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
attio,
Expand Down
8 changes: 8 additions & 0 deletions components/attio/attio.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,13 @@ export default {
...args,
});
},
getRecord({
objectId, recordId, ...args
}) {
return this._makeRequest({
path: `/objects/${objectId}/records/${recordId}`,
...args,
});
},
},
};
4 changes: 2 additions & 2 deletions components/attio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/attio",
"version": "0.3.0",
"version": "0.4.0",
"description": "Pipedream Attio Components",
"main": "attio.app.mjs",
"keywords": [
Expand All @@ -13,6 +13,6 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.3"
"@pipedream/platform": "^3.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import sampleEmit from "./test-event.mjs";
export default {
...common,
key: "attio-list-entry-deleted-instant",
name: "List Entry Deleted (Instant)",
name: "New List Entry Deleted (Instant)",
description: "Emit new event when a list entry is deleted (i.e. when a record is removed from a list).",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import sampleEmit from "./test-event.mjs";
export default {
...common,
key: "attio-list-entry-updated-instant",
name: "List Entry Updated (Instant)",
name: "New List Entry Updated (Instant)",
description: "Emit new event when an existing list entry is updated (i.e. when a list attribute is changed for a specific list entry, e.g. when setting \"Owner\")",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-new-activity-created-instant",
name: "New Activity Created (Instant)",
description: "Emit new event when a note, task, or comment is created, useful for tracking engagement in real time.",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-new-list-entry-instant",
name: "New List Entry (Instant)",
description: "Emit new event when a record, such as person, company, or deal, is added to a list",
version: "0.0.3",
version: "0.0.4",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-new-note-instant",
name: "New Note (Instant)",
description: "Emit new event when a new note is created.",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-new-object-attribute-instant",
name: "New Object Attribute (Instant)",
description: "Emit new event when an object attribute is created (e.g. when defining a new attribute \"Rating\" on the company object)",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "attio-new-record-created-instant",
name: "New Record Created (Instant)",
description: "Emit new event when new record, such as person, company or deal gets created",
version: "0.0.3",
version: "0.0.4",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import sampleEmit from "./test-event.mjs";
export default {
...common,
key: "attio-note-updated-instant",
name: "Note Updated (Instant)",
name: "New Note Updated (Instant)",
description: "Emit new event when the title of a note is modified. Body updates do not currently trigger webhooks.",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import sampleEmit from "./test-event.mjs";
export default {
...common,
key: "attio-object-attribute-updated-instant",
name: "Object Attribute Updated (Instant)",
name: "New Object Attribute Updated (Instant)",
description: "Emit new event when an object attribute is updated (e.g. when renaming the \"Rating\" attribute to \"Score\" on the company object)",
version: "0.0.2",
version: "0.0.3",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import sampleEmit from "./test-event.mjs";
export default {
...common,
key: "attio-record-updated-instant",
name: "Record Updated (Instant)",
name: "New Record Updated (Instant)",
description: "Emit new event when values on a record, such as person, company or deal, are updated",
version: "0.0.3",
version: "0.0.4",
type: "source",
dedupe: "unique",
props: {
Expand Down
19 changes: 7 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading