edit message and id in v1/integrations/customerio/webhook/chat/index.ts.
the id has to be the users trackingToken.
then run:
deno --allow-net v1/integrations/customerio/webhook/chat/index.ts{"type":"tasks.v1.task_status_updated","payload":{"userId":"623d16a2-816c-4bdf-9467-8c03c1a951e5","program":"onboarding","group":"initial-lab-order","taskId":"a6e08fa3-aad3-4d59-80ef-01ab1efc4d3a","slug":"complete-initial-lab-order","updatingUserId":"b253ed47-f971-41be-bc7b-020f004f4ebf","oldStatus":"LOCKED","newStatus":"SKIPPED"}}
add env vars to .env file:
API_AUTH_EMAIL=your@email.com
API_AUTH_PASSWORD=password
then run:
deno --allow-net --allow-env --env-file v1/admin/auth/identity/assume.tsoptional args, order is important:
- userId
- reasoning
- mfaToken
deno --allow-net --allow-env --env-file v1/admin/auth/identity/assume.ts 63f64133-61f8-4483-977d-b34e6ca9f367 "Investigating Zendesk ticket #12345" 1519678