Skip to main content

Custom Code Outbound Policy



Be sure to read about policies

"name": "my-custom-code-outbound-policy",
"policyType": "custom-code-outbound",
"handler": {
"export": "default",
"module": "$import(./modules/YOUR_MODULE)",
"options": {}
  • name the name of your policy instance. This is used as a reference in your routes.
  • policyType the identifier of the policy. This is used by the Zuplo UI. Value should be custom-code-outbound.
  • handler/export The name of the exported type. Value should be YOUR_EXPORT.
  • handler/module the module containing the policy. Value should be $import(./modules/YOUR_MODULE).
  • handler/options The options for this policy: