interface IntercomNodeParameters {
additionalFields?:
| {
avatar?: string;
companies?: unknown[];
email?: string;
name?: string;
phone?: string;
sessionCount?: number;
unsubscribedFromEmails?: boolean;
updateLastRequestAt?: boolean;
userId?: string;
utmCampaign?: string;
utmContent?: string;
utmMedium?: string;
utmSource?: string;
utmTerm?: string;
}
| {
avatar?: string;
companies?: unknown[];
email?: string;
name?: string;
phone?: string;
unsubscribedFromEmails?: boolean;
updateLastRequestAt?: boolean;
utmCampaign?: string;
utmContent?: string;
utmMedium?: string;
utmSource?: string;
utmTerm?: string;
}
| {
industry?: string;
monthlySpend?: string;
name?: string;
plan?: string;
size?: number;
website?: string;
};
companyId?: string;
customAttributesJson?: string;
customAttributesUi?: {
customAttributesValues: {
name?: string;
value?: string;
}[];
};
deleteBy?: "id"
| "userId";
email?: string;
filters?:
| {
company_id?: string;
email?: string;
segment_id?: string;
tag_id?: string;
}
| { email?: string; phone?: string }
| { segment_id?: string; tag_id?: string };
id?: string;
identifierType?: "email" | "userId";
idValue?: string;
jsonParameters?: boolean;
limit?: number;
listBy?: "id" | "companyId";
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "users";
resource?: "company"
| "user"
| "lead";
returnAll?: boolean;
selectBy?:
| "id"
| "email"
| "name"
| "phone"
| "userId"
| "companyId";
updateBy?: "id"
| "email"
| "userId";
value?: string;
}Properties§
§§§§§§§§§§§§§§§
readonly additional Fields?:
| {
avatar?: string;
companies?: unknown[];
email?: string;
name?: string;
phone?: string;
sessionCount?: number;
unsubscribedFromEmails?: boolean;
updateLastRequestAt?: boolean;
userId?: string;
utmCampaign?: string;
utmContent?: string;
utmMedium?: string;
utmSource?: string;
utmTerm?: string;
}
| {
avatar?: string;
companies?: unknown[];
email?: string;
name?: string;
phone?: string;
unsubscribedFromEmails?: boolean;
updateLastRequestAt?: boolean;
utmCampaign?: string;
utmContent?: string;
utmMedium?: string;
utmSource?: string;
utmTerm?: string;
}
| {
industry?: string;
monthlySpend?: string;
name?: string;
plan?: string;
size?: number;
website?: string;
}§
readonly company Id?: stringThe company ID you have defined for the company
readonly custom Attributes Json?: stringA hash of key/value pairs to represent custom data you want to attribute to a user Type options: {"alwaysOpenEditWindow":true}
readonly custom Attributes Ui?: { ... }A hash of key/value pairs to represent custom data you want to attribute to a user Default: {} Type options: {"multipleValues":true}
readonly delete By?: "id" | "userId"§readonly email?: stringThe email of the user
readonly filters?:
| {
company_id?: string;
email?: string;
segment_id?: string;
tag_id?: string;
}
| { email?: string; phone?: string }
| { segment_id?: string; tag_id?: string }Default: {}
readonly id?: stringThe Intercom defined ID representing the Lead
readonly identifier Type?: "email" | "userId"Unique string identifier
readonly id Value?: stringUnique string identifier value
readonly json Parameters?: boolean§readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":60}
readonly list By?: "id" | "companyId"§readonly operation?: "create" | "get" | "getAll" | "update" | "delete" | "users"Default: "create"
readonly resource?: "company" | "user" | "lead"Default: "user"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly select By?: "id" | "email" | "name" | "phone" | "userId" | "companyId"The property to select the user by
readonly update By?: "id" | "email" | "userId"The property via which to query the user Default: "id"
readonly value?: stringView by value
Default: {}