curl --request GET \
--url https://api.tableflow.com/v2/flows \
--header 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "dk4g1tUg1uHLs8YU",
"workspace_id": "uT2bJNWN75YPU95r",
"name": "PO to Invoice Reconciliation",
"description": "Match purchase orders with invoices and verify totals",
"file_input_config": {
"file_fields": [
{
"key": "purchase_order",
"name": "Purchase Order",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
},
{
"key": "invoice",
"name": "Invoice",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
}
]
},
"steps": [
{
"id": "step_1",
"title": "Extract Purchase Order",
"description": "Extract data from the purchase order",
"type": "extraction",
"order": 1,
"config": {
"template_id": "template_po_123",
"file_key": "purchase_order"
}
},
{
"id": "step_2",
"title": "Extract Invoice",
"description": "Extract data from the invoice",
"type": "extraction",
"order": 2,
"config": {
"template_id": "template_inv_456",
"file_key": "invoice"
}
},
{
"id": "step_3",
"title": "Reconcile Documents",
"description": "Match line items and verify totals",
"type": "reconciliation",
"order": 3,
"config": {
"source_step_id_1": "step_1",
"source_step_id_2": "step_2",
"table_key_1": "line_items",
"table_key_2": "line_items"
}
}
],
"active": true,
"created_at": 1682366228,
"updated_at": 1682366228
}
]
Get a list of available flows in your workspace
curl --request GET \
--url https://api.tableflow.com/v2/flows \
--header 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "dk4g1tUg1uHLs8YU",
"workspace_id": "uT2bJNWN75YPU95r",
"name": "PO to Invoice Reconciliation",
"description": "Match purchase orders with invoices and verify totals",
"file_input_config": {
"file_fields": [
{
"key": "purchase_order",
"name": "Purchase Order",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
},
{
"key": "invoice",
"name": "Invoice",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
}
]
},
"steps": [
{
"id": "step_1",
"title": "Extract Purchase Order",
"description": "Extract data from the purchase order",
"type": "extraction",
"order": 1,
"config": {
"template_id": "template_po_123",
"file_key": "purchase_order"
}
},
{
"id": "step_2",
"title": "Extract Invoice",
"description": "Extract data from the invoice",
"type": "extraction",
"order": 2,
"config": {
"template_id": "template_inv_456",
"file_key": "invoice"
}
},
{
"id": "step_3",
"title": "Reconcile Documents",
"description": "Match line items and verify totals",
"type": "reconciliation",
"order": 3,
"config": {
"source_step_id_1": "step_1",
"source_step_id_2": "step_2",
"table_key_1": "line_items",
"table_key_2": "line_items"
}
}
],
"active": true,
"created_at": 1682366228,
"updated_at": 1682366228
}
]
[
{
"id": "dk4g1tUg1uHLs8YU",
"workspace_id": "uT2bJNWN75YPU95r",
"name": "PO to Invoice Reconciliation",
"description": "Match purchase orders with invoices and verify totals",
"file_input_config": {
"file_fields": [
{
"key": "purchase_order",
"name": "Purchase Order",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
},
{
"key": "invoice",
"name": "Invoice",
"required": true,
"file_types": ["pdf", "image"],
"max_file_size": 10485760
}
]
},
"steps": [
{
"id": "step_1",
"title": "Extract Purchase Order",
"description": "Extract data from the purchase order",
"type": "extraction",
"order": 1,
"config": {
"template_id": "template_po_123",
"file_key": "purchase_order"
}
},
{
"id": "step_2",
"title": "Extract Invoice",
"description": "Extract data from the invoice",
"type": "extraction",
"order": 2,
"config": {
"template_id": "template_inv_456",
"file_key": "invoice"
}
},
{
"id": "step_3",
"title": "Reconcile Documents",
"description": "Match line items and verify totals",
"type": "reconciliation",
"order": 3,
"config": {
"source_step_id_1": "step_1",
"source_step_id_2": "step_2",
"table_key_1": "line_items",
"table_key_2": "line_items"
}
}
],
"active": true,
"created_at": 1682366228,
"updated_at": 1682366228
}
]
curl --request GET \
--url https://api.tableflow.com/v2/flows \
--header 'Authorization: Bearer YOUR_API_KEY'
Show Flow Object
Show File Input Config
Show Flow Step