Skip to content

feat: Adding Attio Piece#7669

Merged
kishanprmr merged 12 commits intoactivepieces:mainfrom
AnkitSharmaOnGithub:feature/Attio-piece
Jun 20, 2025
Merged

feat: Adding Attio Piece#7669
kishanprmr merged 12 commits intoactivepieces:mainfrom
AnkitSharmaOnGithub:feature/Attio-piece

Conversation

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor

@AnkitSharmaOnGithub AnkitSharmaOnGithub commented May 10, 2025

What does this PR do?

Attio is a modern, collaborative CRM platform built to be fully customizable and real-time, helping teams manage relationships, workflows, and data with ease. It combines powerful automation with flexibility, enabling users to build their own CRM around unique workflows.

Explain How the Feature Works

This integration allows automation builders and AI agents to connect Attio with other tools to automate contact management, task creation, note logging, and list organization.

Demo Video

Link

The integration supports:

  • Trigger-based automation (on data creation or updates)
  • Write operations to log or update data
  • Search capabilities for data retrieval

⚡ Triggers

Trigger Description
List Entry Created Automatically adds new CRM leads to an email marketing campaign upon creation.
List Entry Updated Syncs contact updates from Attio to platforms like Google Contacts.
Record Created Notifies the sales team via Slack when a new person is added to Attio.
Record Updated Initiates due diligence workflows for every updated registered organization.

🛠️ Write Actions

Action Item Description
Create Entry Logs support tickets received via email into a customer service list for tracking.
Update Entry Updates respondents’ status fields based on sentiment analysis of feedback forms.
Create Record Adds new records (person, company, or deal) to Attio.
Update Record Modifies existing record details in Attio.

🔍 Search Actions

Action Item Description
Find Record Retrieves a record from Attio using unique attributes.
Find List Entry Locates a specific list entry within Attio based on defined search criteria.

Relevant User Scenarios

  • Automating marketing outreach when new leads are added.
  • Keeping third-party contact systems (e.g., Google Contacts) in sync with Attio.
  • Logging support tickets and task updates from external tools into Attio automatically.
  • Enhancing sales operations with real-time Slack notifications.
  • Streamlining compliance or due diligence workflows through triggered updates.

Fixes #7668
/claim #7668

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 10, 2025

Important

Review skipped

Auto reviews are limited to specific labels.

🏷️ Labels to auto review (1)
  • review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@algora-pbc algora-pbc bot mentioned this pull request May 10, 2025
@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have completed the PR. And, it is ready for review. Thanks.
Please note that I am the only one to submit the complete PR 1st.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have completed the PR. And, it is ready for review. Thanks. Please note that I am the only one to submit the complete PR 1st.

@kishanprmr Can you please review this?
In case you have any feedback, I will work on it ASAP. And, try to close this up by today from my end.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have completed the PR. And, it is ready for review. Thanks. Please note that I am the only one to submit the complete PR 1st.

@kishanprmr Request you to please review this PR.
Please use your active pieces email address to access the demo videos. I have shared access to you & ash.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have completed the PR. And, it is ready for review. Thanks. Please note that I am the only one to submit the complete PR 1st.

@kishanprmr Request you to please review this PR. Please use your active pieces email address to access the demo videos. I have shared access to you & ash.

@kishanprmr

@kishanprmr
Copy link
Copy Markdown
Collaborator

@AnkitSharmaOnGithub ,

Attio has a List Objects endpoint that you can use to create a dropdown, allowing users to select the type of object/entry they want to create. Additionally, the List Attributes endpoint provides available properties for a specific object type (e.g., people). You can use this to create a Dynamic Property instead of using a JSON field.

You can also reuse the same props in related actions.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

AnkitSharmaOnGithub commented May 19, 2025

@AnkitSharmaOnGithub ,

Attio has a List Objects endpoint that you can use to create a dropdown, allowing users to select the type of object/entry they want to create. Additionally, the List Attributes endpoint provides available properties for a specific object type (e.g., people). You can use this to create a Dynamic Property instead of using a JSON field.

You can also reuse the same props in related actions.

@kishanprmr Noted. I will make the changes as per comment in sometime. Thanks.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

AnkitSharmaOnGithub commented May 19, 2025

@kishanprmr 1st part (List objects) is done. Working on the List Attributes now.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr Need some clarification on this one.

Additionally, the List Attributes endpoint provides available properties for a specific object type (e.g., people). You can use this to create a Dynamic Property instead of using a JSON field.

The List Attributes endpoint requires a identifier for the endpoint to be functional. So, this cannot be used in the Create Record.

So, other place is the update record. So, do we need to accept and identifier & then get the attributes, and then use Dynamic properties to generate the form.

image

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr Need some clarification on this one.

Additionally, the List Attributes endpoint provides available properties for a specific object type (e.g., people). You can use this to create a Dynamic Property instead of using a JSON field.

The List Attributes endpoint requires a identifier for the endpoint to be functional. So, this cannot be used in the Create Record.

So, other place is the update record. So, do we need to accept and identifier & then get the attributes, and then use Dynamic properties to generate the form.

image

@kishanprmr Please let me know about this. Thanks.

@kishanprmr
Copy link
Copy Markdown
Collaborator

@AnkitSharmaOnGithub you can pass 'objects' as identifier.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

AnkitSharmaOnGithub commented May 20, 2025

@kishanprmr Missed this yesterday.
List attributes endpoint only accepts the target as objects or lists. Other values like people, companies are not allowed.

Do we still need to use this endpoint?

image

@kishanprmr
Copy link
Copy Markdown
Collaborator

@AnkitSharmaOnGithub please try testing it out. If it works, you can go ahead and add it to the piece.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@AnkitSharmaOnGithub please try testing it out. If it works, you can go ahead and add it to the piece.

Sure. Thanks.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have done changes as per your comment.
Also, I have made 2 major improvements, which will reduce the friction for the user. Please check last 2 commits.

The List attributes endpoint was not useful, so I have skipped adding that.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr I have done changes as per your comment. Also, I have made 2 major improvements, which will reduce the friction for the user. Please check last 2 commits.

The List attributes endpoint was not useful, so I have skipped adding that.

@kishanprmr Please review, once you have the time. Thanks.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr Please review once you have time. Thanks.

@AnkitSharmaOnGithub
Copy link
Copy Markdown
Contributor Author

@kishanprmr Please review once you have time. Thanks.

@kishanprmr

@kishanprmr
Copy link
Copy Markdown
Collaborator

@AnkitSharmaOnGithub I will review it this week.

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Jun 20, 2025

View your CI Pipeline Execution ↗ for commit c92d539.

Command Status Duration Result
nx run server-api:test-cloud ❌ Failed 3m 54s View ↗
nx run server-api:test-ce ✅ Succeeded 4m 14s View ↗
nx run server-api:test-ee ✅ Succeeded 3m 48s View ↗
nx run-many --target=test --projects=engine,sha... ✅ Succeeded 1m 6s View ↗
nx run-many --target=build -c production --proj... ✅ Succeeded 34s View ↗
nx affected --target=build -c production --excl... ✅ Succeeded <1s View ↗
nx run-many --target=lint --projects=pieces-att... ✅ Succeeded 1m 15s View ↗
nx affected --target=lint --exclude=pieces-* --... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-20 10:15:20 UTC

@kishanprmr kishanprmr merged commit 2ab582e into activepieces:main Jun 20, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

[MCP] Attio

3 participants