Events allow developers to perform setup or teardown tasks, such as registering or unregistering a webhook in a third-party system or validating a user’s connections. Event files MUST:Documentation Index
Fetch the complete documentation index at: https://docs.attio.com/llms.txt
Use this file to discover all available pages before exploring further.
- Live in
src/events - Have a
.event.tssuffix. - Contain an
export default async functionthat:- Takes a
{ connection: Connection }argument - Returns
void
- Takes a
Available Events:
connection-added– called when a connection is addedconnection-removed– called when a connection is removed