LetsFlow
Search…
LetsFlow
Introduction
Getting started
Tutorials
The basics
A handshake
A proper introduction
Under one condition
Invitation by e-mail
REST API
Authentication
API endpoints
Client libraries
Reference
Workflow
Scenario
Process
Response
Trigger
HTTP trigger
NOP trigger
Event trigger
Advanced topics
Distributed workflows
Cryptography
Powered By
GitBook
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
YAML
JSON
$schema
:
"https://specs.psp.example.com/actions/payment/schema.json#"
title
:
Step1
actor
:
system
name
:
Payment1
quantity
:
1
price
:
100
{
"$schema"
:
"https://specs.psp.example.com/actions/payment/schema.json#"
,
"title"
:
"Step1"
,
"actor"
:
"system"
,
"name"
:
"Payment1"
,
"quantity"
:
1
,
"price"
:
100
}
Reference - Previous
Response
Next
HTTP trigger
Last modified
2yr ago
Copy link
Outline
Configuring custom actions to use trigger
Using a custom action