Product Fruits · Example Payload

Survey Webhook Payload

Product AdoptionUser OnboardingIn-App GuidanceChecklistsNPS SurveysAnnouncementsUser SegmentationSaaS

Survey Webhook Payload is an example object payload from Product Fruits, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

typedata

Example Payload

Raw ↑
{
  "type": "webhook:newsurveyanswer",
  "data": {
    "projectCode": "pf-workspace-001",
    "surveyId": "550e8400-e29b-41d4-a716-446655440000",
    "authorName": "Jane Doe",
    "authorEmail": "jane.doe@example.com",
    "authorUsername": "user-abc-123",
    "answers": [
      {
        "questionId": "q-550e8400-e29b-41d4-a716-001",
        "questionType": "nps",
        "answer": 9
      },
      {
        "questionId": "q-550e8400-e29b-41d4-a716-002",
        "questionType": "txt",
        "answer": "The onboarding was smooth and intuitive."
      },
      {
        "questionId": "q-550e8400-e29b-41d4-a716-003",
        "questionType": "chk",
        "answer": ["opt-001", "opt-003"],
        "other": "Also better keyboard shortcuts"
      },
      {
        "questionId": "q-550e8400-e29b-41d4-a716-004",
        "questionType": "emo",
        "answer": "😊"
      }
    ]
  }
}