AWS Lambda
Developer ToolsInvoke AWS Lambda functions as a step in any flow. Agents run functions synchronously to compute or transform data, fire-and-forget for background work, or dry-run to validate parameters before going live.
What This Integration Enables
Agents invoke Lambda functions in three modes. RequestResponse waits for the result and returns the parsed payload, so the agent can use the output downstream. Event fires-and-forgets, returning as soon as the service accepts the request, which fits background processing. DryRun validates parameters and permissions without running the function, which fits pre-flight checks. Get Function inspects the function's runtime, handler, memory, timeout, state, and ARN, which lets the agent confirm readiness or detect configuration drift before invoking. The connector covers Lambda invocation and inspection; the flow decides what payload to send, what to do with the response, and when a function error should pause the line.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Inline Compute Step
A workflow needs custom enrichment that does not fit any out-of-the-box connector. The agent calls Invoke Function in RequestResponse mode with the input data as plain JSON. The function runs, returns its result, and the agent passes the parsed payload to the next step. Lambda becomes the inline-compute escape hatch that keeps the rest of the flow declarative.
Queue-Driven Background Processing
The agent receives a batch of work items from SQS, then for each item calls Invoke Function in Event mode so the function processes the item without blocking the flow. The agent deletes the SQS message immediately and moves to the next item. A separate flow watches the function's CloudWatch logs or DynamoDB-backed status table for completions.
Pre-Flight Validation Before a Production Run
Before a production deployment fires its first real invocation, an ops flow calls Invoke Function in DryRun mode to validate the invoker has permission and the payload shape is accepted. Get Function confirms the configuration matches the release notes. If either check fails, the deployment pauses and the on-call engineer is notified before any real traffic hits the function.
Human-in-Loop Highlight
A function error is the exact place an agent should stop and ask. The agent invokes the function, inspects the response, and if functionError comes back non-null, it pauses. It posts to the on-call channel: "Lambda [name] returned functionError [type] on payload [reference]. statusCode [code]. Retry, skip this item, or pause the flow?" The engineer decides. The agent does the durable thing: it stops the loop rather than retrying into a tight error cycle that costs money and corrupts the downstream state.
Agent Capabilities
2 actionsInvocation
1- Invoke Function Invokes a Lambda function. RequestResponse mode waits for and returns the parsed payload; Event mode fires-and-forgets; DryRun mode validates parameters without running the function. The response includes statusCode, functionError (non-null when the function raised an error), and the parsed payload.
Inspection
1- Get Function Inspects a Lambda function's runtime, handler, memory, timeout, state, and ARN. Used to confirm readiness before invoking or to detect configuration drift against a release manifest.
Start building with AWS Lambda
$100 in credits. No card required. Connect in minutes.