Let automations fire on more CRM events and open the studio from the main nav.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -228,6 +228,18 @@ export class TicketsService {
|
||||
});
|
||||
}
|
||||
|
||||
await this.automations.runTrigger('ticket_created', {
|
||||
organizationId: actor.organizationId,
|
||||
entityType: 'ticket',
|
||||
entityId: row.id,
|
||||
title: row.subject,
|
||||
personId: row.personId,
|
||||
companyId: row.companyId,
|
||||
dealId: row.dealId,
|
||||
assigneeId: row.assigneeId,
|
||||
ownerId: row.assigneeId,
|
||||
});
|
||||
|
||||
return this.toDto(row);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user