Step · Meetings and conversations
Get thread
Gets a comment thread by its ID.
Inputs
| Label | Key | Type | Required | Notes |
|---|---|---|---|---|
| Thread ID | thread_id | Text | Yes |
Outputs
| Label | Key | Type | Always set | Notes |
|---|---|---|---|---|
| Found | found | True/false | Yes | |
| Created at | created_at | Timestamp | No | |
| Created by | created_by | Actor | No | The first comment’s author. |
| Comment count | comment_count | Number | No | |
| Comment IDs | comment_ids | List of text | No | |
| First comment content | first_comment_content | Text | No | |
| First comment ID | first_comment_id | Text | No | |
| Is open | is_open | True/false | No | True when at least one comment is unresolved. An empty thread is false. |
| Last comment content | last_comment_content | Text | No | |
| Last comment ID | last_comment_id | Text | No | |
| Thread ID | thread_id | Text | No |
How it behaves
- First and last are taken in the order Attio returns the comments (ascending by creation time).
- An empty ID or a thread that does not exist gives Found false, not an error.
Errors
For errors that every step can return, see Troubleshooting.
Notes
- Only the first and last comment bodies are output, not every comment.
Example
Summarize a comment thread when a new reply arrives.
| Input | Value |
|---|---|
| Thread ID | e4f5a6b7-c8d9-4e0f-9a1b-2c3d4e5f6a7b |
| Output | Value |
|---|---|
| Found | true |
| Created by | Priya Shah (workspace member) |
| Comment count | 3 |
| First comment content | Their renewal date moved to March. |
| Last comment content | Confirmed with their CFO. |
| Is open | true |
Only the first and last comment bodies are output. Is open is true while at least one comment is unresolved.