Skip to Content
Docs

HTTP to Flow

HTTP to Flow agents utilize HTTP-In nodes to receive and respond to HTTP requests, enabling them to serve as efficient interfaces for web-based communications. This type of agent is particularly effective for creating dynamic endpoints that interact with users or external systems via the web.

Key Features:

  • HTTP Interfaces: Capable of handling direct HTTP requests, these agents facilitate the development of RESTful APIs, webhooks, and other web services.
  • Customizable Workflows: Developers have the flexibility to create complex processing sequences that start from an HTTP request, allowing for intricate interactions within web applications.
  • Use Cases: These agents are best suited for building web APIs, managing user interactions through web forms, or providing gateway services that connect different web-based applications and services.

Keep the Agent Available During Maintenance

Contextual regularly maintains the infrastructure that runs Agents, for example to apply upgrades or replace servers. During maintenance, an Agent's instances can stop and start again on another server.

  • Minimum of 2 or more parallel instances: Contextual keeps at least half of the Agent's instances running, so the Agent keeps serving requests.
  • Minimum of 1: the Agent's only instance can stop. Requests fail until it starts again.

This applies only to infrastructure maintenance. Updating the Agent to a new Flow version is separate. Those updates already roll out without downtime, whatever the minimum.

To keep an HTTP to Flow Agent available for clients and users who depend on it:

  1. Choose Components > Agents, then choose the Agent.
  2. On the Definition tab, under Parallel Instances, set Minimum to 2 or more. Keep Maximum at or above the minimum.
  3. Select Save Changes.