Workflows

Workflows

A Reflex Workflow is an automated process which helps you to get actionable insights in your lightning infrastructure. Workflows consist of an arrangement of one or more jobs, which may be executed in series or parallel. Each job is comprised of a series of discrete steps. Each job may requires inputs, which can be one or multiple parameters. Inputs may be pubkeys and/or payment requests. The result of each job upon completion may be success, failure, skipped, or error. Workflows are highly configurable and can be triggered manually or by using a programmatic trigger for recurrence. Results are shared using a webhook call.

Features

With this feature you can configure different checks on nodes and payment requests, which will return a definitive yes or no. All are based on the active policy configuration.

Dashboard

To run a workflow through the Reflex dashboard, follow these steps.

Get your the public key or payment request

Find the public key of the node you want to run checks for.

This can be done on Amboss Space (opens in a new tab).

Add your inputs

Add your inputs into the workflow and click run.

View Information

Reflex will return a definitive success or failure, based on the latest information on the lightning network.

If you want to run a custom workflow, please contact us with your needs and we will setup a custom template at [email protected]. Click on the Template button to use preconfigured templates.

Glossary

TermDefinition
TemplateDescribes the sequence and arrangement of all jobs to be performed in a workflow
RunSingle execution of a step, job or workflow
Workflow jobComponent of a workflow which contains certain checks. Can have 1 or multiple steps.
Workflow stepPart of a job, which performs checks on a specific part of the job

Status

StatusDescription
SuccessAll conditions were met
FailureA condition was not met
ErrorWe were unable to check the conditions
SkippedWe did not run the execution

API

You can get all workflow and run different actions directly through the API.