@pipefy/pipefy-process-coder 0.1.0 → 0.1.2

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 (162) hide show
  1. package/.agents/skills/ppc-pipefy-flow-authoring/SKILL.md +262 -262
  2. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-2-danfe-consulta.json +247 -247
  3. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-2-webhook-retorno-consulta.json +589 -589
  4. package/.agents/skills/ppc-pipefy-flow-authoring/examples/01-main-4-recebimento-barramento.json +1391 -1391
  5. package/.agents/skills/ppc-pipefy-flow-authoring/examples/02-subflow-2-danfe-retorno.json +623 -623
  6. package/.agents/skills/ppc-pipefy-flow-authoring/examples/02-subflow-4-criacao-operacao.json +636 -636
  7. package/.agents/skills/ppc-pipefy-flow-authoring/examples/03-subflow-4-criacao-titulo.json +3642 -3642
  8. package/.agents/skills/ppc-pipefy-flow-authoring/examples/04-subflow-4-criacao-cedente.json +863 -863
  9. package/.agents/skills/ppc-pipefy-flow-authoring/examples/04-subflow-4-criacao-sacado.json +799 -799
  10. package/.agents/skills/ppc-pipefy-flow-authoring/examples/README.md +42 -42
  11. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-acompanhamento-cobranca.json +581 -581
  12. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-nfe-monitoramento.json +503 -503
  13. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-01-subflow-1-titulo-retorno-bancario.json +562 -562
  14. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-02-subflow-2-retorno-consulta-cedente.json +557 -557
  15. package/.agents/skills/ppc-pipefy-flow-authoring/examples/hml-02-subflow-2-retorno-consulta-sacado.json +609 -609
  16. package/.agents/skills/ppc-pipefy-pipe-authoring/SKILL.md +146 -146
  17. package/.agents/skills/ppc-pipefy-process-design/SKILL.md +127 -127
  18. package/.agents/skills/ppc-pipefy-workspace/SKILL.md +91 -91
  19. package/AGENTS.md +476 -456
  20. package/LICENSE +202 -0
  21. package/NOTICE +11 -0
  22. package/README.md +830 -808
  23. package/bin/pipe.js +25 -4
  24. package/dist/apply/adopt.js +128 -0
  25. package/dist/apply/agentops.js +42 -0
  26. package/dist/apply/compile.js +722 -0
  27. package/dist/apply/execute.js +277 -0
  28. package/dist/apply/flowops.js +293 -0
  29. package/dist/apply/idmap.js +233 -0
  30. package/dist/apply/mutations.js +704 -0
  31. package/dist/apply/registry.js +348 -0
  32. package/dist/apply/types.js +18 -0
  33. package/dist/cli/args.js +79 -0
  34. package/dist/cli.js +196 -0
  35. package/dist/codec/flow.js +164 -0
  36. package/dist/codec/pack.js +88 -0
  37. package/dist/codec/roundtrip.js +86 -0
  38. package/dist/codec/unpack.js +181 -0
  39. package/dist/commands/agents.js +145 -0
  40. package/dist/commands/apply.js +982 -0
  41. package/dist/commands/context.js +79 -0
  42. package/dist/commands/create.js +63 -0
  43. package/dist/commands/diff.js +294 -0
  44. package/dist/commands/flows.js +348 -0
  45. package/dist/commands/misc.js +562 -0
  46. package/dist/commands/plan.js +301 -0
  47. package/dist/commands/pull.js +549 -0
  48. package/dist/commands/runs.js +74 -0
  49. package/dist/commands/skills.js +131 -0
  50. package/dist/commands/verify.js +205 -0
  51. package/dist/config.js +125 -0
  52. package/dist/diff/agents.js +80 -0
  53. package/dist/diff/diff.js +983 -0
  54. package/dist/diff/flow.js +258 -0
  55. package/{src/diff/html.ts → dist/diff/html.js} +274 -322
  56. package/dist/diff/render.js +90 -0
  57. package/dist/model/payload.js +84 -0
  58. package/dist/model/tree.js +7 -0
  59. package/dist/model/volatile.js +54 -0
  60. package/dist/pipefy/agents.js +131 -0
  61. package/dist/pipefy/automations.js +155 -0
  62. package/dist/pipefy/capability.js +84 -0
  63. package/dist/pipefy/client.js +204 -0
  64. package/dist/pipefy/discovery.js +148 -0
  65. package/dist/pipefy/internal.js +406 -0
  66. package/dist/pipefy/ipaas.js +269 -0
  67. package/dist/pipefy/reconstruct.js +676 -0
  68. package/dist/pipefy/reference.js +172 -0
  69. package/dist/pipefy/snapshot.js +185 -0
  70. package/dist/pipefy/toolkit.js +174 -0
  71. package/{src → dist}/pipefy/toolkit_bearer.py +60 -14
  72. package/dist/report/integrations.js +165 -0
  73. package/dist/report/run.js +356 -0
  74. package/dist/util/fsx.js +50 -0
  75. package/dist/util/git.js +25 -0
  76. package/dist/util/json.js +56 -0
  77. package/dist/util/log.js +69 -0
  78. package/dist/util/pool.js +42 -0
  79. package/dist/util/slug.js +23 -0
  80. package/dist/util/tui.js +287 -0
  81. package/dist/validate/index.js +86 -0
  82. package/dist/validate/integrity.js +370 -0
  83. package/dist/validate/reference.js +120 -0
  84. package/dist/validate/schema.js +278 -0
  85. package/dist/version.js +18 -0
  86. package/dist/workspace/agents.js +245 -0
  87. package/{src/workspace/docs.ts → dist/workspace/docs.js} +367 -407
  88. package/dist/workspace/flows.js +149 -0
  89. package/dist/workspace/layout.js +146 -0
  90. package/dist/workspace/lock.js +83 -0
  91. package/dist/workspace/read.js +168 -0
  92. package/dist/workspace/reference.js +24 -0
  93. package/dist/workspace/stamp.js +234 -0
  94. package/dist/workspace/write.js +194 -0
  95. package/package.json +38 -35
  96. package/src/apply/adopt.ts +0 -150
  97. package/src/apply/agentops.ts +0 -71
  98. package/src/apply/compile.ts +0 -875
  99. package/src/apply/execute.ts +0 -336
  100. package/src/apply/flowops.ts +0 -399
  101. package/src/apply/idmap.ts +0 -241
  102. package/src/apply/mutations.ts +0 -955
  103. package/src/apply/registry.ts +0 -430
  104. package/src/apply/types.ts +0 -134
  105. package/src/cli/args.ts +0 -88
  106. package/src/cli.ts +0 -211
  107. package/src/codec/flow.ts +0 -199
  108. package/src/codec/pack.ts +0 -103
  109. package/src/codec/roundtrip.ts +0 -94
  110. package/src/codec/unpack.ts +0 -198
  111. package/src/commands/agents.ts +0 -184
  112. package/src/commands/apply.ts +0 -1144
  113. package/src/commands/context.ts +0 -119
  114. package/src/commands/create.ts +0 -79
  115. package/src/commands/diff.ts +0 -314
  116. package/src/commands/flows.ts +0 -414
  117. package/src/commands/misc.ts +0 -644
  118. package/src/commands/plan.ts +0 -331
  119. package/src/commands/pull.ts +0 -567
  120. package/src/commands/runs.ts +0 -83
  121. package/src/commands/skills.ts +0 -137
  122. package/src/commands/verify.ts +0 -253
  123. package/src/config.ts +0 -168
  124. package/src/diff/agents.ts +0 -122
  125. package/src/diff/diff.ts +0 -1130
  126. package/src/diff/flow.ts +0 -318
  127. package/src/diff/render.ts +0 -101
  128. package/src/model/payload.ts +0 -154
  129. package/src/model/tree.ts +0 -99
  130. package/src/model/volatile.ts +0 -55
  131. package/src/pipefy/agents.ts +0 -165
  132. package/src/pipefy/automations.ts +0 -219
  133. package/src/pipefy/capability.ts +0 -119
  134. package/src/pipefy/client.ts +0 -267
  135. package/src/pipefy/discovery.ts +0 -209
  136. package/src/pipefy/internal.ts +0 -380
  137. package/src/pipefy/ipaas.ts +0 -365
  138. package/src/pipefy/reconstruct.ts +0 -775
  139. package/src/pipefy/reference.ts +0 -251
  140. package/src/pipefy/snapshot.ts +0 -245
  141. package/src/pipefy/toolkit.ts +0 -200
  142. package/src/report/integrations.ts +0 -231
  143. package/src/report/run.ts +0 -475
  144. package/src/util/fsx.ts +0 -45
  145. package/src/util/git.ts +0 -32
  146. package/src/util/json.ts +0 -55
  147. package/src/util/log.ts +0 -76
  148. package/src/util/pool.ts +0 -48
  149. package/src/util/slug.ts +0 -26
  150. package/src/util/tui.ts +0 -335
  151. package/src/validate/index.ts +0 -123
  152. package/src/validate/integrity.ts +0 -387
  153. package/src/validate/reference.ts +0 -136
  154. package/src/validate/schema.ts +0 -328
  155. package/src/workspace/agents.ts +0 -290
  156. package/src/workspace/flows.ts +0 -191
  157. package/src/workspace/layout.ts +0 -165
  158. package/src/workspace/lock.ts +0 -148
  159. package/src/workspace/read.ts +0 -165
  160. package/src/workspace/reference.ts +0 -24
  161. package/src/workspace/stamp.ts +0 -301
  162. package/src/workspace/write.ts +0 -225
