n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 764 B
text/typescript
/**
* Autopilot Node - Version 1
* Discriminator: resource=contactJourney, operation=add
*/
interface Credentials {
autopilotApi: CredentialReference;
}
/** Add contact to list */
export type AutopilotV1ContactJourneyAddParams = {
resource: 'contactJourney';
operation: 'add';
/**
* List ID. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
triggerId?: string | Expression<string>;
/**
* Can be ID or email
*/
contactId?: string | Expression<string> | PlaceholderValue;
};
export type AutopilotV1ContactJourneyAddNode = {
type: 'n8n-nodes-base.autopilot';
version: 1;
credentials?: Credentials;
config: NodeConfig<AutopilotV1ContactJourneyAddParams>;
};