HITL Trigger

Triggers when a HITL approval decision is made

HITL Trigger

AI-generated

Summary

Polls the HITL API for approved/rejected requests at configured intervals and emits new decision data on the main output.

Inputs

None.

Output shape

main

Returns array of request objects or null if none found

Examples

Example 1: Trigger on HITL approval

Set actionFilter to 'approve' and templateSlug to a specific template to receive only approved decisions for that template.

Example 2: Poll on custom schedule

Configure pollTimes mode to 'custom' and provide a cronExpression, or set mode to 'everyHour' with desired hour/minute.

Links

Discussion