@@ -1,589 +1,589 @@
1
- {
2
- "name": "✅[PRD][1/2 MAIN] [RETORNO CONSULTA/UPDATE] Webhook Retorno Consulta",
3
- "type": "SHARED",
4
- "summary": "",
5
- "description": "",
6
- "tags": [],
7
- "blogUrl": "",
8
- "metadata": {
9
- "externalId": "exampleFlowId04aaaaaa"
10
- },
11
- "author": "Integrações Ipaas 000000000",
12
- "categories": [],
13
- "pieces": [
14
- "@activepieces/piece-webhook",
15
- "@activepieces/piece-subflows"
16
- ],
17
- "flows": [
18
- {
19
- "displayName": "✅[PRD][1/2 MAIN] [RETORNO CONSULTA/UPDATE] Webhook Retorno Consulta",
20
- "trigger": {
21
- "name": "trigger",
22
- "valid": true,
23
- "displayName": "Catch Webhook",
24
- "nextAction": {
25
- "name": "step_2",
26
- "skip": false,
27
- "type": "ROUTER",
28
- "valid": true,
29
- "children": [
30
- {
31
- "name": "step_1",
32
- "skip": false,
33
- "type": "PIECE",
34
- "valid": true,
35
- "settings": {
36
- "input": {
37
- "fields": {
38
- "body": {
39
- "message": "Autenticado"
40
- },
41
- "status": 200,
42
- "headers": {}
43
- },
44
- "respond": "respond",
45
- "responseType": "json"
46
- },
47
- "pieceName": "@activepieces/piece-webhook",
48
- "actionName": "return_response",
49
- "sampleData": {},
50
- "pieceVersion": "0.1.33",
51
- "propertySettings": {
52
- "fields": {
53
- "type": "MANUAL",
54
- "schema": {
55
- "body": {
56
- "type": "JSON",
57
- "required": true,
58
- "displayName": "JSON Body"
59
- },
60
- "status": {
61
- "type": "NUMBER",
62
- "required": false,
63
- "displayName": "Status",
64
- "defaultValue": 200
65
- },
66
- "headers": {
67
- "type": "OBJECT",
68
- "required": false,
69
- "displayName": "Headers"
70
- }
71
- }
72
- },
73
- "respond": {
74
- "type": "MANUAL"
75
- },
76
- "responseType": {
77
- "type": "MANUAL"
78
- }
79
- },
80
- "errorHandlingOptions": {
81
- "retryOnFailure": {
82
- "value": false
83
- },
84
- "continueOnFailure": {
85
- "value": false
86
- }
87
- }
88
- },
89
- "nextAction": {
90
- "name": "step_5",
91
- "skip": false,
92
- "type": "CODE",
93
- "valid": true,
94
- "settings": {
95
- "input": {
96
- "": "{{trigger['output']['body']}}"
97
- },
98
- "sampleData": {},
99
- "sourceCode": {
100
- "code": "export const code = async (inputs) => {\n // Tenta extrair o body de várias estruturas possíveis\n let body = inputs.body;\n \n // Caso o input venha aninhado em uma chave vazia: inputs[\"\"].body\n if (!body && inputs[\"\"] && inputs[\"\"].body) {\n body = inputs[\"\"].body;\n }\n \n // Caso o próprio inputs[\"\"] já seja o body\n if (!body && inputs[\"\"]) {\n body = inputs[\"\"];\n }\n \n // Validação\n if (!body || typeof body !== 'object') {\n return {\n tipo: 'desconhecido',\n possuiIdCedente: false,\n possuiIdSacado: false,\n mensagem: 'Body inválido ou não fornecido'\n };\n }\n \n // Função auxiliar: considera válido apenas se existir, não for null/undefined,\n // e não for 0 (numérico) nem \"0\" (string)\n const possuiValorValido = (valor) => {\n if (valor === null || valor === undefined) return false;\n // Normaliza string removendo espaços\n const str = String(valor).trim();\n if (str === '' || str === '0') return false;\n // Converte para número e verifica se é diferente de zero\n const num = Number(str);\n if (!isNaN(num) && num === 0) return false;\n return true;\n };\n \n // Verifica a presença das chaves com valor válido\n const possuiIdCedente = 'idCedente' in body && possuiValorValido(body.idCedente);\n const possuiIdSacado = 'idSacado' in body && possuiValorValido(body.idSacado);\n \n // Define o tipo\n let tipo = 'desconhecido';\n \n if (possuiIdCedente && possuiIdSacado) {\n tipo = 'ambos';\n } else if (possuiIdCedente) {\n tipo = 'cedente';\n } else if (possuiIdSacado) {\n tipo = 'sacado';\n }\n \n // Retorna os campos do body + indicadores\n return {\n tipo,\n possuiIdCedente,\n possuiIdSacado,\n ...body\n };\n};",
101
- "packageJson": "{}"
102
- },
103
- "errorHandlingOptions": {
104
- "retryOnFailure": {
105
- "value": false
106
- },
107
- "continueOnFailure": {
108
- "value": false
109
- }
110
- }
111
- },
112
- "nextAction": {
113
- "name": "step_6",
114
- "skip": false,
115
- "type": "ROUTER",
116
- "valid": true,
117
- "children": [
118
- {
119
- "name": "step_8",
120
- "skip": false,
121
- "type": "PIECE",
122
- "valid": true,
123
- "settings": {
124
- "input": {
125
- "flow": {
126
- "externalId": "exampleFlowId02aaaaaa",
127
- "exampleData": {
128
- "sampleData": {
129
- "cedente": {
130
- "cep": "example",
131
- "nome": "example",
132
- "email": "example",
133
- "cidade": "example",
134
- "estado": "example",
135
- "endereco": "example",
136
- "cnpjOuCpf": "example",
137
- "idCedente": 0,
138
- "dataCadastro": "example",
139
- "codigoEmpresa": 0,
140
- "telefoneContato": "example",
141
- "idGrupoPrincipal": 0,
142
- "analistaResponsavel": "example",
143
- "vinculoGrupoEconomico": false
144
- },
145
- "empresaCodigo": 0
146
- }
147
- }
148
- },
149
- "mode": "simple",
150
- "flowProps": {
151
- "payload": {
152
- "cedente": "{{trigger['output']['body']}}",
153
- "empresaCodigo": "{{trigger['output']['body']['codigoEmpresa']}}"
154
- }
155
- },
156
- "waitForResponse": false
157
- },
158
- "pieceName": "@activepieces/piece-subflows",
159
- "actionName": "callFlow",
160
- "sampleData": {},
161
- "pieceVersion": "0.4.12",
162
- "propertySettings": {
163
- "flow": {
164
- "type": "MANUAL"
165
- },
166
- "mode": {
167
- "type": "MANUAL"
168
- },
169
- "flowProps": {
170
- "type": "MANUAL",
171
- "schema": {
172
- "payload": {
173
- "type": "OBJECT",
174
- "required": true,
175
- "displayName": "Payload",
176
- "defaultValue": {
177
- "cedente": {
178
- "cep": "example",
179
- "nome": "example",
180
- "email": "example",
181
- "cidade": "example",
182
- "estado": "example",
183
- "endereco": "example",
184
- "cnpjOuCpf": "example",
185
- "idCedente": 0,
186
- "dataCadastro": "example",
187
- "codigoEmpresa": 0,
188
- "telefoneContato": "example",
189
- "idGrupoPrincipal": 0,
190
- "analistaResponsavel": "example",
191
- "vinculoGrupoEconomico": false
192
- },
193
- "empresaCodigo": 0
194
- }
195
- }
196
- }
197
- },
198
- "waitForResponse": {
199
- "type": "MANUAL"
200
- }
201
- },
202
- "errorHandlingOptions": {
203
- "retryOnFailure": {
204
- "value": false
205
- },
206
- "continueOnFailure": {
207
- "value": false
208
- }
209
- }
210
- },
211
- "displayName": "[2/2 SUBFLOW][RETORNO CONSULTA/UPDATE] Retorno Cedente",
212
- "lastUpdatedDate": "2026-08-11T14:45:30.175Z"
213
- },
214
- {
215
- "name": "step_9",
216
- "skip": false,
217
- "type": "PIECE",
218
- "valid": true,
219
- "settings": {
220
- "input": {
221
- "flow": {
222
- "externalId": "exampleFlowId03aaaaaa",
223
- "exampleData": {
224
- "sampleData": {
225
- "sacado": {
226
- "cep": "example",
227
- "nome": "example",
228
- "email": "example",
229
- "cidade": "example",
230
- "estado": "example",
231
- "endereco": "example",
232
- "idSacado": "example",
233
- "percHNeg": {
234
- "totQtd": 0,
235
- "totSac": 0,
236
- "totNaoConfirma": 0
237
- },
238
- "percHPre": {
239
- "totQtd": 0,
240
- "totSac": 0,
241
- "totPresente": 0
242
- },
243
- "cnpjOuCpf": "example",
244
- "idCedente": "example",
245
- "razaoSocial": "example",
246
- "codigoEmpresa": 0,
247
- "telefoneContato": "example",
248
- "liquidacaoPorEvento": [
249
- {
250
- "descricao": "example",
251
- "codigoEvento": 0,
252
- "totalLiquidado": 0,
253
- "quantidadeTitulos": 0
254
- }
255
- ],
256
- "historicoValorAberto": {
257
- "totalTitulosAbertos": 0,
258
- "totalTitulosAbertosQtd": 0,
259
- "totalTitulosAbertosVencer": 0,
260
- "totalTitulosAbertosVencidos": 0,
261
- "totalTitulosAbertosVencerQtd": 0,
262
- "totalTitulosAbertosVencidosQtd": 0
263
- },
264
- "historicoValorLiquidado": {
265
- "totalOpeNaoEfetivadas": 0,
266
- "totalTitulosLiquidados": 0,
267
- "totalOpeNaoEfetivadasQtd": 0,
268
- "totalTitulosLiquidadosQtd": 0,
269
- "totalTitulosLiquidadosPagoDia": 0,
270
- "totalTitulosLiquidadosPagoAtraso": 0,
271
- "totalTitulosLiquidadosPagoDiaQtd": 0,
272
- "totalTitulosLiquidadosPagoAtrasoQtd": 0,
273
- "totalTitulosLiquidadosChequeDevolvido": 0,
274
- "totalTitulosLiquidadosChequeDevolvidoQtd": 0
275
- }
276
- },
277
- "empresaCodigo": 0
278
- }
279
- }
280
- },
281
- "mode": "simple",
282
- "flowProps": {
283
- "payload": {
284
- "sacado": "{{trigger['output']['body']}}",
285
- "empresaCodigo": "{{trigger['output']['body']['codigoEmpresa']}}"
286
- }
287
- },
288
- "waitForResponse": false
289
- },
290
- "pieceName": "@activepieces/piece-subflows",
291
- "actionName": "callFlow",
292
- "sampleData": {},
293
- "pieceVersion": "0.4.12",
294
- "propertySettings": {
295
- "flow": {
296
- "type": "MANUAL"
297
- },
298
- "mode": {
299
- "type": "MANUAL"
300
- },
301
- "flowProps": {
302
- "type": "MANUAL",
303
- "schema": {
304
- "payload": {
305
- "type": "OBJECT",
306
- "required": true,
307
- "displayName": "Payload",
308
- "defaultValue": {
309
- "sacado": {
310
- "cep": "example",
311
- "nome": "example",
312
- "email": "example",
313
- "cidade": "example",
314
- "estado": "example",
315
- "endereco": "example",
316
- "idSacado": "example",
317
- "percHNeg": {
318
- "totQtd": 0,
319
- "totSac": 0,
320
- "totNaoConfirma": 0
321
- },
322
- "percHPre": {
323
- "totQtd": 0,
324
- "totSac": 0,
325
- "totPresente": 0
326
- },
327
- "cnpjOuCpf": "example",
328
- "idCedente": "example",
329
- "indicadores": "example",
330
- "razaoSocial": "example",
331
- "nomeFantasia": "example",
332
- "codigoEmpresa": 0,
333
- "telefoneContato": "example",
334
- "liquidacaoPorEvento": [
335
- {
336
- "descricao": "example",
337
- "codigoEvento": 0,
338
- "totalLiquidado": 0,
339
- "quantidadeTitulos": 0
340
- }
341
- ],
342
- "historicoValorAberto": {
343
- "totalTitulosAbertos": 0,
344
- "totalTitulosAbertosQtd": 0,
345
- "totalTitulosAbertosVencer": 0,
346
- "totalTitulosAbertosVencidos": 0,
347
- "totalTitulosAbertosVencerQtd": 0,
348
- "totalTitulosAbertosVencidosQtd": 0
349
- },
350
- "historicoValorLiquidado": {
351
- "totalOpeNaoEfetivadas": 0,
352
- "totalTitulosLiquidados": 0,
353
- "totalOpeNaoEfetivadasQtd": 0,
354
- "totalTitulosLiquidadosQtd": 0,
355
- "totalTitulosLiquidadosPagoDia": 0,
356
- "totalTitulosLiquidadosPagoAtraso": 0,
357
- "totalTitulosLiquidadosPagoDiaQtd": 0,
358
- "totalTitulosLiquidadosPagoAtrasoQtd": 0,
359
- "totalTitulosLiquidadosChequeDevolvido": 0,
360
- "totalTitulosLiquidadosChequeDevolvidoQtd": 0
361
- }
362
- },
363
- "empresaCodigo": 0
364
- }
365
- }
366
- }
367
- },
368
- "waitForResponse": {
369
- "type": "MANUAL"
370
- }
371
- },
372
- "errorHandlingOptions": {
373
- "retryOnFailure": {
374
- "value": false
375
- },
376
- "continueOnFailure": {
377
- "value": false
378
- }
379
- }
380
- },
381
- "displayName": "[2/2 SUBFLOW][RETORNO CONSULTA/UPDATE] Retorno Sacado",
382
- "lastUpdatedDate": "2026-08-11T14:46:00.524Z"
383
- },
384
- null
385
- ],
386
- "settings": {
387
- "branches": [
388
- {
389
- "branchName": "Cedente",
390
- "branchType": "CONDITION",
391
- "conditions": [
392
- [
393
- {
394
- "operator": "TEXT_EXACTLY_MATCHES",
395
- "firstValue": "{{step_5['output']['tipo']}}",
396
- "secondValue": "cedente",
397
- "caseSensitive": false
398
- }
399
- ],
400
- [
401
- {
402
- "operator": "TEXT_EXACTLY_MATCHES",
403
- "firstValue": "{{step_5['output']['tipo']}}",
404
- "secondValue": "ambos",
405
- "caseSensitive": false
406
- }
407
- ]
408
- ]
409
- },
410
- {
411
- "branchName": "Sacado",
412
- "branchType": "CONDITION",
413
- "conditions": [
414
- [
415
- {
416
- "operator": "TEXT_EXACTLY_MATCHES",
417
- "firstValue": "{{step_5['output']['tipo']}}",
418
- "secondValue": "sacado",
419
- "caseSensitive": false
420
- }
421
- ],
422
- [
423
- {
424
- "operator": "TEXT_EXACTLY_MATCHES",
425
- "firstValue": "{{step_5['output']['tipo']}}",
426
- "secondValue": "ambos",
427
- "caseSensitive": false
428
- }
429
- ]
430
- ]
431
- },
432
- {
433
- "branchName": "Otherwise",
434
- "branchType": "FALLBACK"
435
- }
436
- ],
437
- "sampleData": {},
438
- "executionType": "EXECUTE_ALL_MATCH"
439
- },
440
- "displayName": "Router",
441
- "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
442
- },
443
- "displayName": "Verificar retorno e classificar",
444
- "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
445
- },
446
- "displayName": "Return Response",
447
- "lastUpdatedDate": "2026-08-11T14:45:09.588Z"
448
- },
449
- {
450
- "name": "step_3",
451
- "skip": false,
452
- "type": "PIECE",
453
- "valid": true,
454
- "settings": {
455
- "input": {
456
- "fields": {
457
- "body": {
458
- "message": "Sem autenticação"
459
- },
460
- "status": 200,
461
- "headers": {}
462
- },
463
- "respond": "respond",
464
- "responseType": "json"
465
- },
466
- "pieceName": "@activepieces/piece-webhook",
467
- "actionName": "return_response",
468
- "sampleData": {},
469
- "pieceVersion": "0.1.33",
470
- "propertySettings": {
471
- "fields": {
472
- "type": "MANUAL",
473
- "schema": {
474
- "body": {
475
- "type": "JSON",
476
- "required": true,
477
- "displayName": "JSON Body"
478
- },
479
- "status": {
480
- "type": "NUMBER",
481
- "required": false,
482
- "displayName": "Status",
483
- "defaultValue": 200
484
- },
485
- "headers": {
486
- "type": "OBJECT",
487
- "required": false,
488
- "displayName": "Headers"
489
- }
490
- }
491
- },
492
- "respond": {
493
- "type": "MANUAL"
494
- },
495
- "responseType": {
496
- "type": "MANUAL"
497
- }
498
- },
499
- "errorHandlingOptions": {
500
- "retryOnFailure": {
501
- "value": false
502
- },
503
- "continueOnFailure": {
504
- "value": false
505
- }
506
- }
507
- },
508
- "displayName": "Return Response Copy",
509
- "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
510
- }
511
- ],
512
- "settings": {
513
- "branches": [
514
- {
515
- "branchName": "Branch 1",
516
- "branchType": "CONDITION",
517
- "conditions": [
518
- [
519
- {
520
- "operator": "EXISTS",
521
- "firstValue": "{{trigger['output']['body']}}"
522
- }
523
- ]
524
- ]
525
- },
526
- {
527
- "branchName": "Otherwise",
528
- "branchType": "FALLBACK"
529
- }
530
- ],
531
- "sampleData": {},
532
- "executionType": "EXECUTE_FIRST_MATCH"
533
- },
534
- "displayName": "Router",
535
- "lastUpdatedDate": "2026-08-11T14:45:09.588Z"
536
- },
537
- "lastUpdatedDate": "2026-08-11T14:45:09.588Z",
538
- "type": "PIECE_TRIGGER",
539
- "settings": {
540
- "propertySettings": {
541
- "authType": {
542
- "type": "MANUAL"
543
- },
544
- "authFields": {
545
- "type": "MANUAL",
546
- "schema": {
547
- "password": {
548
- "type": "SHORT_TEXT",
549
- "required": true,
550
- "description": "The password to use for authentication.",
551
- "displayName": "Password"
552
- },
553
- "username": {
554
- "type": "SHORT_TEXT",
555
- "required": true,
556
- "description": "The username to use for authentication.",
557
- "displayName": "Username"
558
- }
559
- }
560
- },
561
- "liveMarkdown": {
562
- "type": "MANUAL"
563
- },
564
- "syncMarkdown": {
565
- "type": "MANUAL"
566
- },
567
- "testMarkdown": {
568
- "type": "MANUAL"
569
- }
570
- },
571
- "pieceName": "@activepieces/piece-webhook",
572
- "pieceVersion": "0.1.33",
573
- "triggerName": "catch_webhook",
574
- "input": {
575
- "authType": "basic",
576
- "authFields": {
577
- "password": "ExamplePlaceholderPass1!",
578
- "username": "exampleServiceUser"
579
- }
580
- }
581
- }
582
- },
583
- "valid": true,
584
- "schemaVersion": "22",
585
- "notes": []
586
- }
587
- ],
588
- "status": "PUBLISHED"
589
- }
1
+ {
2
+ "name": "✅[PRD][1/2 MAIN] [RETORNO CONSULTA/UPDATE] Webhook Retorno Consulta",
3
+ "type": "SHARED",
4
+ "summary": "",
5
+ "description": "",
6
+ "tags": [],
7
+ "blogUrl": "",
8
+ "metadata": {
9
+ "externalId": "exampleFlowId04aaaaaa"
10
+ },
11
+ "author": "Integrações Ipaas 000000000",
12
+ "categories": [],
13
+ "pieces": [
14
+ "@activepieces/piece-webhook",
15
+ "@activepieces/piece-subflows"
16
+ ],
17
+ "flows": [
18
+ {
19
+ "displayName": "✅[PRD][1/2 MAIN] [RETORNO CONSULTA/UPDATE] Webhook Retorno Consulta",
20
+ "trigger": {
21
+ "name": "trigger",
22
+ "valid": true,
23
+ "displayName": "Catch Webhook",
24
+ "nextAction": {
25
+ "name": "step_2",
26
+ "skip": false,
27
+ "type": "ROUTER",
28
+ "valid": true,
29
+ "children": [
30
+ {
31
+ "name": "step_1",
32
+ "skip": false,
33
+ "type": "PIECE",
34
+ "valid": true,
35
+ "settings": {
36
+ "input": {
37
+ "fields": {
38
+ "body": {
39
+ "message": "Autenticado"
40
+ },
41
+ "status": 200,
42
+ "headers": {}
43
+ },
44
+ "respond": "respond",
45
+ "responseType": "json"
46
+ },
47
+ "pieceName": "@activepieces/piece-webhook",
48
+ "actionName": "return_response",
49
+ "sampleData": {},
50
+ "pieceVersion": "0.1.33",
51
+ "propertySettings": {
52
+ "fields": {
53
+ "type": "MANUAL",
54
+ "schema": {
55
+ "body": {
56
+ "type": "JSON",
57
+ "required": true,
58
+ "displayName": "JSON Body"
59
+ },
60
+ "status": {
61
+ "type": "NUMBER",
62
+ "required": false,
63
+ "displayName": "Status",
64
+ "defaultValue": 200
65
+ },
66
+ "headers": {
67
+ "type": "OBJECT",
68
+ "required": false,
69
+ "displayName": "Headers"
70
+ }
71
+ }
72
+ },
73
+ "respond": {
74
+ "type": "MANUAL"
75
+ },
76
+ "responseType": {
77
+ "type": "MANUAL"
78
+ }
79
+ },
80
+ "errorHandlingOptions": {
81
+ "retryOnFailure": {
82
+ "value": false
83
+ },
84
+ "continueOnFailure": {
85
+ "value": false
86
+ }
87
+ }
88
+ },
89
+ "nextAction": {
90
+ "name": "step_5",
91
+ "skip": false,
92
+ "type": "CODE",
93
+ "valid": true,
94
+ "settings": {
95
+ "input": {
96
+ "": "{{trigger['output']['body']}}"
97
+ },
98
+ "sampleData": {},
99
+ "sourceCode": {
100
+ "code": "export const code = async (inputs) => {\n // Tenta extrair o body de várias estruturas possíveis\n let body = inputs.body;\n \n // Caso o input venha aninhado em uma chave vazia: inputs[\"\"].body\n if (!body && inputs[\"\"] && inputs[\"\"].body) {\n body = inputs[\"\"].body;\n }\n \n // Caso o próprio inputs[\"\"] já seja o body\n if (!body && inputs[\"\"]) {\n body = inputs[\"\"];\n }\n \n // Validação\n if (!body || typeof body !== 'object') {\n return {\n tipo: 'desconhecido',\n possuiIdCedente: false,\n possuiIdSacado: false,\n mensagem: 'Body inválido ou não fornecido'\n };\n }\n \n // Função auxiliar: considera válido apenas se existir, não for null/undefined,\n // e não for 0 (numérico) nem \"0\" (string)\n const possuiValorValido = (valor) => {\n if (valor === null || valor === undefined) return false;\n // Normaliza string removendo espaços\n const str = String(valor).trim();\n if (str === '' || str === '0') return false;\n // Converte para número e verifica se é diferente de zero\n const num = Number(str);\n if (!isNaN(num) && num === 0) return false;\n return true;\n };\n \n // Verifica a presença das chaves com valor válido\n const possuiIdCedente = 'idCedente' in body && possuiValorValido(body.idCedente);\n const possuiIdSacado = 'idSacado' in body && possuiValorValido(body.idSacado);\n \n // Define o tipo\n let tipo = 'desconhecido';\n \n if (possuiIdCedente && possuiIdSacado) {\n tipo = 'ambos';\n } else if (possuiIdCedente) {\n tipo = 'cedente';\n } else if (possuiIdSacado) {\n tipo = 'sacado';\n }\n \n // Retorna os campos do body + indicadores\n return {\n tipo,\n possuiIdCedente,\n possuiIdSacado,\n ...body\n };\n};",
101
+ "packageJson": "{}"
102
+ },
103
+ "errorHandlingOptions": {
104
+ "retryOnFailure": {
105
+ "value": false
106
+ },
107
+ "continueOnFailure": {
108
+ "value": false
109
+ }
110
+ }
111
+ },
112
+ "nextAction": {
113
+ "name": "step_6",
114
+ "skip": false,
115
+ "type": "ROUTER",
116
+ "valid": true,
117
+ "children": [
118
+ {
119
+ "name": "step_8",
120
+ "skip": false,
121
+ "type": "PIECE",
122
+ "valid": true,
123
+ "settings": {
124
+ "input": {
125
+ "flow": {
126
+ "externalId": "exampleFlowId02aaaaaa",
127
+ "exampleData": {
128
+ "sampleData": {
129
+ "cedente": {
130
+ "cep": "example",
131
+ "nome": "example",
132
+ "email": "example",
133
+ "cidade": "example",
134
+ "estado": "example",
135
+ "endereco": "example",
136
+ "cnpjOuCpf": "example",
137
+ "idCedente": 0,
138
+ "dataCadastro": "example",
139
+ "codigoEmpresa": 0,
140
+ "telefoneContato": "example",
141
+ "idGrupoPrincipal": 0,
142
+ "analistaResponsavel": "example",
143
+ "vinculoGrupoEconomico": false
144
+ },
145
+ "empresaCodigo": 0
146
+ }
147
+ }
148
+ },
149
+ "mode": "simple",
150
+ "flowProps": {
151
+ "payload": {
152
+ "cedente": "{{trigger['output']['body']}}",
153
+ "empresaCodigo": "{{trigger['output']['body']['codigoEmpresa']}}"
154
+ }
155
+ },
156
+ "waitForResponse": false
157
+ },
158
+ "pieceName": "@activepieces/piece-subflows",
159
+ "actionName": "callFlow",
160
+ "sampleData": {},
161
+ "pieceVersion": "0.4.12",
162
+ "propertySettings": {
163
+ "flow": {
164
+ "type": "MANUAL"
165
+ },
166
+ "mode": {
167
+ "type": "MANUAL"
168
+ },
169
+ "flowProps": {
170
+ "type": "MANUAL",
171
+ "schema": {
172
+ "payload": {
173
+ "type": "OBJECT",
174
+ "required": true,
175
+ "displayName": "Payload",
176
+ "defaultValue": {
177
+ "cedente": {
178
+ "cep": "example",
179
+ "nome": "example",
180
+ "email": "example",
181
+ "cidade": "example",
182
+ "estado": "example",
183
+ "endereco": "example",
184
+ "cnpjOuCpf": "example",
185
+ "idCedente": 0,
186
+ "dataCadastro": "example",
187
+ "codigoEmpresa": 0,
188
+ "telefoneContato": "example",
189
+ "idGrupoPrincipal": 0,
190
+ "analistaResponsavel": "example",
191
+ "vinculoGrupoEconomico": false
192
+ },
193
+ "empresaCodigo": 0
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "waitForResponse": {
199
+ "type": "MANUAL"
200
+ }
201
+ },
202
+ "errorHandlingOptions": {
203
+ "retryOnFailure": {
204
+ "value": false
205
+ },
206
+ "continueOnFailure": {
207
+ "value": false
208
+ }
209
+ }
210
+ },
211
+ "displayName": "[2/2 SUBFLOW][RETORNO CONSULTA/UPDATE] Retorno Cedente",
212
+ "lastUpdatedDate": "2026-08-11T14:45:30.175Z"
213
+ },
214
+ {
215
+ "name": "step_9",
216
+ "skip": false,
217
+ "type": "PIECE",
218
+ "valid": true,
219
+ "settings": {
220
+ "input": {
221
+ "flow": {
222
+ "externalId": "exampleFlowId03aaaaaa",
223
+ "exampleData": {
224
+ "sampleData": {
225
+ "sacado": {
226
+ "cep": "example",
227
+ "nome": "example",
228
+ "email": "example",
229
+ "cidade": "example",
230
+ "estado": "example",
231
+ "endereco": "example",
232
+ "idSacado": "example",
233
+ "percHNeg": {
234
+ "totQtd": 0,
235
+ "totSac": 0,
236
+ "totNaoConfirma": 0
237
+ },
238
+ "percHPre": {
239
+ "totQtd": 0,
240
+ "totSac": 0,
241
+ "totPresente": 0
242
+ },
243
+ "cnpjOuCpf": "example",
244
+ "idCedente": "example",
245
+ "razaoSocial": "example",
246
+ "codigoEmpresa": 0,
247
+ "telefoneContato": "example",
248
+ "liquidacaoPorEvento": [
249
+ {
250
+ "descricao": "example",
251
+ "codigoEvento": 0,
252
+ "totalLiquidado": 0,
253
+ "quantidadeTitulos": 0
254
+ }
255
+ ],
256
+ "historicoValorAberto": {
257
+ "totalTitulosAbertos": 0,
258
+ "totalTitulosAbertosQtd": 0,
259
+ "totalTitulosAbertosVencer": 0,
260
+ "totalTitulosAbertosVencidos": 0,
261
+ "totalTitulosAbertosVencerQtd": 0,
262
+ "totalTitulosAbertosVencidosQtd": 0
263
+ },
264
+ "historicoValorLiquidado": {
265
+ "totalOpeNaoEfetivadas": 0,
266
+ "totalTitulosLiquidados": 0,
267
+ "totalOpeNaoEfetivadasQtd": 0,
268
+ "totalTitulosLiquidadosQtd": 0,
269
+ "totalTitulosLiquidadosPagoDia": 0,
270
+ "totalTitulosLiquidadosPagoAtraso": 0,
271
+ "totalTitulosLiquidadosPagoDiaQtd": 0,
272
+ "totalTitulosLiquidadosPagoAtrasoQtd": 0,
273
+ "totalTitulosLiquidadosChequeDevolvido": 0,
274
+ "totalTitulosLiquidadosChequeDevolvidoQtd": 0
275
+ }
276
+ },
277
+ "empresaCodigo": 0
278
+ }
279
+ }
280
+ },
281
+ "mode": "simple",
282
+ "flowProps": {
283
+ "payload": {
284
+ "sacado": "{{trigger['output']['body']}}",
285
+ "empresaCodigo": "{{trigger['output']['body']['codigoEmpresa']}}"
286
+ }
287
+ },
288
+ "waitForResponse": false
289
+ },
290
+ "pieceName": "@activepieces/piece-subflows",
291
+ "actionName": "callFlow",
292
+ "sampleData": {},
293
+ "pieceVersion": "0.4.12",
294
+ "propertySettings": {
295
+ "flow": {
296
+ "type": "MANUAL"
297
+ },
298
+ "mode": {
299
+ "type": "MANUAL"
300
+ },
301
+ "flowProps": {
302
+ "type": "MANUAL",
303
+ "schema": {
304
+ "payload": {
305
+ "type": "OBJECT",
306
+ "required": true,
307
+ "displayName": "Payload",
308
+ "defaultValue": {
309
+ "sacado": {
310
+ "cep": "example",
311
+ "nome": "example",
312
+ "email": "example",
313
+ "cidade": "example",
314
+ "estado": "example",
315
+ "endereco": "example",
316
+ "idSacado": "example",
317
+ "percHNeg": {
318
+ "totQtd": 0,
319
+ "totSac": 0,
320
+ "totNaoConfirma": 0
321
+ },
322
+ "percHPre": {
323
+ "totQtd": 0,
324
+ "totSac": 0,
325
+ "totPresente": 0
326
+ },
327
+ "cnpjOuCpf": "example",
328
+ "idCedente": "example",
329
+ "indicadores": "example",
330
+ "razaoSocial": "example",
331
+ "nomeFantasia": "example",
332
+ "codigoEmpresa": 0,
333
+ "telefoneContato": "example",
334
+ "liquidacaoPorEvento": [
335
+ {
336
+ "descricao": "example",
337
+ "codigoEvento": 0,
338
+ "totalLiquidado": 0,
339
+ "quantidadeTitulos": 0
340
+ }
341
+ ],
342
+ "historicoValorAberto": {
343
+ "totalTitulosAbertos": 0,
344
+ "totalTitulosAbertosQtd": 0,
345
+ "totalTitulosAbertosVencer": 0,
346
+ "totalTitulosAbertosVencidos": 0,
347
+ "totalTitulosAbertosVencerQtd": 0,
348
+ "totalTitulosAbertosVencidosQtd": 0
349
+ },
350
+ "historicoValorLiquidado": {
351
+ "totalOpeNaoEfetivadas": 0,
352
+ "totalTitulosLiquidados": 0,
353
+ "totalOpeNaoEfetivadasQtd": 0,
354
+ "totalTitulosLiquidadosQtd": 0,
355
+ "totalTitulosLiquidadosPagoDia": 0,
356
+ "totalTitulosLiquidadosPagoAtraso": 0,
357
+ "totalTitulosLiquidadosPagoDiaQtd": 0,
358
+ "totalTitulosLiquidadosPagoAtrasoQtd": 0,
359
+ "totalTitulosLiquidadosChequeDevolvido": 0,
360
+ "totalTitulosLiquidadosChequeDevolvidoQtd": 0
361
+ }
362
+ },
363
+ "empresaCodigo": 0
364
+ }
365
+ }
366
+ }
367
+ },
368
+ "waitForResponse": {
369
+ "type": "MANUAL"
370
+ }
371
+ },
372
+ "errorHandlingOptions": {
373
+ "retryOnFailure": {
374
+ "value": false
375
+ },
376
+ "continueOnFailure": {
377
+ "value": false
378
+ }
379
+ }
380
+ },
381
+ "displayName": "[2/2 SUBFLOW][RETORNO CONSULTA/UPDATE] Retorno Sacado",
382
+ "lastUpdatedDate": "2026-08-11T14:46:00.524Z"
383
+ },
384
+ null
385
+ ],
386
+ "settings": {
387
+ "branches": [
388
+ {
389
+ "branchName": "Cedente",
390
+ "branchType": "CONDITION",
391
+ "conditions": [
392
+ [
393
+ {
394
+ "operator": "TEXT_EXACTLY_MATCHES",
395
+ "firstValue": "{{step_5['output']['tipo']}}",
396
+ "secondValue": "cedente",
397
+ "caseSensitive": false
398
+ }
399
+ ],
400
+ [
401
+ {
402
+ "operator": "TEXT_EXACTLY_MATCHES",
403
+ "firstValue": "{{step_5['output']['tipo']}}",
404
+ "secondValue": "ambos",
405
+ "caseSensitive": false
406
+ }
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "branchName": "Sacado",
412
+ "branchType": "CONDITION",
413
+ "conditions": [
414
+ [
415
+ {
416
+ "operator": "TEXT_EXACTLY_MATCHES",
417
+ "firstValue": "{{step_5['output']['tipo']}}",
418
+ "secondValue": "sacado",
419
+ "caseSensitive": false
420
+ }
421
+ ],
422
+ [
423
+ {
424
+ "operator": "TEXT_EXACTLY_MATCHES",
425
+ "firstValue": "{{step_5['output']['tipo']}}",
426
+ "secondValue": "ambos",
427
+ "caseSensitive": false
428
+ }
429
+ ]
430
+ ]
431
+ },
432
+ {
433
+ "branchName": "Otherwise",
434
+ "branchType": "FALLBACK"
435
+ }
436
+ ],
437
+ "sampleData": {},
438
+ "executionType": "EXECUTE_ALL_MATCH"
439
+ },
440
+ "displayName": "Router",
441
+ "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
442
+ },
443
+ "displayName": "Verificar retorno e classificar",
444
+ "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
445
+ },
446
+ "displayName": "Return Response",
447
+ "lastUpdatedDate": "2026-08-11T14:45:09.588Z"
448
+ },
449
+ {
450
+ "name": "step_3",
451
+ "skip": false,
452
+ "type": "PIECE",
453
+ "valid": true,
454
+ "settings": {
455
+ "input": {
456
+ "fields": {
457
+ "body": {
458
+ "message": "Sem autenticação"
459
+ },
460
+ "status": 200,
461
+ "headers": {}
462
+ },
463
+ "respond": "respond",
464
+ "responseType": "json"
465
+ },
466
+ "pieceName": "@activepieces/piece-webhook",
467
+ "actionName": "return_response",
468
+ "sampleData": {},
469
+ "pieceVersion": "0.1.33",
470
+ "propertySettings": {
471
+ "fields": {
472
+ "type": "MANUAL",
473
+ "schema": {
474
+ "body": {
475
+ "type": "JSON",
476
+ "required": true,
477
+ "displayName": "JSON Body"
478
+ },
479
+ "status": {
480
+ "type": "NUMBER",
481
+ "required": false,
482
+ "displayName": "Status",
483
+ "defaultValue": 200
484
+ },
485
+ "headers": {
486
+ "type": "OBJECT",
487
+ "required": false,
488
+ "displayName": "Headers"
489
+ }
490
+ }
491
+ },
492
+ "respond": {
493
+ "type": "MANUAL"
494
+ },
495
+ "responseType": {
496
+ "type": "MANUAL"
497
+ }
498
+ },
499
+ "errorHandlingOptions": {
500
+ "retryOnFailure": {
501
+ "value": false
502
+ },
503
+ "continueOnFailure": {
504
+ "value": false
505
+ }
506
+ }
507
+ },
508
+ "displayName": "Return Response Copy",
509
+ "lastUpdatedDate": "2026-08-11T14:45:09.589Z"
510
+ }
511
+ ],
512
+ "settings": {
513
+ "branches": [
514
+ {
515
+ "branchName": "Branch 1",
516
+ "branchType": "CONDITION",
517
+ "conditions": [
518
+ [
519
+ {
520
+ "operator": "EXISTS",
521
+ "firstValue": "{{trigger['output']['body']}}"
522
+ }
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "branchName": "Otherwise",
528
+ "branchType": "FALLBACK"
529
+ }
530
+ ],
531
+ "sampleData": {},
532
+ "executionType": "EXECUTE_FIRST_MATCH"
533
+ },
534
+ "displayName": "Router",
535
+ "lastUpdatedDate": "2026-08-11T14:45:09.588Z"
536
+ },
537
+ "lastUpdatedDate": "2026-08-11T14:45:09.588Z",
538
+ "type": "PIECE_TRIGGER",
539
+ "settings": {
540
+ "propertySettings": {
541
+ "authType": {
542
+ "type": "MANUAL"
543
+ },
544
+ "authFields": {
545
+ "type": "MANUAL",
546
+ "schema": {
547
+ "password": {
548
+ "type": "SHORT_TEXT",
549
+ "required": true,
550
+ "description": "The password to use for authentication.",
551
+ "displayName": "Password"
552
+ },
553
+ "username": {
554
+ "type": "SHORT_TEXT",
555
+ "required": true,
556
+ "description": "The username to use for authentication.",
557
+ "displayName": "Username"
558
+ }
559
+ }
560
+ },
561
+ "liveMarkdown": {
562
+ "type": "MANUAL"
563
+ },
564
+ "syncMarkdown": {
565
+ "type": "MANUAL"
566
+ },
567
+ "testMarkdown": {
568
+ "type": "MANUAL"
569
+ }
570
+ },
571
+ "pieceName": "@activepieces/piece-webhook",
572
+ "pieceVersion": "0.1.33",
573
+ "triggerName": "catch_webhook",
574
+ "input": {
575
+ "authType": "basic",
576
+ "authFields": {
577
+ "password": "ExamplePlaceholderPass1!",
578
+ "username": "exampleServiceUser"
579
+ }
580
+ }
581
+ }
582
+ },
583
+ "valid": true,
584
+ "schemaVersion": "22",
585
+ "notes": []
586
+ }
587
+ ],
588
+ "status": "PUBLISHED"
589
+ }