识别到的联系人

当 Mautic 识别到联系人时触发。

事件类型

mautic.lead_post_save_new

事件属性

Key

Type

Description

contact

object

联系人对象

timestamp

string

事件发生的日期和时间,采用 ISO 8601 格式。

联系人属性

    • Key
      • Type

      • Description

        • id

        • int

        • ID of the Contact

        • isPublished

        • boolean

        • Always true.

        • dateAdded

        • string

        • Date/time of Contact creation in ISO 8601 format.

        • createdBy

        • int|null

        • The ID of the User who created the Contact or null if unknown. For example, visitor tracking.

        • createdByUser

        • string|null

        • Name of the User that created the Contact if applicable. Otherwise null.

        • dateIdentified

        • string|null

        • Date/time of Contact identification in ISO 8601 format or null if it’s a visitor.

        • dateModified

        • string|null

        • Date/time the Contact was last modified in ISO 8601 format or null if not modified.

        • modifiedBy

        • int|null

        • The ID of the User who last modified the Contact or null if unknown. For example, visitor tracking.

        • modifiedByUser

        • string|null

        • Name of the User that last modified the Contact if applicable. Otherwise null.

        • points

        • int

        • The Contact’s Points, also known as a Behavior Score.

        • color

        • string|null

        • Hex code for the Point Trigger color configured for the range of Points the Contact currently has.

        • preferredProfileImage

        • string

        • Preferred image to display for the Contact. Defaults to gravatar.

        • fields

        • object|array

        • Mautic groups fields by Field Groups keyed as one of core, social, personal, and professional. Each fieldGroup has an object of Fields keyed by the Field’s API name. See Custom Field object for each Field’s properties. Note that this could be an object if there are Fields available. Otherwise, Mautic sets an empty array. For example, $firstname = $contact['fields']['core']['firstname']['value'];.

        • lastActive

        • string|null

        • Date/time the Contact was last active in ISO 8601 format or null if it hasn’t been active.

        • owner

        • object|null

        • User object or null if no Owner assigned.

        • frequencyRules

        • array

        • Currently not populated for Webhooks.

        • utmtags

        • array

        • Currently not populated for Webhooks.

        • stage

        • object

        • Currently not fully populated for Webhooks.

Custom Field properties

Key

Type

Description

id

int

Field 的 ID。

group

string

Field 所属的组。当前选项为 coresocialpersonalprofessional

label

string

Field 的标签。

alias

string

Field 在 API 中的名称。

type

string

Field 类型。当前选项为 booleandatedatetimeemailcountrylocalenumbertelregionselectmultiselecttexttextareatimetimezoneurl

properties

object

特定 Field 类型的属性。这取决于 Field 的配置。

value

mixed

Contact 的 Field 值。

normalizedValue

mixed

Contact 的 Field 规范化值。

Owner properties

Key

Type

Description

id

int

用户 ID。

username

string

用户名。

firstname

string

名。

lastname

string

姓。

IP Address properties

Key

Type

Description

id

int

IP 地址的 ID。

ipAddress

string

IP 地址。

ipDetails

object

IP 地址的详细信息,例如城市、地区、纬度、经度等。

ipDetails.city

string

IP 的城市位置。

ipDetails.region

string

IP 的区域位置。

ipDetails.zipcode

string

IP 的邮政编码位置。

ipDetails.latitude

string

IP 的纬度位置。

ipDetails.longitude

string

IP 的经度位置。

ipDetails.isp

string

拥有该 IP 的 ISP。

ipDetails.organization

string

分配给该 IP 的组织。

ipDetails.timezone

string

IP 位置所在的时区。

ipDetails.extra

mixed

存储由配置的 IP 查询服务提供的一些额外数据。

Tag properties

Key

Type

Description

id

int

Tag 的 ID。

tag

string

标签名称。

Channel subscription properties

    • Key
      • Type

      • Description

        • id

        • int

        • Channel订阅条目的ID。

        • reason

        • int

        • 取消订阅的原因代码。“1”表示由联系人主动取消订阅,“2”表示退回, “3”表示营销人员手动标记为已取消订阅。

        • channel

        • string

        • 联系人取消订阅的渠道。例如“email”和“sms”。

        • channelId

        • int|null

        • 联系人点击取消订阅的具体Channel实体的ID。