API
- Introduction
- Authentication
- Idempotency
- Versioning
- Silo
- Transform
- Sequences
- Access
- Utils
Fetch all workflows
Fetch workflows in the current workspace.
curl --request GET \
--url https://api.invopop.com/transform/v1/workflows
{
"created_at": "<string>",
"limit": 123,
"list": [
{
"country": "<string>",
"created_at": "<string>",
"description": "<string>",
"disabled": true,
"draft": true,
"hash": "<string>",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"rescue": [
{
"action": "email.send",
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"code": "<string>",
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"steps": [
{}
],
"stop": true
}
],
"notes": "<string>",
"summary": "<string>"
}
],
"schema": "<string>",
"steps": [
{
"action": "email.send",
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"code": "<string>",
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"steps": [
{}
],
"stop": true
}
],
"notes": "<string>",
"summary": "<string>"
}
],
"updated_at": "<string>",
"version": "<string>"
}
],
"next_created_at": "<string>",
"schema": "bill/invoice"
}
Query Parameters
Maximum number of workflows to return.
100
Date from which results are provided.
"2023-08-02T00:00:00.000Z"
Short schema name that the workflow will be allowed to process.
"bill/invoice"
Response
First or queried timestamp when the first entry in the page was created.
Maximum number of objects returned in a page.
List of workflows.
ISO country code the workflow will be used for.
When the workflow was created.
Description of the workflow
When true, this workflow can no longer be used.
When true, this workflow is still in draft mode and will not be used in jobs.
Partial SHA256 hash of the workflow's contents.
The UUID (any version) of the workflow.
"186522a6-e697-4e34-8498-eee961bcb845"
Name of the workflow
List of steps to execute when a KO status is returned by a previous step and not explicitly managed.
ID of the action to execute
"email.send"
JSON configuration sent to the provider
The UUID (any version) of the step.
"186522a6-e697-4e34-8498-eee961bcb845"
Name of the step
Optional array of next steps to execute after this one.
Code to match against
Step status to match against, when empty this next step will always be executed.
OK
, SKIP
, KO
, TIMEOUT
ID of the step to execute next.
"186522a6-e697-4e34-8498-eee961bcb845"
Array of steps to execute
ID of the action to execute
"email.send"
JSON configuration sent to the provider
The UUID (any version) of the step.
"186522a6-e697-4e34-8498-eee961bcb845"
Name of the step
Optional array of next steps to execute after this one.
Additional internal details
Summary of the step's configuration.
When true, the workflow will stop.
Additional internal details
Summary of the step's configuration.
Short schema name that the workflow will be allowed to process.
List of steps to execute.
ID of the action to execute
"email.send"
JSON configuration sent to the provider
The UUID (any version) of the step.
"186522a6-e697-4e34-8498-eee961bcb845"
Name of the step
Optional array of next steps to execute after this one.
Code to match against
Step status to match against, when empty this next step will always be executed.
OK
, SKIP
, KO
, TIMEOUT
ID of the step to execute next.
"186522a6-e697-4e34-8498-eee961bcb845"
Array of steps to execute
ID of the action to execute
"email.send"
JSON configuration sent to the provider
The UUID (any version) of the step.
"186522a6-e697-4e34-8498-eee961bcb845"
Name of the step
Optional array of next steps to execute after this one.
Additional internal details
Summary of the step's configuration.
When true, the workflow will stop.
Additional internal details
Summary of the step's configuration.
When the workflow was last updated.
Version of the workflow's contents currently defined.
Timestamp that indicates the start of the next page of results, if any.
Short schema name that the workflows have been filtered by.
"bill/invoice"
curl --request GET \
--url https://api.invopop.com/transform/v1/workflows
{
"created_at": "<string>",
"limit": 123,
"list": [
{
"country": "<string>",
"created_at": "<string>",
"description": "<string>",
"disabled": true,
"draft": true,
"hash": "<string>",
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"rescue": [
{
"action": "email.send",
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"code": "<string>",
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"steps": [
{}
],
"stop": true
}
],
"notes": "<string>",
"summary": "<string>"
}
],
"schema": "<string>",
"steps": [
{
"action": "email.send",
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"code": "<string>",
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"steps": [
{}
],
"stop": true
}
],
"notes": "<string>",
"summary": "<string>"
}
],
"updated_at": "<string>",
"version": "<string>"
}
],
"next_created_at": "<string>",
"schema": "bill/invoice"
}