Skip to content

Events and Payloads

The Tailor Platform offers a wide range of events that allow you to trigger specific actions within your applications. These events play a crucial role in building dynamic workflows and enable you to automate processes based on real-time data changes. Refer to the Event based trigger section for details on using and configuring events.

Below is a list of supported events and their payloads.

TailorDB

Record Created

tailordb.type_record.created

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
typeNameString: Name of the type.
newRecordObject: The new record added to Tailor DB.

Record Updated

tailordb.type_record.updated

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
typeNameString: Name of the type.
oldRecordObject: The old record in Tailor DB.
newRecordObject: The updated record in Tailor DB.

Record Deleted

tailordb.type_record.deleted

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
typeNameString: Name of the type.
oldRecordObject: The deleted record.

File Uploaded

tailordb.type_record_file.uploaded

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
typeNameString: Name of the type.
metadata.content_typeString: MIME type of the uploaded file.
metadata.field_nameString: Name of the file field that received the upload.
metadata.last_uploaded_atDateTime: Timestamp when the file was uploaded.
metadata.parent_idString: ID of the record that owns the file.
metadata.sha256sumString: SHA256 checksum of the uploaded file.
metadata.sizeInteger: Size of the uploaded file in bytes.

Pipeline

Resolver Executed

pipeline.resolver.executed

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
resolverNameString: Name of the pipeline resolver.
succeeded.resultObject: The result object contains pipelines and resolver data.
failed.errorString: The error message provides details about the cause of the error.

Auth

Access Token Issued

auth.access_token.issued

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.

Built-in IdP

User Created

idp.user.created

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
userIdString: The ID of the created IdP user.

User Updated

idp.user.updated

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
userIdString: The ID of the updated IdP user.

User Deleted

idp.user.deleted

Field NameDescription
workspaceIdString: The workspace ID where the event occurred.
namespaceNameString: Name of the application.
userIdString: The ID of the deleted IdP user.