@pipefy/pipefy-process-coder 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/.agents/skills/ppc-pipefy-flow-authoring/SKILL.md +262 -0
  2. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-2-danfe-consulta.json +247 -0
  3. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-2-webhook-retorno-consulta.json +589 -0
  4. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-4-recebimento-barramento.json +1391 -0
  5. package/.agents/skills/ppc-pipefy-flow-authoring/examples/02-subflow-2-danfe-retorno.json +623 -0
  6. package/.agents/skills/ppc-pipefy-flow-authoring/examples/02-subflow-4-criacao-operacao.json +636 -0
  7. package/.agents/skills/ppc-pipefy-flow-authoring/examples/03-subflow-4-criacao-titulo.json +3642 -0
  8. package/.agents/skills/ppc-pipefy-flow-authoring/examples/04-subflow-4-criacao-cedente.json +863 -0
  9. package/.agents/skills/ppc-pipefy-flow-authoring/examples/04-subflow-4-criacao-sacado.json +799 -0
  10. package/.agents/skills/ppc-pipefy-flow-authoring/examples/README.md +42 -0
  11. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-acompanhamento-cobranca.json +581 -0
  12. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-nfe-monitoramento.json +503 -0
  13. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-retorno-bancario.json +562 -0
  14. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-02-subflow-2-retorno-consulta-cedente.json +557 -0
  15. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-02-subflow-2-retorno-consulta-sacado.json +609 -0
  16. package/.agents/skills/ppc-pipefy-pipe-authoring/SKILL.md +146 -0
  17. package/.agents/skills/ppc-pipefy-process-design/SKILL.md +127 -0
  18. package/.agents/skills/ppc-pipefy-workspace/SKILL.md +91 -0
  19. package/AGENTS.md +456 -0
  20. package/README.md +808 -0
  21. package/bin/pipe.js +13 -0
  22. package/package.json +35 -0
  23. package/src/apply/adopt.ts +150 -0
  24. package/src/apply/agentops.ts +71 -0
  25. package/src/apply/compile.ts +875 -0
  26. package/src/apply/execute.ts +336 -0
  27. package/src/apply/flowops.ts +399 -0
  28. package/src/apply/idmap.ts +241 -0
  29. package/src/apply/mutations.ts +955 -0
  30. package/src/apply/registry.ts +430 -0
  31. package/src/apply/types.ts +134 -0
  32. package/src/cli/args.ts +88 -0
  33. package/src/cli.ts +211 -0
  34. package/src/codec/flow.ts +199 -0
  35. package/src/codec/pack.ts +103 -0
  36. package/src/codec/roundtrip.ts +94 -0
  37. package/src/codec/unpack.ts +198 -0
  38. package/src/commands/agents.ts +184 -0
  39. package/src/commands/apply.ts +1144 -0
  40. package/src/commands/context.ts +119 -0
  41. package/src/commands/create.ts +79 -0
  42. package/src/commands/diff.ts +314 -0
  43. package/src/commands/flows.ts +414 -0
  44. package/src/commands/misc.ts +644 -0
  45. package/src/commands/plan.ts +331 -0
  46. package/src/commands/pull.ts +567 -0
  47. package/src/commands/runs.ts +83 -0
  48. package/src/commands/skills.ts +137 -0
  49. package/src/commands/verify.ts +253 -0
  50. package/src/config.ts +168 -0
  51. package/src/diff/agents.ts +122 -0
  52. package/src/diff/diff.ts +1130 -0
  53. package/src/diff/flow.ts +318 -0
  54. package/src/diff/html.ts +322 -0
  55. package/src/diff/render.ts +101 -0
  56. package/src/model/payload.ts +154 -0
  57. package/src/model/tree.ts +99 -0
  58. package/src/model/volatile.ts +55 -0
  59. package/src/pipefy/agents.ts +165 -0
  60. package/src/pipefy/automations.ts +219 -0
  61. package/src/pipefy/capability.ts +119 -0
  62. package/src/pipefy/client.ts +267 -0
  63. package/src/pipefy/discovery.ts +209 -0
  64. package/src/pipefy/internal.ts +380 -0
  65. package/src/pipefy/ipaas.ts +365 -0
  66. package/src/pipefy/reconstruct.ts +775 -0
  67. package/src/pipefy/reference.ts +251 -0
  68. package/src/pipefy/snapshot.ts +245 -0
  69. package/src/pipefy/toolkit.ts +200 -0
  70. package/src/pipefy/toolkit_bearer.py +137 -0
  71. package/src/report/integrations.ts +231 -0
  72. package/src/report/run.ts +475 -0
  73. package/src/util/fsx.ts +45 -0
  74. package/src/util/git.ts +32 -0
  75. package/src/util/json.ts +55 -0
  76. package/src/util/log.ts +76 -0
  77. package/src/util/pool.ts +48 -0
  78. package/src/util/slug.ts +26 -0
  79. package/src/util/tui.ts +335 -0
  80. package/src/validate/index.ts +123 -0
  81. package/src/validate/integrity.ts +387 -0
  82. package/src/validate/reference.ts +136 -0
  83. package/src/validate/schema.ts +328 -0
  84. package/src/workspace/agents.ts +290 -0
  85. package/src/workspace/docs.ts +407 -0
  86. package/src/workspace/flows.ts +191 -0
  87. package/src/workspace/layout.ts +165 -0
  88. package/src/workspace/lock.ts +148 -0
  89. package/src/workspace/read.ts +165 -0
  90. package/src/workspace/reference.ts +24 -0
  91. package/src/workspace/stamp.ts +301 -0
  92. package/src/workspace/write.ts +225 -0
