Trigger

Triggers send are used for automated actions.

Configuring custom actions to use trigger

triggers:
  payment:
    type: http
    schema: "https://specs.psp.example.com/actions/payment/schema.json#"
    url: http://psp.example.com/payment
    method: POST
    projection: "{body: {name: name, amount: quantity * price }}"

Using a custom action

$schema: "https://specs.psp.example.com/actions/payment/schema.json#"
title: Step1
actor: system
name: Payment1
quantity: 1
price: 100

Last updated