Skip to main content
{
  "id": "ck9v2m5nj0xp4wq7ybftrae8",
  "seq": 401,
  "teamId": "hzcai5t59nn9vsck3rbuepyg",
  "type": "target.contacted",
  "timestamp": "2025-01-16T10:05:00.000Z",
  "version": "1.0",
  "data": {
    "campaign": {
      "id": "m4wq7ybftcaelp8rvk2m5j0x",
      "name": "Q1 Product Launch Outreach",
      "description": "Reaching out to design leaders about our new collaboration features",
      "status": "active",
      "dryRun": false,
      "targetsCount": 250,
      "contactedCount": 88,
      "repliesCount": 12,
      "completionRate": 0.352,
      "replyRate": 0.136,
      "createdAt": "2025-01-10T09:00:00.000Z",
      "updatedAt": "2025-01-16T10:05:00.000Z",
      "pausedAt": null,
      "completedAt": null,
      "lastStartedAt": "2025-01-12T08:00:00.000Z"
    },
    "thread": {
      "id": "l44e15irdq4db30i77cgphhx",
      "platform": "twitter",
      "platformId": "1566123362161725440:1876543210987654321",
      "done": false,
      "assigneeId": null,
      "lastMessageTimestamp": "2025-01-16T10:05:00.000Z",
      "computedSortTimestamp": "2025-01-16T10:05:00.000Z",
      "createdAt": "2025-01-16T10:05:00.000Z",
      "status": "active",
      "variant": "unencrypted",
      "accountLinkId": "df6jbw4h36qm5d9iu2sgn7kx",
      "isSyncing": false,
      "isRequest": false,
      "typingIndicatorsEnabled": null,
      "lastMessage": {
        "id": "p8rvk2m5j0xn4wq7ybftcael",
        "content": "Hi Sarah — I noticed your work on the Figma design system. We just launched a collaboration API that might be a great fit for your team. Would love to chat!",
        "authorId": "df6jbw4h36qm5d9iu2sgn7kx",
        "createdAt": "2025-01-16T10:05:00.000Z",
        "userId": null,
        "campaignId": "m4wq7ybftcaelp8rvk2m5j0x"
      },
      "prospect": {
        "platform": "twitter",
        "platformId": "1876543210987654321",
        "externalId": "n7kxqm5d9iu2sgdf6jbw4h36",
        "displayName": "Sarah Chen",
        "username": "sarahchen",
        "handle": "@sarahchen",
        "image": "https://pbs.twimg.com/profile_images/example/photo.jpg",
        "context": {
          "tags": [],
          "statusId": null,
          "valuation": null,
          "notes": null
        }
      }
    },
    "message": {
      "id": "p8rvk2m5j0xn4wq7ybftcael",
      "platform": "twitter",
      "platformId": "1876543210987654322",
      "threadId": "l44e15irdq4db30i77cgphhx",
      "teamId": "hzcai5t59nn9vsck3rbuepyg",
      "authorId": "df6jbw4h36qm5d9iu2sgn7kx",
      "userId": null,
      "campaignId": "m4wq7ybftcaelp8rvk2m5j0x",
      "content": "Hi Sarah — I noticed your work on the Figma design system. We just launched a collaboration API that might be a great fit for your team. Would love to chat!",
      "origin": "internal",
      "createdAt": "2025-01-16T10:05:00.000Z",
      "updatedAt": null,
      "isEdited": false,
      "isEncrypted": false,
      "entities": null,
      "attachment": null,
      "reactions": [],
      "replyData": null,
      "forwardData": null,
      "deletedAt": null,
      "platformDeletedAt": null
    },
    "prospect": {
      "platform": "twitter",
      "platformId": "1876543210987654321",
      "externalId": "n7kxqm5d9iu2sgdf6jbw4h36",
      "displayName": "Sarah Chen",
      "username": "sarahchen",
      "handle": "@sarahchen",
      "image": "https://pbs.twimg.com/profile_images/example/photo.jpg",
      "imageNormalized": "https://pbs.twimg.com/profile_images/example/photo.jpg",
      "bio": "Product designer at Figma. Building tools for the next generation of creators.",
      "location": "San Francisco, CA",
      "profileUrl": "https://x.com/sarahchen",
      "websiteUrl": "https://sarahchen.design",
      "websiteDomain": "sarahchen.design",
      "verified": "none",
      "profileType": "personal",
      "isProtected": false,
      "followerCount": 12840,
      "followingCount": 892,
      "postCount": 3420,
      "engagementCount": 8912,
      "listedCount": 47,
      "platformCreatedAt": "2019-03-15T08:00:00.000Z",
      "firstSeenAt": "2025-01-15T10:00:00.000Z",
      "lastUpdatedAt": "2025-01-16T10:05:00.000Z",
      "lastEnrichedAt": "2025-01-15T10:00:00.000Z",
      "lastActiveAt": "2025-01-16T08:30:00.000Z",
      "source": "cached",
      "isFresh": true,
      "isStale": false,
      "confidence": 0.95,
      "context": {
        "tags": [],
        "statusId": null,
        "valuation": null,
        "notes": null
      }
    }
  }
}

When it fires

A campaign sends the initial message to a target. This is the first point of contact — the opening DM in the campaign sequence. This event fires once per target, when the first step of the campaign reaches them. Subsequent follow-up messages trigger target.followUpSent instead.

Payload

campaign
Campaign
required
The campaign object.
thread
Thread
required
The thread associated with this event.
message
Message
required
The message object.
prospect
object
required
The prospect associated with this event, including Inbox context.