Engagement
An engagement: one send of a template to an audience, by one medium.
type Engagement { audienceId: Guid! audienceName: String batchId: Guid bouncedCount: Int! campaignId: Guid campaignName: LocalisedString chart( range: EngagementChartRange! ): EngagementChart! clickedCount: Int! complainedCount: Int! contentSnapshot: String created: Instant! createdUserId: Guid deliveredCount: Int! engagementTemplateId: Guid! firedAt: Instant firedUserId: Guid followupOf: Engagement followupOfEngagementId: Guid id: Guid! isArchived: Boolean! linkBreakdown: [EngagementLinkStats!]! medium: EngagementMedium! members( after: String before: String filter: EngagementMemberFilter first: Int last: Int searchText: String ): EngagementMemberConnection openedCount: Int! purpose: EngagementPurpose! reviewCounts: EngagementReviewCounts! sendCounts: EngagementSendCounts! status: EngagementStatus! subjectSnapshot: String templateName: String unsubscribedCount: Int! urlSnapshot: String}Fields
Section titled “Fields”audienceId ● Guid!non-nullscalar
Section titled “audienceId ● Guid! ”The audience that the engagement is sent to.
The audience’s name.
The batch that sends to the members. Null until the send starts.
bouncedCount ● Int!non-nullscalar
Section titled “bouncedCount ● Int! ”How many members the engagement bounced for.
The campaign that orders from the engagement’s links are attributed to. Null: they are not attributed.
The campaign’s name. Null: no campaign.
chart ● EngagementChart!non-nullobject
Section titled “chart ● EngagementChart! ”Opens and clicks over time, in the organisation’s time zone. It is empty until the engagement is fired.
Which part of the engagement’s history to show.
clickedCount ● Int!non-nullscalar
Section titled “clickedCount ● Int! ”How many members clicked at least one link.
complainedCount ● Int!non-nullscalar
Section titled “complainedCount ● Int! ”How many members complained, such as by a spam report.
The body as sent. Its merge fields are not filled in.
created ● Instant!non-nullscalar
Section titled “created ● Instant! ”When the engagement was created.
The user who created the engagement.
deliveredCount ● Int!non-nullscalar
Section titled “deliveredCount ● Int! ”How many members the engagement was delivered to.
The template that the engagement sends.
When the engagement was sent: the time it was fired, which starts its send. Null: not sent yet.
The user who sent the engagement: the one who fired it. Null: not sent yet.
The engagement whose non-openers this one follows up. Null: it is not a follow-up.
The engagement whose non-openers this one follows up. Null: it is not a follow-up.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
isArchived ● Boolean!non-nullscalar
Section titled “isArchived ● Boolean! ”Whether the engagement is archived.
linkBreakdown ● [EngagementLinkStats!]!non-nullobject
Section titled “linkBreakdown ● [EngagementLinkStats!]! ”The clicks on each link, the link with the most members first.
The medium: email, SMS, WhatsApp or web push.
The engagement’s members, and what happened to each message.
Only items after this cursor: the endCursor of the page before.
Only items before this cursor: the startCursor of the page after.
Only the members with this delivery status, or who opened or clicked. Omitted: all of them.
At most this many items, from the start or after the after cursor.
last ● Intscalar
Section titled “last ● Int ”At most this many items, from the end or before the before cursor.
Only the members whose name, reference or sent to address contains this. Omitted: all of them.
openedCount ● Int!non-nullscalar
Section titled “openedCount ● Int! ”How many members opened the engagement at least once.
What the engagement is for: marketing or operational. An operational send also reaches members who have not opted in.
reviewCounts ● EngagementReviewCounts!non-nullobject
Section titled “reviewCounts ● EngagementReviewCounts! ”Who the engagement would reach now, and why the rest are left out. A follow-up counts only its source’s non-openers.
sendCounts ● EngagementSendCounts!non-nullobject
Section titled “sendCounts ● EngagementSendCounts! ”The members by send result: sent, skipped, pending and failed.
Where the engagement is in its life, from draft to complete.
The subject or web push title as sent. Its merge fields are not filled in.
The template’s name.
unsubscribedCount ● Int!non-nullscalar
Section titled “unsubscribedCount ● Int! ”How many members unsubscribed from the engagement.
The web push link as sent. Null for the other mediums.
Returned By
Section titled “Returned By”marketing.engagements.createFollowUp mutation ● marketing.engagements.fire mutation ● marketing.engagements.saveEngagementDraft mutation ● marketing.engagements.sendOneMore mutation ● marketing.engagements.sendRest mutation ● marketing.engagements.sendToMember mutation ● marketing.engagements.toggleArchiveEngagement mutation
Member Of
Section titled “Member Of”Engagement object ● EngagementConnection object ● EngagementEdge object

