feat(Lemlist Trigger Node): Update Trigger events (#10311)

This commit is contained in:
Jon 2024-08-07 10:17:29 +01:00 committed by GitHub
parent c9b3d34a54
commit 15f10ec325
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 44 additions and 7 deletions

View file

@ -71,16 +71,53 @@ export async function lemlistApiRequestAllItems(
export function getEvents() { export function getEvents() {
const events = [ const events = [
'*', '*',
'emailsBounced', 'contacted',
'hooked',
'attracted',
'warmed',
'interested',
'skipped',
'notInterested',
'emailsSent',
'emailsOpened',
'emailsClicked', 'emailsClicked',
'emailsReplied',
'emailsBounced',
'emailsSendFailed',
'emailsFailed', 'emailsFailed',
'emailsUnsubscribed',
'emailsInterested', 'emailsInterested',
'emailsNotInterested', 'emailsNotInterested',
'emailsOpened', 'opportunitiesDone',
'emailsReplied', 'aircallCreated',
'emailsSendFailed', 'aircallEnded',
'emailsSent', 'aircallDone',
'emailsUnsubscribed', 'aircallInterested',
'aircallNotInterested',
'apiDone',
'apiInterested',
'apiNotInterested',
'apiFailed',
'linkedinVisitDone',
'linkedinVisitFailed',
'linkedinInviteDone',
'linkedinInviteFailed',
'linkedinInviteAccepted',
'linkedinReplied',
'linkedinSent',
'linkedinVoiceNoteDone',
'linkedinVoiceNoteFailed',
'linkedinInterested',
'linkedinNotInterested',
'linkedinSendFailed',
'manualInterested',
'manualNotInterested',
'paused',
'resumed',
'customDomainErrors',
'connectionIssue',
'sendLimitReached',
'lemwarmPaused',
]; ];
return events.map((event: string) => ({ return events.map((event: string) => ({

View file

@ -55,7 +55,7 @@ export class LemlistTrigger implements INodeType {
default: {}, default: {},
options: [ options: [
{ {
displayName: 'Campaing Name or ID', displayName: 'Campaign Name or ID',
name: 'campaignId', name: 'campaignId',
type: 'options', type: 'options',
typeOptions: { typeOptions: {