Available macros for workflow

Below are passed macros based on each event type.

Review (Created)

Review Object data will be passed as macro. 

{
  "id": "rvw_7vomjp0vjokbq09",
  "active": true,
  "review_listing": {
    "id": "rwl_1igyg8wuxd5jiil",
    "name": "Carousell Google Play"
  },
  "status": "PENDING",
  "recommend": null,
  "rating": 5.0,
  "title": "Thank you, Carousell",
  "content": "I absolutely love this app!",
  "url": "",
  "source_review_id": "3465825614",
  "review_date": "2018-11-27",
  "reviewer_name": "Rodristar",
  "reviewer_pic_url": "",
  "reply_text": "",
  "reply_date": null,
  "attributes": [{
    "name": "App Version",
    "value": "2.91.0"
  }],
  "score": "THREE",
  "source": {
    "id": "appstore",
    "name": "iOS App Store"
  },
  "created_timestamp": 1543414453
}

Incentivized Reviewer (Created)

Incentivized Reviewer Object data will be passed as macro. 

{
  "recipient": {
    "id": "rrrpt_gnnixeln0g5j4qaexgru4vnlo",
    "tracking_id": "6jYSgafXNU78AFaPzhSt",
    "test": false,
    "name": "",
    "email": "johndoe@gmail.com",
    "lag_window": null,
    "status": "DELIVERED",
    "sent_from": "CONSOLE",
    "error_msg": "",
    "created_timestamp": 1560258949,
    "reminder": {
      "status": "NA",
      "error_msg": ""
    },
    "activities": [{
        "id": "ldact_tjmz6hsha8qrpfyeogi5neupshfkr4",
        "type": "SENT_REVIEW_REQUEST",
        "created_timestamp": 1560258949
      },
      {
        "id": "ldact_hk8d1et2o5upw2rgqexej2jerpip0s",
        "type": "DELIVERED_REVIEW_REQUEST",
        "created_timestamp": 1560258949
      },
      {
        "id": "ldact_j9we8sristm96dgkkfi0y01yqdr5zm",
        "type": "CLICKED_REVIEW_REQUEST",
        "created_timestamp": 1560258957
      },
      {
        "id": "ldact_k1sxut7xm7tx7k1jxomwhrjb4cg09z",
        "type": "REQUESTED_REVIEW_REWARDS",
        "created_timestamp": 1560259060
      }
    ],
    "requester": {
      "id": "rwreq_awxloccld94xkfh",
      "name": "OnVoard G2"
    }
  },
  "reward": {
    "id": "rwd_4xg0gauv5x6n2ag",
    "desc": "All specified requirements must be fulfilled",
    "fulfillment_mode": "MANUAL",
    "footnote": "It takes around 7 days for rewards to be delivered",
    "line_items": [{
      "id": "8d14t84kcvupxqj",
      "label": "$10 Amazon Gift Card",
      "requested": true
    }],
    "custom_fields": [{
      "id": "zzvqi0ygechgacj",
      "name": "Email",
      "desc": "Your email to receive gift card",
      "type": "EMAIL",
      "value": "johnd66@gmail.com"
    }]
  },
  "status": "PENDING",
  "created_timestamp": 1560259060
}

Interview (Created/Responded)

Interview Object data will be passed as macro.

{
  "id": "itw_k8udjxohcn6ho3n",
  "passcode": "xz313fnwyu",
  "title": "Acme Corp",
  "content": "<p><em>Answer the questions below to complete your interview.</em></p>",
  "stage": "PENDING",
  "interviewee_name": "John Doe",
  "interviewee_company": "Acme Corp",
  "interviewee_email": "johndoe@gmail.com",
  "reward": null,
  "url": "https://onvoard.io/interviews/itw_k8udjxohcn6ho3n",
  "url_with_passcode": "https://onvoard.io/interviews/itw_k8udjxohcn6ho3n?passcode=xz313fnwyu",
  "created_from": "REQUESTER",
  "created_timestamp": 1560158662
}

Survey Respondent (Created)

Survey Respondent Object data will be passed as macro.

{
  "id": "sres_ryzgursl15sajrw",
  "survey": {
    "id": "sur_sbu0zd3mg7fwyql",
    "name": "NPS Survey"
  },
  "traits": [{
    "id": "trt_wcudotn5nqtddut",
    "key": "email",
    "key_display": "Email",
    "value": "johndoe@gmail.com",
    "value_type": "email"
  }],
  "answers": [{
    "id": "srasw_fm2e09o4sp1o2gu",
    "question": {
      "id": "srqn_4sxada7ojrp57lz",
      "type": "SCALE",
      "variant": "NPS",
      "mode": "",
      "title": "How likely would you recommend us to your friend?"
    },
    "text_value": "",
    "choices": [{
      "id": "nahgksxj4zk8ln0",
      "option": {
        "id": "bqm4hz6i51u5gvq",
        "label": "",
        "enable_comment": true,
        "disabled": false,
        "comment_placeholder": "",
        "value": "9",
        "scale": 9
      },
      "comment": ""
    }],
    "value": "9",
    "value_with_comment": "9",
    "created_timestamp": 1568715275
  }],
  "created_timestamp": 1568715275
}