Pathwright tracks various types of learning activities. When one of the following events occurs in your school, that counts as a learning activity, and is sent to Zapier:
The new learning activity trigger returns information about a user’s activity in a school.
{
"event": {
"type": "student.activity",
"sent_time": "2020-05-08T15:07:15.220784+00:00"
},
"id": 252,
"action_dtime": "2020-05-08T14:39:20.664111Z",
"action_type": 5,
"user": {
"id": 52047,
"username": "john_doe",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"membership": {
"membership_type": "Student",
"is_school_admin": false,
"can_manage_school": false,
"can_create_course": false,
"consent_dtime": "2019-11-05T21:31:00.762135+00:00",
"consent_snapshot": "Email me feature updates, examples, and interesting news."
}
},
"school": {
"id": 7888,
"name": "Online Academy"
},
"resource": {
"id": 1,
"name": "Intro to Zapier",
"resource_type": "course"
},
"group": {
"id": 4,
"name": "Open Session",
"created_by": {
"id": 52123,
"username": "beth_smith",
"first_name": "Beth",
"last_name": "Smith",
"email": "[email protected]",
"membership": {
"membership_type": "Admin",
"is_school_admin": true,
"can_manage_school": true,
"can_create_course": true
}
}
},
"registration": {
"id": 99750,
"role": "Student",
"path": {
"points": {
"percent_of_max": 31.428571428571427,
"max_possible": 350,
"earned": 110
},
"steps": {
"total_available_steps": 10,
"total_required_steps": 8,
"total_optional_steps": 2,
"completed_steps": 5,
"completed_required_steps": 4,
"completed_optional_steps": 1,
"total_steps_pending_review": 1
}
}
~~~~ },
"step": {
"source_id": 77,
"type": "A",
"verb": "reading",
"name": "Welcome!",
"due": null,
"starts": null,
"is_required": true,
"is_skipped": false,
"checked_by": {
"id": 123,
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]"
},
"checked_date": "2022-01-08T14:39:20.664111Z",
"completion_date": "2022-01-06T12:13:08.368426Z",
"points": 8,
"points_available": 10,
"url": "<https://example.pathwright.com/library/intro-to-zapier/4/path/step/77/>"
},
"discussion": {
"id": 17,
"body": "Welcome to the course!"
},
"discussion_response": {
"id": 33,
"body": "<p>Thanks!</p>",
"reply_parent": null
}
}