# Invoke Lambda (/docs/workflows/reference/category/data/invokeLambda)

> For the complete documentation index, see [llms.txt](https://docs.tandemcx.ai/llms.txt). Any page on this site can be fetched as Markdown by appending `.md` to its URL.

Invokes an AWS Lambda function

Runs custom logic by invoking one of your AWS Lambda functions, using the credentials from the connected AWS integration. Pass a JSON payload (which can include `$(name)` variables), optionally target a specific version or alias with a qualifier, and capture fields from the returned JSON into variables by JSONPath. Enable "Fire & Forget" to invoke asynchronously without waiting for a result. The flow takes the `timeout` exit if the function has not answered within the node Timeout plus one second, or 28 seconds, whichever is shorter; `fallback` if the function throws or hits its own configured timeout first; and `default` otherwise. The function keeps running after the node takes `timeout`: the node stops waiting, but the invocation is not cancelled. The `fallback` message is the `errorType: errorMessage` the function reported, or `errorType` alone, and never includes a stack trace.

**Category:** Data  
**Provider:** AWS  
**Requires integration:** aws  
**Latest version:** 1.0.0

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| AWS Integration (`awsIntegration`) | dynamicDropdown | Yes | AWS integration to use for credentials. |
| Function (`functionName`) | dynamicDropdown | Yes | AWS Lambda function to invoke. |
| Qualifier (`qualifier`) | string | No | Function version or alias to invoke (e.g. $LATEST, a version number, or an alias name). Example: `$LATEST` |
| JSON Input (`jsonInput`) | json | No | JSON payload to send to the Lambda function. Example: `{}` |
| Timeout (`timeout`) | number | No | Invocation timeout in seconds. |
| Variables (`variables`) | array of objects | No | Save variables from the JSON data returned by the Lambda function. |
| Fire & Forget (`fireAndForget`) | boolean | No | Invoke the Lambda asynchronously and move to the next node without waiting for a response. Variables will not be set. |

## Exits

- `default` (required)
- `timeout` (required)
- `invalidInput` (system)
- `fallback` (system)

System exits (auto-injected, hidden when unwired): `invalidInput`, `fallback`.
