/** * Freshworks CRM Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { freshworksCrmApi: CredentialReference; } /** Update an account */ export type FreshworksCrmV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; /** * ID of the contact to update */ contactId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Address of the contact */ address?: string | Expression | PlaceholderValue; /** ID of the campaign that led your contact to your webapp. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ campaign_id?: string | Expression; /** City that the contact belongs to */ city?: string | Expression | PlaceholderValue; /** ID of the contact status that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ contact_status_id?: string | Expression; /** Country that the contact belongs to */ country?: string | Expression | PlaceholderValue; /** External ID of the contact */ external_id?: string | Expression | PlaceholderValue; /** Facebook username of the contact */ facebook?: string | Expression | PlaceholderValue; /** First name of the contact */ first_name?: string | Expression | PlaceholderValue; /** Designation of the contact in the account they belong to */ job_title?: string | Expression | PlaceholderValue; /** Keywords that the contact used to reach your website/web app */ keyword?: string | Expression | PlaceholderValue; /** Last name of the contact */ last_name?: string | Expression | PlaceholderValue; /** ID of the source where contact came from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ lead_source_id?: string | Expression; /** ID of the lifecycle stage that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ lifecycle_stage_id?: string | Expression; /** LinkedIn account of the contact */ linkedin?: string | Expression | PlaceholderValue; /** Medium that led your contact to your website/webapp */ medium?: string | Expression | PlaceholderValue; /** Mobile phone number of the contact */ mobile_number?: string | Expression | PlaceholderValue; /** ID of the user to whom the contact is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ owner_id?: string | Expression; /** Accounts which contact belongs to. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ sales_accounts?: string[]; /** State that the contact belongs to */ state?: string | Expression | PlaceholderValue; /** Status of subscription that the contact is in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ subscription_status?: string | Expression; /** Type of subscription that the contact is in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ subscription_types?: string | Expression; /** ID of the territory that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ territory_id?: string | Expression; /** Timezone that the contact belongs to */ time_zone?: string | Expression | PlaceholderValue; /** Twitter username of the contact */ twitter?: string | Expression | PlaceholderValue; /** Work phone number of the contact */ work_number?: string | Expression | PlaceholderValue; /** Zipcode of the region that the contact belongs to */ zipcode?: string | Expression | PlaceholderValue; }; }; export type FreshworksCrmV1ContactUpdateNode = { type: 'n8n-nodes-base.freshworksCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };