This procedure only covers the steps and nodes required to prepare a flow for API invocation. It assumes that you have already created a flow for the purpose you have in mind. See the Getting started with DaVinci and DaVinci Best Practices documentation for more information about building flows.

  1. Click the Flows tab.
  2. Find the flow and click ... > Edit
  3. At the end of the success path, add an HTTP node to send a JSON success response.
  4. At the end of any failure paths, add an HTTP node to send a JSON error response.
  5. Click Save.
  6. Click Deploy.