Action ReferencesInterserviceCallAction
Action References

InterserviceCallAction

InterserviceCallAction

Purpose Calls another Business API defined in a different Mindbricks microservice. This enables inter-service orchestration (e.g., create order → update inventory service).

When to use it

  • afterMainCreateOperation / afterMainUpdateOperation
  • For background coordination after afterApiEvent

Key fields

FieldTypeDescription
targetServiceStringLogical name of the destination microservice.
targetApiStringBusiness API name to invoke in that service.
apiParameters[DataMapItem]List of key-value pairs (MScript expressions) used as input parameters.
responsePropertyStringOptional — extract one property from API response instead of full object.
isArrayBooleanMarks response type if expecting a list.
contextPropertyNameStringWhere to write the call result in context.

Example

{
  "id": "a140-sync-inventory",
  "name": "notifyInventoryService",
  "targetService": "inventory",
  "targetApi": "updateStockLevels",
  "apiParameters": [
    { "name": "productId", "value": "this.productId" },
    { "name": "quantity", "value": "this.quantity" }
  ],
  "contextPropertyName": "inventoryResponse"
}
Was this page helpful?
Built with Documentation.AI

Last updated Jan 3, 2026