Skip to main content
{
  "id": "ck9v2m5nj0xp4wq7ybftrae8",
  "seq": 487,
  "teamId": "hzcai5t59nn9vsck3rbuepyg",
  "type": "target.replied",
  "timestamp": "2025-01-17T16:45:00.000Z",
  "version": "1.0",
  "data": {
    "campaign": {
      "id": "m4wq7ybftcaelp8rvk2m5j0x",
      "name": "Q1 Product Launch Outreach",
      "description": "Reach out to product managers about the new API release",
      "status": "active",
      "dryRun": false,
      "targetsCount": 250,
      "contactedCount": 142,
      "repliesCount": 28,
      "completionRate": 0.568,
      "replyRate": 0.197,
      "createdAt": "2025-01-10T09:00:00.000Z",
      "updatedAt": "2025-01-17T16:45:00.000Z",
      "pausedAt": null,
      "completedAt": null,
      "lastStartedAt": "2025-01-12T08:00:00.000Z"
    },
    "thread": {
      "id": "l44e15irdq4db30i77cgphhx",
      "platform": "twitter",
      "platformId": "1566123362161725440:1876543210987654321",
      "done": false,
      "assigneeId": "r3km7xj9wq5p2bvnhfdteoly",
      "lastMessageTimestamp": "2025-01-17T16:45:00.000Z",
      "computedSortTimestamp": "2025-01-17T16:45:00.000Z",
      "createdAt": "2025-01-16T10:00:00.000Z",
      "status": "active",
      "variant": "xChat",
      "accountLinkId": "df6jbw4h36qm5d9iu2sgn7kx",
      "isSyncing": false,
      "isRequest": false,
      "typingIndicatorsEnabled": null,
      "lastMessage": {
        "id": "w7xn4kp8r2mv6qjtnb3ky9sz",
        "content": "This looks interesting! We've been looking for exactly this kind of integration. Can we schedule a call this week?",
        "authorId": "1876543210987654321",
        "createdAt": "2025-01-17T16:45:00.000Z",
        "userId": null,
        "campaignId": 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",
        "context": {
          "tags": ["l44e15irdq4db30i77cgphhx"],
          "statusId": "x9wq5p2bvnhfdteolyr3km7j",
          "valuation": 2500,
          "notes": "Interested in enterprise plan"
        }
      }
    },
    "message": {
      "id": "w7xn4kp8r2mv6qjtnb3ky9sz",
      "platform": "twitter",
      "platformId": "1876543210987654399",
      "threadId": "l44e15irdq4db30i77cgphhx",
      "teamId": "hzcai5t59nn9vsck3rbuepyg",
      "authorId": "1876543210987654321",
      "userId": null,
      "campaignId": null,
      "content": "This looks interesting! We've been looking for exactly this kind of integration. Can we schedule a call this week?",
      "origin": "external",
      "createdAt": "2025-01-17T16:45: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-16T10:00:00.000Z",
      "lastUpdatedAt": "2025-01-17T16:45:00.000Z",
      "lastEnrichedAt": "2025-01-16T10:00:00.000Z",
      "lastActiveAt": "2025-01-17T16:45:00.000Z",
      "source": "cached",
      "isFresh": true,
      "isStale": false,
      "confidence": 0.95,
      "context": {
        "tags": ["l44e15irdq4db30i77cgphhx"],
        "statusId": "x9wq5p2bvnhfdteolyr3km7j",
        "valuation": 2500,
        "notes": "Interested in enterprise plan"
      }
    }
  }
}

When it fires

A prospect replies to a campaign message — either the initial outreach or a follow-up. This is the key conversion event for campaign analytics. The message object contains the prospect’s reply. The campaign object reflects updated repliesCount and replyRate metrics at the time the reply was received.
Use this event to trigger high-priority workflows — notify your sales team, move the prospect to a “warm” pipeline status, or route the thread to the right team member.

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.