API Reference

Esta mensagem é enviada quando uma atividade do Flow é ignorada.

{
  "event": "LEAD_ACTIVITY.IGNORED",
  "activity": {
    "id": 21655478,
    "status": "IGNORED",
    "scope": "CADENCE",
    "goalDate": "2020-03-09T18:34:07.097Z",
    "executionDate": "2020-03-09T19:18:45.693Z",
    "activityTemplateId": "1234",
    "type": "E_MAIL",
    "executedBy": {
      "id": 1,
      "name": "User Name"
    },
    "prospection": {
      "id": 1,
      "lead": {
        "id": 1,
        "email": "[email protected]",
        "firstName": null,
        "name": null,
        "company": null,
        "phones": [
          {
            "label": "Novo",
            "phone": "+554811111111",
            "lastUsage": "2020-03-09T18:35:10.814Z"
          }
        ],
        "position": null,
        "site": null,
        "state": null,
        "city": null,
        "twitter": null,
        "facebook": null,
        "linkedIn": null,
        "annotations": null,
        "customFields": {},
        "publicUrl": "https://meetime.com.br/dashboard/public/leads/xxx",
        "externalReference": null
      },
      "cadence": {
        "id": 1,
        "name": "Cadence"
      },
      "originType": "IMPORTED_FROM_LIST",
      "inbound": false,
      "startDate": "2020-03-09T18:34:07.097Z",
      "status": "EXECUTING",
      "salesman": {
        "id": 1,
        "name": "User Name",
        "email": "[email protected]"
      },
      "activities": [
        {
          "id": 1,
          "status": "IGNORED",
          "scope": "CADENCE",
          "goalDate": "2020-03-09T18:34:07.097Z",
          "executionDate": "2020-03-09T18:34:25.704Z",
          "type": "E_MAIL",
          "executedBy": {
            "id": 1,
            "name": "User Name"
          }
        }
      ],
      "extraActivities": [],
      "origin": {
        "campaign": null,
        "source": null,
        "conversion": "leadBase 1",
        "channel": "UNKNOWN"
      },
      "rdStationInfo": {
        "id": "2d1b489a-1e2a-4499-bc4b-707cee31a8cf",
        "publicUrl": "http://app.rdstation.com.br/leads/public/2d1b489a-1e2a-4499-bc4b-707cee31a8cf"
      }
    }
  }
}