1. Home
  2. Kore.ai Conversational Platform
  3. Bot Builder Tool
  4. Defining Bot Tasks
  5. Action Tasks
  6. View Logs for Action Tasks

View Logs for Action Tasks

You may need to troubleshoot action tasks. In the Kore.ai Bot Builder tool, you can view logged events for configured and published action tasks that interact with the Kore.ai Bots Platform and third-party applications. The View Logs command displays archived log events for each Action task instance that you can use to view the action task request and the application response.

In the Action Tasks section, click the Settings  icon for the task to view logs for, and then click View Logs as shown. The View Logs page for the Bot action task is displayed as shown in the following example action task.

View Logs Page

You can refresh the entries on the View Logs page when needed.

Each log entry represents the results of the action task as a JSON response as shown in the following example of an Asana Bot.

{
    "koreMappingData": {
        "titleKeyword": "",
        "body": "Added to sssss - K",
        "title": "<a href=\"https://app.asana.com/0/79114501040943/145317262070574/f\" target = \"_blank\">do homework</a>"
    },
    "status": 1,
    "createdOn": "2016-06-17T06:34:34.534Z",
    "responseData": {
        "data": {
            "id": 145317262070574,
            "created_at": "2016-06-17T06:34:34.775Z",
            "modified_at": "2016-06-17T06:34:34.775Z",
            "name": "do homework",
            "notes": "",
            "completed": false,
            "assignee_status": "upcoming",
            "completed_at": null,
            "due_on": "2016-06-15",
            "due_at": null,
            "workspace": {
                "id": 79114501040943,
                "name": "K"
            },
            "num_hearts": 0,
            "parent": null,
            "hearts": [],
            "followers": [{
                "id": 79114500254204,
                "name": "Praveen pasam"
            }],
            "hearted": false,
            "assignee": null,
            "tags": [],
            "projects": [{
                "id": 79122001516568,
                "name": "sssss"
            }],
            "memberships": [{
                "project": {
                    "id": 79122001516568,
                    "name": "sssss"
                },
                "section": null
            }]
        }
    },
    "requestLogs": [{
        "requestUrl": "https://app.asana.com/api/1.0/tasks",
        "requestData": {
            "pathFields": {},
            "payloadFields": {
                "data": {
                    "workspace": "79114501040943",
                    "projects": "79122001516568",
                    "name": "do homework",
                    "due_on": "2016-06-15"
                }
            },
            "headerFields": {}
        },
        "status": 1,
        "statusCode": 201,
        "responseError": null,
        "responseData": "{\"data\":{\"id\":145317262070574,\"created_at\":\"2016-06-17T06:34:34.775Z\",\"modified_at\":\"2016-06-17T06:3"
    }]
}

Next Steps

You may also want to review the auditing events for this task. For more information, see Version History for Action Tasks.

Was this article helpful to you? Yes No