@@ -0,0 +1,42 @@
1
+ # Reference flows
2
+
3
+ Thirteen real flows from a production trade-finance integration, sanitized
4
+ before being added here — every company name, personal name, email, CNPJ,
5
+ phone number, and address was replaced, and every cached `sampleData` /
6
+ object-shaped `defaultValue` (a captured real API response, not part of the
7
+ flow's structure) was blanked to placeholder values while keeping its shape
8
+ and field names. The scrub was a one-off script, not kept in the repo; a
9
+ future batch needs its own token list built by hand from that batch's real
10
+ values, not a blind re-run of this one's.
11
+
12
+ **Field names inside the blanked sample data are real and informative** —
13
+ e.g. `cnpjOuCpf`, `idCedente`, `telefoneContato` — only the *values* are
14
+ placeholders. The business logic, node chaining, and CODE steps are
15
+ otherwise unchanged from production.
16
+
17
+ Two chains, by filename prefix:
18
+
19
+ ## PRD — the live, always-connected chain
20
+
21
+ | File | What it demonstrates |
22
+ | --- | --- |
23
+ | `01-main-2-webhook-retorno-consulta.json` | `WEBHOOK` trigger → `ROUTER` with an empty branch → calling two subflows (`piece-subflows`) from different branches |
24
+ | `01-main-2-danfe-consulta.json` | `CALLABLE_FLOW` trigger (a subflow's entry point) → `piece-date-helper` → `piece-http-oauth2` (an authenticated external call) → `piece-tables` write |
25
+ | `01-main-4-recebimento-barramento.json` | `WEBHOOK` trigger → `LOOP_ON_ITEMS` over a batch payload → `ROUTER` *inside* the loop with an empty branch → calling a subflow per iteration. The loop-then-router-then-subflow nesting this tool's own compiler had never written before (see `research/ipaas/probe-loop-shape*.ts` and the `AGENTS.md` note on `ADD_ACTION` into a loop) |
26
+ | `02-subflow-2-danfe-retorno.json` | `WEBHOOK` trigger receiving an async callback, `piece-tables` lookup/update, several `CODE` steps formatting Brazilian currency/date/percent values for a Pipefy card update |
27
+ | `02-subflow-4-criacao-operacao.json` | `CALLABLE_FLOW` subflow, `piece-pipefy` `createCard` + `updateCard`, calling a further subflow |
28
+ | `03-subflow-4-criacao-titulo.json` | The deepest one: `LOOP_ON_ITEMS` with a `ROUTER` in its body, `piece-store` for cross-step state (the same `get`/`put`/`remove_value` shape as this project's own CS-request pagination example), `piece-file-helper`, several chained `CALLABLE_FLOW` calls |
29
+ | `04-subflow-4-criacao-cedente.json`, `04-subflow-4-criacao-sacado.json` | Near-identical pair (creditor vs. debtor side of the same process) — good for seeing how two flows built from the same template diverge |
30
+
31
+ ## HML — the staging/monitoring chain
32
+
33
+ Same business domain, built as standalone monitoring flows rather than
34
+ inline subflows — useful as a *second* worked example of the same node
35
+ types without being a copy-paste of the PRD chain:
36
+
37
+ | File | What it demonstrates |
38
+ | --- | --- |
39
+ | `hml-01-subflow-1-titulo-acompanhamento-cobranca.json` | `piece-store` state machine, `piece-date-helper`, single-purpose monitoring flow |
40
+ | `hml-01-subflow-1-titulo-nfe-monitoramento.json` | Similar shape, different business event |
41
+ | `hml-01-subflow-1-titulo-retorno-bancario.json` | Similar shape, a bank-return event |
42
+ | `hml-02-subflow-2-retorno-consulta-cedente.json`, `hml-02-subflow-2-retorno-consulta-sacado.json` | `WEBHOOK` trigger + `piece-pipefy` card update, the creditor/debtor pair again |
@@ -0,0 +1,581 @@
1
+ {
2
+ "name": "✅[PRD][HML][1/1 SUBFLOW][CRIAÇÃO] TÍTULO - AcompanhamentoDeCobranca",
3
+ "type": "SHARED",
4
+ "summary": "",
5
+ "description": "",
6
+ "tags": [],
7
+ "blogUrl": "",
8
+ "metadata": {
9
+ "externalId": "exampleFlowId10aaaaaa"
10
+ },
11
+ "author": "Integrações Ipaas 000000000",
12
+ "categories": [],
13
+ "pieces": [
14
+ "@activepieces/piece-subflows",
15
+ "@activepieces/piece-date-helper",
16
+ "@activepieces/piece-pipefy",
17
+ "@activepieces/piece-store"
18
+ ],
19
+ "flows": [
20
+ {
21
+ "displayName": "✅[PRD][HML][1/1 SUBFLOW][CRIAÇÃO] TÍTULO - AcompanhamentoDeCobranca",
22
+ "trigger": {
23
+ "name": "trigger",
24
+ "valid": true,
25
+ "displayName": "Objeto acompanhamentoDeCobranca",
26
+ "nextAction": {
27
+ "name": "step_1",
28
+ "skip": false,
29
+ "type": "LOOP_ON_ITEMS",
30
+ "valid": true,
31
+ "settings": {
32
+ "items": "{{trigger['output']['data']['acompanhamentoDeCobranca']}}",
33
+ "sampleData": {}
34
+ },
35
+ "nextAction": {
36
+ "name": "step_5",
37
+ "skip": false,
38
+ "type": "PIECE",
39
+ "valid": true,
40
+ "settings": {
41
+ "input": {
42
+ "key": "listCardId",
43
+ "store_scope": "RUN"
44
+ },
45
+ "pieceName": "@activepieces/piece-store",
46
+ "actionName": "get",
47
+ "sampleData": {},
48
+ "pieceVersion": "0.6.15",
49
+ "propertySettings": {
50
+ "key": {
51
+ "type": "MANUAL"
52
+ },
53
+ "store_scope": {
54
+ "type": "MANUAL"
55
+ },
56
+ "defaultValue": {
57
+ "type": "example"
58
+ }
59
+ },
60
+ "errorHandlingOptions": {
61
+ "retryOnFailure": {
62
+ "value": false
63
+ },
64
+ "continueOnFailure": {
65
+ "value": false
66
+ }
67
+ }
68
+ },
69
+ "nextAction": {
70
+ "name": "step_4",
71
+ "skip": false,
72
+ "type": "ROUTER",
73
+ "valid": true,
74
+ "children": [
75
+ {
76
+ "name": "step_6",
77
+ "skip": false,
78
+ "type": "CODE",
79
+ "valid": true,
80
+ "settings": {
81
+ "input": {
82
+ "listCardId": "{{step_5['output']}}"
83
+ },
84
+ "sampleData": {},
85
+ "sourceCode": {
86
+ "code": "export const code = async (inputs) => {\n const ids = inputs.listCardId ?? [];\n const unique = [...new Set(ids.map(String))];\n\n return {\n arrayString: JSON.stringify(unique)\n };\n};",
87
+ "packageJson": "{}"
88
+ },
89
+ "errorHandlingOptions": {
90
+ "retryOnFailure": {
91
+ "value": false
92
+ },
93
+ "continueOnFailure": {
94
+ "value": false
95
+ }
96
+ }
97
+ },
98
+ "nextAction": {
99
+ "name": "step_7",
100
+ "skip": false,
101
+ "type": "PIECE",
102
+ "valid": true,
103
+ "settings": {
104
+ "input": {
105
+ "url": {
106
+ "url": "https://api.pipefy.com/graphql"
107
+ },
108
+ "auth": "{{connections['exampleConnectionId3']}}",
109
+ "body": {
110
+ "data": {
111
+ "query": "mutation {\n updateCardField(input: {card_id:\"{{trigger['output']['data']['cardIdTitulo']}}\", field_id:\"despacho\", new_value:{{step_6['output']['arrayString']}}}) {\n clientMutationId\n } \n\t\n}\n",
112
+ "variables": null
113
+ }
114
+ },
115
+ "method": "POST",
116
+ "headers": {},
117
+ "failsafe": false,
118
+ "body_type": "json",
119
+ "queryParams": {},
120
+ "followRedirects": false,
121
+ "response_is_binary": false
122
+ },
123
+ "pieceName": "@activepieces/piece-pipefy",
124
+ "actionName": "custom_api_call",
125
+ "sampleData": {},
126
+ "pieceVersion": "0.1.8",
127
+ "propertySettings": {
128
+ "url": {
129
+ "type": "MANUAL",
130
+ "schema": {
131
+ "url": {
132
+ "type": "SHORT_TEXT",
133
+ "required": true,
134
+ "description": "You can either use the full URL or the relative path to the base URL\ni.e https://api.pipefy.com/graphql/resource or /resource",
135
+ "displayName": "URL",
136
+ "defaultValue": "https://api.pipefy.com/graphql"
137
+ }
138
+ }
139
+ },
140
+ "body": {
141
+ "type": "MANUAL",
142
+ "schema": {
143
+ "data": {
144
+ "type": "JSON",
145
+ "required": true,
146
+ "displayName": "JSON Body"
147
+ }
148
+ }
149
+ },
150
+ "method": {
151
+ "type": "MANUAL"
152
+ },
153
+ "headers": {
154
+ "type": "MANUAL"
155
+ },
156
+ "timeout": {
157
+ "type": "MANUAL"
158
+ },
159
+ "failsafe": {
160
+ "type": "MANUAL"
161
+ },
162
+ "body_type": {
163
+ "type": "MANUAL"
164
+ },
165
+ "queryParams": {
166
+ "type": "MANUAL"
167
+ },
168
+ "followRedirects": {
169
+ "type": "MANUAL"
170
+ },
171
+ "response_is_binary": {
172
+ "type": "MANUAL"
173
+ }
174
+ },
175
+ "errorHandlingOptions": {
176
+ "retryOnFailure": {
177
+ "value": false
178
+ },
179
+ "continueOnFailure": {
180
+ "value": false
181
+ }
182
+ }
183
+ },
184
+ "nextAction": {
185
+ "name": "step_8",
186
+ "type": "PIECE",
187
+ "valid": true,
188
+ "settings": {
189
+ "input": {
190
+ "mode": "simple",
191
+ "response": {
192
+ "response": {}
193
+ }
194
+ },
195
+ "pieceName": "@activepieces/piece-subflows",
196
+ "actionName": "returnResponse",
197
+ "sampleData": {},
198
+ "pieceVersion": "0.4.15",
199
+ "propertySettings": {
200
+ "mode": {
201
+ "type": "MANUAL"
202
+ },
203
+ "response": {
204
+ "type": "MANUAL",
205
+ "schema": {
206
+ "response": {
207
+ "type": "OBJECT",
208
+ "required": true,
209
+ "displayName": "Response"
210
+ }
211
+ }
212
+ }
213
+ },
214
+ "errorHandlingOptions": {
215
+ "retryOnFailure": {
216
+ "value": false
217
+ },
218
+ "continueOnFailure": {
219
+ "value": false
220
+ }
221
+ }
222
+ },
223
+ "displayName": "Return Response",
224
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
225
+ },
226
+ "displayName": "Atualização Retorno Bancário",
227
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
228
+ },
229
+ "displayName": "arrayString",
230
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
231
+ },
232
+ {
233
+ "name": "step_9",
234
+ "type": "PIECE",
235
+ "valid": true,
236
+ "settings": {
237
+ "input": {
238
+ "mode": "simple",
239
+ "response": {
240
+ "response": {}
241
+ }
242
+ },
243
+ "pieceName": "@activepieces/piece-subflows",
244
+ "actionName": "returnResponse",
245
+ "sampleData": {},
246
+ "pieceVersion": "0.4.15",
247
+ "propertySettings": {
248
+ "mode": {
249
+ "type": "MANUAL"
250
+ },
251
+ "response": {
252
+ "type": "MANUAL",
253
+ "schema": {
254
+ "response": {
255
+ "type": "OBJECT",
256
+ "required": true,
257
+ "displayName": "Response"
258
+ }
259
+ }
260
+ }
261
+ },
262
+ "errorHandlingOptions": {
263
+ "retryOnFailure": {
264
+ "value": false
265
+ },
266
+ "continueOnFailure": {
267
+ "value": false
268
+ }
269
+ }
270
+ },
271
+ "displayName": "Return Response",
272
+ "lastUpdatedDate": "2026-08-11T12:59:29.195Z"
273
+ }
274
+ ],
275
+ "settings": {
276
+ "branches": [
277
+ {
278
+ "branchName": "Is not empty",
279
+ "branchType": "CONDITION",
280
+ "conditions": [
281
+ [
282
+ {
283
+ "operator": "LIST_IS_NOT_EMPTY",
284
+ "firstValue": "{{step_5['output']}}"
285
+ }
286
+ ]
287
+ ]
288
+ },
289
+ {
290
+ "branchName": "Otherwise",
291
+ "branchType": "FALLBACK"
292
+ }
293
+ ],
294
+ "sampleData": {},
295
+ "executionType": "EXECUTE_FIRST_MATCH"
296
+ },
297
+ "displayName": "Verificar Lista",
298
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
299
+ },
300
+ "displayName": "Get - listCardId",
301
+ "lastUpdatedDate": "2026-08-11T12:59:29.193Z"
302
+ },
303
+ "displayName": "Iteração retornosBancarios",
304
+ "firstLoopAction": {
305
+ "name": "step_10",
306
+ "skip": false,
307
+ "type": "PIECE",
308
+ "valid": true,
309
+ "settings": {
310
+ "input": {
311
+ "inputDate": "{{step_1['output']['item']['movData']}}",
312
+ "inputFormat": "YYYY-MM-DDTHH:mm:ss",
313
+ "outputFormat": "DD-MM-YYYY",
314
+ "inputTimeZone": "UTC",
315
+ "outputTimeZone": "UTC"
316
+ },
317
+ "pieceName": "@activepieces/piece-date-helper",
318
+ "actionName": "format_date",
319
+ "sampleData": {},
320
+ "pieceVersion": "0.1.28",
321
+ "propertySettings": {
322
+ "inputDate": {
323
+ "type": "MANUAL"
324
+ },
325
+ "inputFormat": {
326
+ "type": "MANUAL"
327
+ },
328
+ "outputFormat": {
329
+ "type": "MANUAL"
330
+ },
331
+ "inputTimeZone": {
332
+ "type": "MANUAL"
333
+ },
334
+ "outputTimeZone": {
335
+ "type": "MANUAL"
336
+ }
337
+ },
338
+ "errorHandlingOptions": {
339
+ "retryOnFailure": {
340
+ "value": false
341
+ },
342
+ "continueOnFailure": {
343
+ "value": false
344
+ }
345
+ }
346
+ },
347
+ "nextAction": {
348
+ "name": "step_2",
349
+ "skip": false,
350
+ "type": "PIECE",
351
+ "valid": true,
352
+ "settings": {
353
+ "input": {
354
+ "auth": "{{connections['exampleConnectionId3']}}",
355
+ "pipeId": "200000006",
356
+ "organizationId": "100000001",
357
+ "startFormFields": {
358
+ "id": "{{step_1['output']['item']['id']}}",
359
+ "data": "{{step_10['output']['result']}}",
360
+ "valor": "{{step_1['output']['item']['valor']}}",
361
+ "c_digo": "{{step_1['output']['item']['movCodigo']}}",
362
+ "evento": "{{step_1['output']['item']['evento']}}",
363
+ "origem": "{{step_1['output']['item']['movOrigem']}}",
364
+ "usu_rio": "{{step_1['output']['item']['movUsuario']}}",
365
+ "descri_o": "{{step_1['output']['item']['movDescricao']}}",
366
+ "empresa_c_digo": "{{step_1['output']['item']['empCodigo']}}",
367
+ "data_para_contato": "{{step_1['output']['item']['dataPContato']}}",
368
+ "identifica_origem": "{{step_1['output']['item']['movIdentificaOrigem']}}"
369
+ }
370
+ },
371
+ "pieceName": "@activepieces/piece-pipefy",
372
+ "actionName": "createCard",
373
+ "sampleData": {},
374
+ "pieceVersion": "0.1.8",
375
+ "propertySettings": {
376
+ "pipeId": {
377
+ "type": "MANUAL"
378
+ },
379
+ "organizationId": {
380
+ "type": "MANUAL"
381
+ },
382
+ "startFormFields": {
383
+ "type": "MANUAL",
384
+ "schema": {
385
+ "id": {
386
+ "type": "SHORT_TEXT",
387
+ "required": false,
388
+ "description": "",
389
+ "displayName": "ID"
390
+ },
391
+ "data": {
392
+ "type": "SHORT_TEXT",
393
+ "required": false,
394
+ "description": "",
395
+ "displayName": "Data"
396
+ },
397
+ "valor": {
398
+ "type": "SHORT_TEXT",
399
+ "required": false,
400
+ "description": "",
401
+ "displayName": "Valor"
402
+ },
403
+ "c_digo": {
404
+ "type": "SHORT_TEXT",
405
+ "required": false,
406
+ "description": "",
407
+ "displayName": "Código"
408
+ },
409
+ "evento": {
410
+ "type": "SHORT_TEXT",
411
+ "required": false,
412
+ "description": "",
413
+ "displayName": "Evento"
414
+ },
415
+ "origem": {
416
+ "type": "SHORT_TEXT",
417
+ "required": false,
418
+ "description": "",
419
+ "displayName": "Origem"
420
+ },
421
+ "usu_rio": {
422
+ "type": "SHORT_TEXT",
423
+ "required": false,
424
+ "description": "",
425
+ "displayName": "Usuário"
426
+ },
427
+ "descri_o": {
428
+ "type": "LONG_TEXT",
429
+ "required": false,
430
+ "description": "",
431
+ "displayName": "Descrição"
432
+ },
433
+ "empresa_c_digo": {
434
+ "type": "SHORT_TEXT",
435
+ "required": false,
436
+ "description": "",
437
+ "displayName": "Empresa código"
438
+ },
439
+ "data_para_contato": {
440
+ "type": "SHORT_TEXT",
441
+ "required": false,
442
+ "description": "",
443
+ "displayName": "Data para contato"
444
+ },
445
+ "identifica_origem": {
446
+ "type": "SHORT_TEXT",
447
+ "required": false,
448
+ "description": "",
449
+ "displayName": "Identifica Origem"
450
+ }
451
+ }
452
+ }
453
+ },
454
+ "errorHandlingOptions": {
455
+ "retryOnFailure": {
456
+ "value": false
457
+ },
458
+ "continueOnFailure": {
459
+ "value": true
460
+ }
461
+ }
462
+ },
463
+ "nextAction": {
464
+ "name": "step_3",
465
+ "skip": false,
466
+ "type": "PIECE",
467
+ "valid": true,
468
+ "settings": {
469
+ "input": {
470
+ "key": "listCardId",
471
+ "value": [
472
+ "{{step_2['output']['data']['createCard']['card']['id']}}"
473
+ ],
474
+ "store_scope": "RUN",
475
+ "ignore_if_exists": false
476
+ },
477
+ "pieceName": "@activepieces/piece-store",
478
+ "actionName": "add_to_list",
479
+ "sampleData": {},
480
+ "pieceVersion": "0.6.15",
481
+ "propertySettings": {
482
+ "key": {
483
+ "type": "MANUAL"
484
+ },
485
+ "value": {
486
+ "type": "MANUAL"
487
+ },
488
+ "store_scope": {
489
+ "type": "MANUAL"
490
+ },
491
+ "ignore_if_exists": {
492
+ "type": "MANUAL"
493
+ }
494
+ },
495
+ "errorHandlingOptions": {
496
+ "retryOnFailure": {
497
+ "value": false
498
+ },
499
+ "continueOnFailure": {
500
+ "value": false
501
+ }
502
+ }
503
+ },
504
+ "displayName": "Add To List - listCardId",
505
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
506
+ },
507
+ "displayName": "Criação Retorno Bancário - 200000008",
508
+ "lastUpdatedDate": "2026-08-11T12:59:29.194Z"
509
+ },
510
+ "displayName": "Formato Data",
511
+ "lastUpdatedDate": "2026-08-11T12:59:29.193Z"
512
+ },
513
+ "lastUpdatedDate": "2026-08-11T12:59:29.193Z"
514
+ },
515
+ "lastUpdatedDate": "2026-08-11T12:59:29.193Z",
516
+ "type": "PIECE_TRIGGER",
517
+ "settings": {
518
+ "sampleData": {},
519
+ "propertySettings": {
520
+ "mode": {
521
+ "type": "MANUAL"
522
+ },
523
+ "exampleData": {
524
+ "type": "MANUAL",
525
+ "schema": {
526
+ "sampleData": {
527
+ "type": "example",
528
+ "required": false,
529
+ "displayName": "example"
530
+ }
531
+ }
532
+ }
533
+ },
534
+ "pieceName": "@activepieces/piece-subflows",
535
+ "pieceVersion": "0.4.15",
536
+ "triggerName": "callableFlow",
537
+ "input": {
538
+ "mode": "advanced",
539
+ "exampleData": {
540
+ "sampleData": {
541
+ "cardIdTitulo": "example",
542
+ "acompanhamentoDeCobranca": [
543
+ {
544
+ "id": "example",
545
+ "valor": 0,
546
+ "evento": "example",
547
+ "movData": "example",
548
+ "empCodigo": 0,
549
+ "movCodigo": "example",
550
+ "movOrigem": "example",
551
+ "movUsuario": "example",
552
+ "dataPContato": "example",
553
+ "movDescricao": "example",
554
+ "movIdentificaOrigem": "example"
555
+ },
556
+ {
557
+ "id": "example",
558
+ "valor": 0,
559
+ "evento": "example",
560
+ "movData": "example",
561
+ "empCodigo": 0,
562
+ "movCodigo": "example",
563
+ "movOrigem": "example",
564
+ "movUsuario": "example",
565
+ "dataPContato": "example",
566
+ "movDescricao": "example",
567
+ "movIdentificaOrigem": "example"
568
+ }
569
+ ]
570
+ }
571
+ }
572
+ }
573
+ }
574
+ },
575
+ "valid": true,
576
+ "schemaVersion": "22",
577
+ "notes": []
578
+ }
579
+ ],
580
+ "status": "PUBLISHED"
581
+ }