@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
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.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +62 -2
- package/dist/cli.js +2935 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# `FORWARD` — Shape values from context
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/FORWARD`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`FORWARD` runs response filters over the **whole current context** and returns the named filter results as its output at `_outputs.<KEY>`. It does not pass the previous step's payload through automatically: with no filters, the output is an empty object `{}`. Place it in a workflow's `steps` list where you need to select, rename or reshape values for later steps.
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # required
|
|
14
|
+
displayType: FORWARD # required (exact case)
|
|
15
|
+
data: # optional; may be null
|
|
16
|
+
logOutput: false # optional, defaults to false
|
|
17
|
+
responseFilters: # optional; no filters -> output {}
|
|
18
|
+
jsonata: # e.g. jsonata
|
|
19
|
+
outputName:
|
|
20
|
+
expression: _outputs.PREVIOUS_STEP.items
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### When to use
|
|
24
|
+
|
|
25
|
+
- Use to pick or reshape values from earlier outputs, inputs or arguments into a small, named object that later steps read.
|
|
26
|
+
- Use to give a stable output name to a value whose source location may change.
|
|
27
|
+
- Do not use expecting a pass-through of the previous step — select `_outputs.<previous>` explicitly.
|
|
28
|
+
- Do not use for a single computed value when a dedicated transform step is clearer — see [JSONata](hexasync://docs/steps/JSONata#contract); for literal seed rows use [VALUES](hexasync://docs/steps/VALUES#contract).
|
|
29
|
+
|
|
30
|
+
### Sensible configuration
|
|
31
|
+
|
|
32
|
+
Name each output after what it holds and select only what downstream steps need.
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
steps:
|
|
36
|
+
- key: SELECT_ORDERS
|
|
37
|
+
displayType: FORWARD
|
|
38
|
+
data:
|
|
39
|
+
responseFilters:
|
|
40
|
+
jsonata:
|
|
41
|
+
items:
|
|
42
|
+
expression: _outputs.LOAD_ORDERS.items
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Fields
|
|
46
|
+
|
|
47
|
+
Shared envelope fields behave as described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). `data` may be omitted or `null`; the result is then `{}`.
|
|
48
|
+
|
|
49
|
+
### `data.responseFilters`
|
|
50
|
+
|
|
51
|
+
Syntax: `responseFilters: <object>`
|
|
52
|
+
|
|
53
|
+
`responseFilters: <filter map>` — optional; when absent, null or empty the output is `{}`.
|
|
54
|
+
|
|
55
|
+
A map of filter engine → output name → filter definition, evaluated against the current context. Each named result becomes a property of the output and keeps its result type. The full shape is defined in [response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS/exact-authored-shape).
|
|
56
|
+
|
|
57
|
+
With filters:
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
steps:
|
|
61
|
+
- key: FORWARD_VALUE
|
|
62
|
+
rootStep: true
|
|
63
|
+
displayType: FORWARD
|
|
64
|
+
data:
|
|
65
|
+
responseFilters: # optional; no default (absent = output {})
|
|
66
|
+
jsonata:
|
|
67
|
+
value:
|
|
68
|
+
expression: '2'
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Output: `{value: 2}`.
|
|
72
|
+
|
|
73
|
+
Without filters:
|
|
74
|
+
|
|
75
|
+
```yaml
|
|
76
|
+
steps:
|
|
77
|
+
- key: EMPTY
|
|
78
|
+
rootStep: true
|
|
79
|
+
displayType: FORWARD
|
|
80
|
+
data: null
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Output: `{}`. Choose filters whenever downstream steps need data; the empty form only produces an empty object.
|
|
84
|
+
|
|
85
|
+
### `data.logOutput`
|
|
86
|
+
|
|
87
|
+
Syntax: `logOutput: <boolean | null>`
|
|
88
|
+
|
|
89
|
+
`logOutput: false` — optional; defaults to false.
|
|
90
|
+
|
|
91
|
+
`true` also records the output in the step's log output; `false` records nothing. It does not change the output itself.
|
|
92
|
+
|
|
93
|
+
```yaml
|
|
94
|
+
steps:
|
|
95
|
+
- key: FORWARD_ROWS
|
|
96
|
+
displayType: FORWARD
|
|
97
|
+
data:
|
|
98
|
+
logOutput: true # defaults to false
|
|
99
|
+
responseFilters:
|
|
100
|
+
jsonata:
|
|
101
|
+
items:
|
|
102
|
+
expression: _outputs.SEED.items
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Turn it on while building or troubleshooting; leave it off when the output may contain personal or sensitive data.
|
|
106
|
+
|
|
107
|
+
## Output
|
|
108
|
+
|
|
109
|
+
`_outputs.<KEY>` is an object with one property per named filter result, for example `{items: [...]}`. Later steps read `_outputs.<KEY>.<name>`. No pagination flag or other fields are added.
|
|
110
|
+
|
|
111
|
+
## Failure behavior
|
|
112
|
+
|
|
113
|
+
| Situation | Effect | Fix |
|
|
114
|
+
| --- | --- | --- |
|
|
115
|
+
| No filters | Succeeds with `{}` | Add filters selecting the data you need |
|
|
116
|
+
| Malformed filter expression (e.g. `'$sum('`) | Step fails with diagnostics; the step's `onError` route applies | Fix the expression |
|
|
117
|
+
| Expression selects a missing path | Result for that name is empty/absent | Check the source key and path |
|
|
118
|
+
|
|
119
|
+
## Best practices
|
|
120
|
+
|
|
121
|
+
- Select explicitly from `_outputs.<STEP>`, because `FORWARD` reads the whole context, not the previous step.
|
|
122
|
+
- Keep outputs small and named, because later steps and logs are easier to read and cheaper to store.
|
|
123
|
+
- Leave `logOutput` off in production flows handling sensitive data, because it stores the output verbatim.
|
|
124
|
+
|
|
125
|
+
## Related
|
|
126
|
+
|
|
127
|
+
- [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS)
|
|
128
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
129
|
+
- [Context and expression dialects](hexasync://docs/expressions/CONTEXT-AND-IO)
|
|
130
|
+
- [Step catalog](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# `WEBHOOK_FORWARD` — Webhook Forward
|
|
2
|
+
|
|
3
|
+
> Addressable through the MCP as **`hexasync://docs/steps/WEBHOOK_FORWARD`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`WEBHOOK_FORWARD` hands a text message and a list of HTTP targets to the platform's asynchronous forwarding service, which then delivers the message to each target. The step itself makes no HTTP call.
|
|
8
|
+
|
|
9
|
+
- The message comes from **`arguments.message`** (evaluated, always text).
|
|
10
|
+
- The targets are the **whole `data` array** — each entry has `url`, optional `method` and optional `maxRetryCount`. There is no `{targets: [...]}` wrapper.
|
|
11
|
+
- Target entries are used literally; they are **not** template-rendered.
|
|
12
|
+
|
|
13
|
+
Output at `_outputs.<key>` is always `{}` once the message is queued. It is not a delivery receipt: there is no HTTP status, response body or acknowledgement. Delivery, retries and failures happen later in the forwarding service, outside the workflow.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Inside a webhook target's `pullSteps` ([webhook placement](webhooks.WEBHOOKS.placement-pullsteps.md)) to relay the incoming message — raw, parsed or per selected item — to one or more fixed endpoints, fire-and-forget.
|
|
18
|
+
|
|
19
|
+
Pick another step when:
|
|
20
|
+
|
|
21
|
+
- You need the response, status code or a synchronous success/failure decision, or a dynamically rendered URL/headers/body — use the [API step](hexasync://docs/steps/API/contract).
|
|
22
|
+
- You want to notify other flows inside the platform rather than an external URL — use [PUBLISH_EVENT](hexasync://docs/steps/PUBLISH_EVENT#contract).
|
|
23
|
+
|
|
24
|
+
## Syntax
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
- key: FORWARD
|
|
28
|
+
displayType: WEBHOOK_FORWARD
|
|
29
|
+
arguments:
|
|
30
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}' # <string> required, no default
|
|
31
|
+
data: # <array of targets> required by the editor
|
|
32
|
+
- url: https://hooks.example.test/inventory # <absolute URL> required
|
|
33
|
+
method: POST # <string> defaults to POST
|
|
34
|
+
maxRetryCount: 3 # <integer> defaults to 3
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Sensible configuration
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
- key: FORWARD_RAW
|
|
41
|
+
rootStep: true
|
|
42
|
+
displayType: WEBHOOK_FORWARD
|
|
43
|
+
arguments:
|
|
44
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}'
|
|
45
|
+
data:
|
|
46
|
+
- url: https://hooks.example.test/inventory
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Forward the raw message unchanged to one fixed URL and accept the `POST` / 3-retry defaults. Raw text needs no serialization and preserves the sender's exact payload (useful when the receiver verifies it). Because the target list runs once per selected item, configure the webhook target without a `dataFilter` (or forward per item) so the whole message is not sent once per item — see [`arguments.message`](#argumentsmessage).
|
|
50
|
+
|
|
51
|
+
## Fields
|
|
52
|
+
|
|
53
|
+
### `arguments.message`
|
|
54
|
+
|
|
55
|
+
Syntax: `message: <string>` — literal, Scriban template `'{{ … }}'` or inline JSONata `'$( … )'`
|
|
56
|
+
|
|
57
|
+
The body handed to the forwarding service. Required: a missing `message` key fails the step before anything is queued. The name is exact-case (`Message` does not count) and must be under `arguments`, not `data`. The result is always text: `null` becomes `""`, and structured values must be serialized — in Scriban use `| hexasync.obj.to_json` ([object functions](hexasync://docs/expressions/CONTEXT-AND-IO/scriban-default-and-host-custom-builtins/custom-object-functions)); JSONata results and literal objects are compacted to JSON text automatically. An empty message is still queued.
|
|
58
|
+
|
|
59
|
+
In webhook `pullSteps`, the host provides these sources under `webhook.arguments` ([webhook placement](webhooks.WEBHOOKS.placement-pullsteps.md)):
|
|
60
|
+
|
|
61
|
+
| Source | Contains | Choose when |
|
|
62
|
+
| --- | --- | --- |
|
|
63
|
+
| `__HSS_WEBHOOK_RAW_MESSAGE` | the received message as raw text | the receiver needs the exact original payload |
|
|
64
|
+
| `__HSS_WEBHOOK_MESSAGE` | the parsed message object | you forward the whole message but may reshape it |
|
|
65
|
+
| `__HSS_WEBHOOK_ITEM` | the current item selected by the target's `dataFilter` (`{}` when none was selected) | each selected item should be forwarded separately |
|
|
66
|
+
| `__HSS_WEBHOOK_ITEM_IDS` | map of task UUID → indexed item UUIDs | the receiver needs the stored IDs produced by indexing |
|
|
67
|
+
|
|
68
|
+
The pull steps run **once per selected item** (or once with `{}` if nothing was selected). Forwarding the whole message from a target that selects several items therefore queues the same message several times; pick `__HSS_WEBHOOK_ITEM` for per-item forwarding, or forward the whole message from a target without item selection.
|
|
69
|
+
|
|
70
|
+
Raw message (preferred for pass-through):
|
|
71
|
+
|
|
72
|
+
```yaml
|
|
73
|
+
- key: FORWARD
|
|
74
|
+
rootStep: true
|
|
75
|
+
displayType: WEBHOOK_FORWARD
|
|
76
|
+
arguments:
|
|
77
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}' # required; no default
|
|
78
|
+
data:
|
|
79
|
+
- url: https://hooks.example.test/inventory
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Current selected item, serialized:
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
- key: FORWARD_ITEM
|
|
86
|
+
rootStep: true
|
|
87
|
+
displayType: WEBHOOK_FORWARD
|
|
88
|
+
arguments:
|
|
89
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM | hexasync.obj.to_json }}' # required; no default
|
|
90
|
+
data:
|
|
91
|
+
- url: https://hooks.example.test/inventory
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Parsed whole message or indexed IDs — same pattern, different source:
|
|
95
|
+
|
|
96
|
+
```yaml
|
|
97
|
+
- key: FORWARD_PARSED
|
|
98
|
+
rootStep: true
|
|
99
|
+
displayType: WEBHOOK_FORWARD
|
|
100
|
+
arguments:
|
|
101
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_MESSAGE | hexasync.obj.to_json }}' # required; no default
|
|
102
|
+
data:
|
|
103
|
+
- url: https://hooks.example.test/inventory
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
```yaml
|
|
107
|
+
- key: FORWARD_IDS
|
|
108
|
+
rootStep: true
|
|
109
|
+
displayType: WEBHOOK_FORWARD
|
|
110
|
+
arguments:
|
|
111
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM_IDS | hexasync.obj.to_json }}' # required; no default
|
|
112
|
+
data:
|
|
113
|
+
- url: https://hooks.example.test/inventory
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Literal text — fixed notifications that need no incoming data (also usable outside webhook placements):
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
- key: FORWARD_PING
|
|
120
|
+
rootStep: true
|
|
121
|
+
displayType: WEBHOOK_FORWARD
|
|
122
|
+
arguments:
|
|
123
|
+
message: '{"event":"inventory-changed"}' # required; no default
|
|
124
|
+
data:
|
|
125
|
+
- url: https://hooks.example.test/inventory
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Reshaped by an earlier step — build the body first, then serialize it:
|
|
129
|
+
|
|
130
|
+
```yaml
|
|
131
|
+
- key: SHAPE
|
|
132
|
+
rootStep: true
|
|
133
|
+
displayType: JSONata
|
|
134
|
+
data:
|
|
135
|
+
sku: {expression: webhook.arguments.__HSS_WEBHOOK_ITEM.sku}
|
|
136
|
+
next: FORWARD
|
|
137
|
+
- key: FORWARD
|
|
138
|
+
displayType: WEBHOOK_FORWARD
|
|
139
|
+
arguments:
|
|
140
|
+
message: '{{ _outputs.SHAPE | hexasync.obj.to_json }}' # required; no default
|
|
141
|
+
data:
|
|
142
|
+
- url: https://hooks.example.test/inventory
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### `data`
|
|
146
|
+
|
|
147
|
+
Syntax: `data: <array of target objects>`
|
|
148
|
+
|
|
149
|
+
The complete target list; each entry receives the same message. The editor requires `data` (or a non-null legacy `input`) and requires it to be an array. `[]` is accepted and still queues a message, but nothing is delivered — treat it as a configuration error rather than a "disabled" switch. Targets are not rendered, so every value must be literal.
|
|
150
|
+
|
|
151
|
+
Several targets:
|
|
152
|
+
|
|
153
|
+
```yaml
|
|
154
|
+
- key: FAN_OUT
|
|
155
|
+
rootStep: true
|
|
156
|
+
displayType: WEBHOOK_FORWARD
|
|
157
|
+
arguments:
|
|
158
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}'
|
|
159
|
+
data: # required; no default
|
|
160
|
+
- url: https://hooks.example.test/inventory
|
|
161
|
+
- url: https://audit.example.test/events
|
|
162
|
+
maxRetryCount: 0
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### `data[].url`
|
|
166
|
+
|
|
167
|
+
Syntax: `url: <absolute URL string>`
|
|
168
|
+
|
|
169
|
+
Where the forwarding service sends the message. Required by the editor. Used literally: no template rendering and no resolution against a connection's base URL. The step does not check reachability; an invalid URL fails later in delivery, not in the workflow.
|
|
170
|
+
|
|
171
|
+
```yaml
|
|
172
|
+
- key: FORWARD
|
|
173
|
+
rootStep: true
|
|
174
|
+
displayType: WEBHOOK_FORWARD
|
|
175
|
+
arguments:
|
|
176
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}'
|
|
177
|
+
data:
|
|
178
|
+
- url: https://hooks.example.test/inventory # required; no default
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### `data[].method`
|
|
182
|
+
|
|
183
|
+
Syntax: `method: <HTTP method string>`
|
|
184
|
+
|
|
185
|
+
HTTP method used for delivery. Defaults to `POST` when omitted. Passed through unchanged (not validated or normalized), so write a standard uppercase method; omit rather than set `null`.
|
|
186
|
+
|
|
187
|
+
```yaml
|
|
188
|
+
- key: FORWARD
|
|
189
|
+
rootStep: true
|
|
190
|
+
displayType: WEBHOOK_FORWARD
|
|
191
|
+
arguments:
|
|
192
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}'
|
|
193
|
+
data:
|
|
194
|
+
- url: https://hooks.example.test/inventory
|
|
195
|
+
method: PUT # defaults to POST
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### `data[].maxRetryCount`
|
|
199
|
+
|
|
200
|
+
Syntax: `maxRetryCount: <integer>`
|
|
201
|
+
|
|
202
|
+
Retry limit the forwarding service applies to failed deliveries to this target. Defaults to `3` when omitted; `0` requests no retries. The step passes it through without range checks. This is delivery-side retry only — it does not retry the workflow step, and no delivery outcome is reported back to the workflow.
|
|
203
|
+
|
|
204
|
+
```yaml
|
|
205
|
+
- key: FORWARD
|
|
206
|
+
rootStep: true
|
|
207
|
+
displayType: WEBHOOK_FORWARD
|
|
208
|
+
arguments:
|
|
209
|
+
message: '{{ webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE }}'
|
|
210
|
+
data:
|
|
211
|
+
- url: https://hooks.example.test/inventory
|
|
212
|
+
maxRetryCount: 5 # defaults to 3
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Best practices
|
|
216
|
+
|
|
217
|
+
- **Prefer raw pass-through** (`__HSS_WEBHOOK_RAW_MESSAGE`) when the receiver only relays or verifies the payload; reshape only when the receiver needs a different body.
|
|
218
|
+
- **Serialize structured values explicitly** in Scriban (`| hexasync.obj.to_json`); interpolating an object without it does not produce JSON.
|
|
219
|
+
- **Avoid duplicate sends.** Forward per item *or* forward the whole message from a target without item selection — not the whole message per item. The step has no deduplication key, and re-entering it via routing or error recovery queues the message again; receivers should be idempotent.
|
|
220
|
+
- **Keep URLs fixed.** Target fields are literal; if the endpoint must be computed, or you need the response, use the [API step](hexasync://docs/steps/API/contract).
|
|
221
|
+
- **Do not branch on `_outputs.<key>`**; it is always `{}` and says nothing about delivery.
|
|
222
|
+
|
|
223
|
+
## Boundary and failure cases
|
|
224
|
+
|
|
225
|
+
- Missing `arguments.message` fails before anything is queued; a malformed target entry (e.g. a non-integer `maxRetryCount`) fails while reading the target list; a failure to queue or a run cancellation fails the step through normal [error routing](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing). `gracefulException`, `logOutput` and `responseFilters` are not supported.
|
|
226
|
+
- Empty message and empty target list both still queue successfully — success means "queued", not "useful".
|
|
227
|
+
|
|
228
|
+
Rejected form (non-copyable) — a `{message, targets}` object under `data` is the wrong shape: `message` is not read from `data`, and `data` must itself be the target array:
|
|
229
|
+
|
|
230
|
+
```yaml
|
|
231
|
+
- key: WRONG
|
|
232
|
+
rootStep: true
|
|
233
|
+
displayType: WEBHOOK_FORWARD
|
|
234
|
+
data:
|
|
235
|
+
message: text
|
|
236
|
+
targets: []
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
Rejected form (non-copyable) — template expressions in target fields are sent literally, not rendered:
|
|
240
|
+
|
|
241
|
+
```yaml
|
|
242
|
+
- key: WRONG_URL
|
|
243
|
+
rootStep: true
|
|
244
|
+
displayType: WEBHOOK_FORWARD
|
|
245
|
+
arguments:
|
|
246
|
+
message: text
|
|
247
|
+
data:
|
|
248
|
+
- url: '{{ webhook.options.endpoint }}'
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Author a fixed URL, or use the [API step](hexasync://docs/steps/API/contract) for computed endpoints.
|
|
252
|
+
|
|
253
|
+
## Related
|
|
254
|
+
|
|
255
|
+
- [Webhook placement](webhooks.WEBHOOKS.placement-pullsteps.md) — `pullSteps` context and per-item execution.
|
|
256
|
+
- [Arguments and routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing)
|
|
257
|
+
- [Runtime context](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
258
|
+
- [API request contract](hexasync://docs/steps/API/contract) — synchronous HTTP alternative.
|
|
259
|
+
- [All step types](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
> Part of [Webhooks](webhooks.WEBHOOKS.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Webhook for latency, puller for completeness.** Keep an incremental puller (and a
|
|
6
|
+
periodic full reconciliation for deletions) for every entity a webhook feeds; never
|
|
7
|
+
let webhook writes advance the puller's watermark.
|
|
8
|
+
- **One declaration per connection.** Duplicate `connectionId`s silently shadow later
|
|
9
|
+
declarations.
|
|
10
|
+
- **Disjoint, anchored match rules**, one target per event kind and envelope. Overlaps
|
|
11
|
+
run several targets and are not a priority mechanism.
|
|
12
|
+
- **Same natural key as the puller**, so webhook and pull rows converge on one record;
|
|
13
|
+
this also makes duplicate deliveries idempotent.
|
|
14
|
+
- **Partial events are notices.** Update only carried fields or enrich by reading the
|
|
15
|
+
full record; guard against out-of-order overwrites.
|
|
16
|
+
- **Map every column explicitly** in `dataParser` or the save step, from the event's
|
|
17
|
+
member names to the table's snake_case columns
|
|
18
|
+
([Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping)).
|
|
19
|
+
- **Classify call failures once** in target steps that call an API: one classification
|
|
20
|
+
expression, one IF, one `Error`
|
|
21
|
+
([Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once)).
|
|
22
|
+
- **Parse rows in `dataParser`**, not in steps, when they should be indexed and queued;
|
|
23
|
+
`autoEnqueue` only sees parser rows.
|
|
24
|
+
- **Author `autoEnqueue` deliberately**, and expect queueing to depend on scheduler,
|
|
25
|
+
pusher association, row eligibility and dependencies.
|
|
26
|
+
- **Keep targets light.** Defer expensive calls to the puller or pusher; a slow target
|
|
27
|
+
delays later deliveries.
|
|
28
|
+
- **Avoid echo loops** when the profile writes back to the source system.
|
|
29
|
+
- **Author from captures**, never from invented payloads, and validate before claiming
|
|
30
|
+
done.
|
|
31
|
+
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
> Part of [Webhooks](webhooks.WEBHOOKS.md).
|
|
2
|
+
|
|
3
|
+
## Gateway MCP webhook workflow
|
|
4
|
+
|
|
5
|
+
Read this before asking the user how webhooks are created, where a sample payload comes
|
|
6
|
+
from, or how to test a webhook flow. The Template IDE MCP serving this page is **local
|
|
7
|
+
and read-only**: it explains, searches and validates template files and never calls the
|
|
8
|
+
gateway. Gateway webhook resources, provider deliveries and their captures belong to the
|
|
9
|
+
hosted **HexaSync Gateway MCP**, a separate server with its own sign-in. Neither server
|
|
10
|
+
substitutes for the other.
|
|
11
|
+
|
|
12
|
+
### Connecting to the hosted Gateway MCP
|
|
13
|
+
|
|
14
|
+
The transport is HTTP with OAuth. A Claude Code `mcpServers` entry has this shape; other
|
|
15
|
+
MCP clients take the same URL and OAuth client id in their own format:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{"hexasync-gateway":{"type":"http","url":"https://ai-gateway.hexasync.dev/mcp/gateway","oauth":{"clientId":"hexasync-mcp"}}}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The MCP client runs the browser sign-in itself. Never ask the user for a token or paste
|
|
22
|
+
one into a template. If no `gateway_*` tool is visible, the server is not registered or
|
|
23
|
+
not signed in: that, not a webhook detail, is what to ask the user.
|
|
24
|
+
|
|
25
|
+
**Tool arguments come from the Gateway MCP's own tool listing.** This page names tools
|
|
26
|
+
and their roles only. Listing is read-only; create, bind, delete and every
|
|
27
|
+
`gateway_test_*` call have real side effects and need explicit user confirmation.
|
|
28
|
+
|
|
29
|
+
| Gateway MCP tool | Role in a webhook task |
|
|
30
|
+
| --- | --- |
|
|
31
|
+
| `gateway_list_webhooks` | Find existing webhook resources and their ids before creating anything. |
|
|
32
|
+
| `gateway_create_webhook` | Create a webhook for a scope (`app` or `credential`) and system; returns its `webhookUrl`. A full webhook quota answers HTTP 429 `DRAFT_QUOTA_EXCEEDED`: delete an unused one rather than retrying. |
|
|
33
|
+
| `gateway_bind_webhook` | Bind a webhook to an app or credential. Sandbox registration never auto-binds, so sandbox tests need create plus bind. |
|
|
34
|
+
| `gateway_delete_webhook` | Free a webhook slot that is no longer needed. |
|
|
35
|
+
| `gateway_list_webhook_captures` | Read recent captured deliveries of one webhook: the sample source for authoring. |
|
|
36
|
+
| `gateway_test_webhook` | Replay one capture through the gateway's validation step. |
|
|
37
|
+
| `gateway_test_hook` | Run a wired gateway hook, for example credential registration, in sandbox. |
|
|
38
|
+
| `gateway_test_universal_connector` | Fire a real outbound HTTP call through a sandbox credential. |
|
|
39
|
+
| `gateway_list_sandbox_apps`, `gateway_list_sandbox_credentials` | Find sandbox app and credential ids to bind or test against. |
|
|
40
|
+
|
|
41
|
+
### Two separate authorizations
|
|
42
|
+
|
|
43
|
+
| Authorization | Holder | Grants | Never grants |
|
|
44
|
+
| --- | --- | --- | --- |
|
|
45
|
+
| MCP user sign-in (OAuth client `hexasync-mcp`) | The person running the agent | Calling Gateway MCP tools as that user | Access to the source system's API or a connector credential |
|
|
46
|
+
| Connector credential | The gateway credential for one source account | Provider token acquisition, webhook registration and the webhook signing key | Signing the agent in to any MCP |
|
|
47
|
+
|
|
48
|
+
Provider credentials stay inside the gateway. Authoring a template needs neither a
|
|
49
|
+
client secret nor a signing key, and a template must never contain them.
|
|
50
|
+
|
|
51
|
+
### Delivery path from provider to profile
|
|
52
|
+
|
|
53
|
+
1. The source system POSTs to the gateway webhook URL. The gateway checks the URL's
|
|
54
|
+
signed state, reads the raw body bytes and lowercases header names.
|
|
55
|
+
2. If the webhook's inspector mode is `Full` or `Sample`, a capture is recorded with its
|
|
56
|
+
outcome (`Full` is rate-limited; `Sample` keeps the first delivery per interval;
|
|
57
|
+
`Off` records nothing). Capturing never delays delivery.
|
|
58
|
+
3. **App or credential scope:** the system's validation step verifies the provider
|
|
59
|
+
signature over the raw body and returns validity plus one or more routing entries.
|
|
60
|
+
Each routing entry becomes one message to the profile. An invalid delivery is not
|
|
61
|
+
forwarded, yet the provider may still receive HTTP 200, because some providers
|
|
62
|
+
permanently disable endpoints that answer certain 4xx codes.
|
|
63
|
+
4. **Profile scope:** no validation; the raw body is forwarded as-is.
|
|
64
|
+
5. The profile receives the message for a connection and
|
|
65
|
+
[routes it by `connectionId`](webhooks.WEBHOOKS.routing-and-boundary-ownership.md). A credential-scope
|
|
66
|
+
delivery is copied to **every profile connection bound to that credential**. A
|
|
67
|
+
profile-scope webhook without a connection cannot be routed.
|
|
68
|
+
|
|
69
|
+
Only enabled, unexpired **production** webhooks deliver to profiles; sandbox deliveries
|
|
70
|
+
never do. Profile subscriptions refresh periodically (up to about 15 minutes), so a
|
|
71
|
+
delivery soon after a new bind can be missed — another reason the puller must reconcile.
|
|
72
|
+
If forwarding fails the gateway answers HTTP 500 so the provider redelivers; a valid
|
|
73
|
+
result with no routing entries also answers 500. The validation step decides only
|
|
74
|
+
validity and routing: a delivery with several events reaches the profile as one message
|
|
75
|
+
unless the validation step splits it.
|
|
76
|
+
|
|
77
|
+
### Captures are the authoring sample
|
|
78
|
+
|
|
79
|
+
Each `gateway_list_webhook_captures` entry exposes:
|
|
80
|
+
|
|
81
|
+
| Capture field | Meaning |
|
|
82
|
+
| --- | --- |
|
|
83
|
+
| `captureId` | `<ms-timestamp>-<seq>`; the replay key. |
|
|
84
|
+
| `arrivalAt`, `method`, `path`, `queryString` | Arrival time and request line. The path embeds the webhook's signed state: never copy it into docs, fixtures or chat. |
|
|
85
|
+
| `contentType`, `sizeBytes`, `remoteIp` | Request metadata; omit the IP from anything you write. |
|
|
86
|
+
| `headers` | Lowercased request headers, including signature headers: redact those. |
|
|
87
|
+
| `bodyBase64` | Base64 of the exact wire bytes; decode it to obtain the provider body unchanged. |
|
|
88
|
+
| `stateCheck`, `dispatched`, `dispatchReason` | Whether the delivery was forwarded; the reason is null when forwarded, otherwise a code such as `disabled`, `hook_not_wired` or a forwarding-failure code. |
|
|
89
|
+
| `handlerStatusCode`, `isValid` | HTTP status returned to the provider and the validation verdict; `isValid` is null for profile scope, unforwarded deliveries or unreadable validation output. |
|
|
90
|
+
|
|
91
|
+
For app or credential scope, use captures with `dispatched: true` and `isValid: true`:
|
|
92
|
+
only those reached the profile. Profile-scope captures that reached it show
|
|
93
|
+
`dispatched: true` with `isValid` null. An empty list means the inspector is `Off`,
|
|
94
|
+
nothing arrived in the retained window, or the wrong webhook id was used. It is not
|
|
95
|
+
permission to invent a payload from provider documentation; record the gap instead.
|
|
96
|
+
|
|
97
|
+
To turn a capture into expression input, apply the [message shape](webhooks.WEBHOOKS.message-shape.md): for
|
|
98
|
+
app or credential scope wrap the decoded body as `RawMessage`, so paths start
|
|
99
|
+
`$.RawMessage.`; profile scope uses the bare body. A capture proves the provider's wire
|
|
100
|
+
shape, not that a profile target matched or ran.
|
|
101
|
+
|
|
102
|
+
### Replay and test limits
|
|
103
|
+
|
|
104
|
+
- `gateway_test_webhook` replays a capture through the gateway validation step
|
|
105
|
+
(sandbox by default) with a signature-bypass flag, because captured timestamps and
|
|
106
|
+
nonces are stale. It tests gateway validation and routing, not profile execution. An
|
|
107
|
+
unknown capture answers `CAPTURE_NOT_FOUND`.
|
|
108
|
+
- Profile-scope webhooks are refused with `PROFILE_NOT_REPLAYABLE`: they have no
|
|
109
|
+
validation step to exercise.
|
|
110
|
+
- The bundled workflow playground renders only its own fixtures; it accepts no capture
|
|
111
|
+
and executes no webhook target.
|
|
112
|
+
- This read-only MCP sends nothing to a profile. Author against a real capture, check
|
|
113
|
+
with `hexasync_validate`, and treat a real delivery to the deployed profile as the only
|
|
114
|
+
runtime proof.
|
|
115
|
+
|
|
116
|
+
### Recipe: author a profile webhook target from a capture
|
|
117
|
+
|
|
118
|
+
1. Read the profile's connections and webhook declarations; the routing key is the
|
|
119
|
+
declaration's `connectionId`.
|
|
120
|
+
2. On the Gateway MCP, list its tools for current schemas, then call
|
|
121
|
+
`gateway_list_webhooks` to find the webhook bound to the account's app or credential.
|
|
122
|
+
3. Call `gateway_list_webhook_captures`; select a forwarded, valid capture per event
|
|
123
|
+
kind the target must handle, and decode `bodyBase64`.
|
|
124
|
+
4. Drop the path, query, signature headers and IP; keep the body byte-for-byte.
|
|
125
|
+
5. Write match rules, `dataFilter` and `dataParser` against the message form of that body.
|
|
126
|
+
6. Run `hexasync_validate`. Ask the user only for what no tool can supply, such as
|
|
127
|
+
triggering a real event when no capture exists.
|
|
128
|
+
|
|
129
|
+
### Provider webhook authoring standards
|
|
130
|
+
|
|
131
|
+
These hold for every provider; each system's gateway validation and registration
|
|
132
|
+
decide the concrete values.
|
|
133
|
+
|
|
134
|
+
| Concern | Standard |
|
|
135
|
+
| --- | --- |
|
|
136
|
+
| Signature | Verified by the gateway over the **raw body bytes** with the credential's signing key, before any parsing or re-serialization (which would change the bytes). Templates never verify signatures or hold keys. A header label can name a different algorithm than the provider actually uses; never infer the algorithm or key encoding from the label. |
|
|
137
|
+
| Acknowledgement | The gateway answers the provider quickly and the profile processes asynchronously, so heavy template work cannot cause provider timeouts or retries. HTTP 200 does not prove validity; use the capture's `isValid` and `dispatched`. Keep targets light anyway: slow processing delays later deliveries. |
|
|
138
|
+
| Message root | App and credential scope wrap the body as `RawMessage`; profile scope carries the bare body. Confirm from a delivered run. |
|
|
139
|
+
| Multi-event deliveries | One delivery can carry several events and still arrive as one message. A matcher on the first event (`[0]`) then selects the target for all of them. Select items over every event (`[*]`), and confirm whether mixed-kind deliveries occur before relying on a first-event match. |
|
|
140
|
+
| Event-type matching | Anchor patterns to the event type and tolerate documented suffixes (for example an account id appended to the type). |
|
|
141
|
+
| Different envelopes per event kind | Delete deliveries often differ from updates (for example a bare id array). A matcher written for the update shape matches nothing; give each envelope its own target, proven from its own capture. |
|
|
142
|
+
| Partial payloads | An event can carry a subset of fields and no modification clock. Treat it as a change notice: update only the carried fields, or enrich by reading the full record (an API step or the puller) instead of replacing a stored row with a partial one. |
|
|
143
|
+
| Two mappers, one key | Event and REST payloads can differ in casing, scalar versus array members and timestamp offsets. Write a separate event mapper that derives the **same natural key** as the pull ([webhook-vs-puller division](hexasync://docs/pullers/PULLERS/the-webhook-vs-puller-division)). |
|
|
144
|
+
| Duplicates and redelivery | Providers redeliver, often with an attempt counter, and may deliver more than once. Upsert by natural key so a repeat is idempotent; never count deliveries as business events. |
|
|
145
|
+
| Ordering | Deliveries can arrive out of order. Do not let an older event overwrite newer state: compare a modification time or version when the payload has one, otherwise treat the event as a notice and re-read. |
|
|
146
|
+
| Loops | If the profile pushes back to the same system, the push can trigger another webhook. Break the cycle: ignore events caused by your own writes (an origin marker or unchanged content) and rely on content-hash deduplication rather than re-queuing every delivery. |
|
|
147
|
+
| Ledger | Webhook writes never advance a puller's watermark; the puller's next run must still cover the same window. |
|
|
148
|
+
| Registration health | Typically one registration per event type per account. Healthy means observed active, exact event type and exact expected destination. A duplicate-registration conflict is success only against that state; never delete or replace a foreign registration automatically. The gateway may support only a subset of documented event types: confirm before promising a listener. |
|
|
149
|
+
| Event coverage | Keep an event/task matrix: documented, registered, captured and consumed types are separate facts. A documented type without a capture is unproven; an absent create or delete event is covered by the puller and full reconciliation. |
|
|
150
|
+
|
|
151
|
+
### Worked sample: a signed credential-scope delivery
|
|
152
|
+
|
|
153
|
+
A synthetic body with the shape a credential-scope capture typically shows after
|
|
154
|
+
decoding `bodyBase64` (illustrative values, not a recorded delivery):
|
|
155
|
+
|
|
156
|
+
```json
|
|
157
|
+
{
|
|
158
|
+
"id": "00000000-0000-4000-8000-000000000101",
|
|
159
|
+
"attempt": 1,
|
|
160
|
+
"events": [
|
|
161
|
+
{
|
|
162
|
+
"type": "stock.update.1001",
|
|
163
|
+
"data": [
|
|
164
|
+
{ "productId": 501, "branchId": 7, "onHand": 100 }
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
| Purpose | Path or pattern | Value in this sample |
|
|
172
|
+
| --- | --- | --- |
|
|
173
|
+
| Match | `$.RawMessage.events[0].type` with `^stock\.update\.\d+$` | `stock.update.1001` |
|
|
174
|
+
| Item selection | `dataFilter: $.RawMessage.events[*].data[*]` | One stock row |
|
|
175
|
+
| Item identity | `webhook.arguments.__HSS_WEBHOOK_ITEM.productId` and `.branchId` | `501`, `7` |
|
|
176
|
+
| Quantity | `webhook.arguments.__HSS_WEBHOOK_ITEM.onHand` | `100` |
|
|
177
|
+
| Original text | `raw_body` inside `webhook.arguments.__HSS_WEBHOOK_RAW_MESSAGE` | This body as a string |
|
|
178
|
+
|
|
179
|
+
A target for it. The parser walks **every** event of the matching kind (not only
|
|
180
|
+
`[0]`) and derives a composite natural key; the row carries no modification clock, so
|
|
181
|
+
it updates the stored quantity rather than replacing the row:
|
|
182
|
+
|
|
183
|
+
```yaml
|
|
184
|
+
webhooks:
|
|
185
|
+
- id: "22222222-2222-4222-8222-222222222222"
|
|
186
|
+
connectionId: "11111111-1111-4111-8111-111111111111"
|
|
187
|
+
targets:
|
|
188
|
+
stock_update:
|
|
189
|
+
id: "33333333-3333-4333-8333-333333333335"
|
|
190
|
+
objectIds: ["44444444-4444-4444-8444-444444444446"]
|
|
191
|
+
autoEnqueue: true
|
|
192
|
+
matchFilter: $.RawMessage.events[0].type
|
|
193
|
+
matchPattern: ^stock\.update\.\d+$
|
|
194
|
+
dataFilter: $.RawMessage.events[*].data[*]
|
|
195
|
+
dataParser:
|
|
196
|
+
jsonata:
|
|
197
|
+
items:
|
|
198
|
+
expression: >-
|
|
199
|
+
[RawMessage.events[$contains(type, /^stock\.update\./)].data.{
|
|
200
|
+
"__source_id": $string(productId) & "|" & $string(branchId),
|
|
201
|
+
"productId": productId, "branchId": branchId, "onHand": onHand}]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Replace the sample with a real capture before authoring: a capture proves the wire shape
|
|
205
|
+
and gateway validation; only a delivered profile run proves that a target matched and ran.
|
|
206
|
+
|