---
# System prepended metadata

title: Untitled

---

## `nudge_types` Collection
| value | collection |
| --- | --- |
| 'journey' | journeys |
| 'task' | tasks |

## `nudges` Collection
| id | type | user_id | ref_id (journey_id or task_id) |
| --- | --- | --- | --- |
| 1 | 'journey' | 123 | 456 |
| 2 | 'task' | 789 | 101 |

## `trigger_types` Collection
| value | description | actions |
| ----- | ----------- | ------- |
| user | user intiatied activity | actions |
| system | system intiatied activity | actions |

## `notification_types` Collection
| value | description | actions | email_template_id |
| ----- | ----------- | ------- | ------- |
| nudge_email | nudge email activity | actions | 1234 |
| journey_start_email | journey start email activity | actions | 1234 |


## `notifications` Collection

|id (uuid) | activity (type) | timestamp | trigger (type) | metadata (json)|
|-------| ---- | ----------| ---- | ------- |
|4| nudge_email | 2021-02-08:00:00:00 | 'system'  | { email_id: 221 }         |
|5| journey_start_email | 2021-02-08:00:00:00 | 'system'  | { email_id: 224 }
