Skip to main content
PromptLayer is a platform for managing and running LLM workflows. The Cargo integration enables you to trigger PromptLayer workflows with dynamic input variables.

Authentication

Connect to PromptLayer using your API key.

Connection details

FieldDescription
API keyYour PromptLayer API key

PromptLayer actions

Run

Execute a PromptLayer workflow with custom input variables. Configuration
FieldDescription
WorkflowSelect a workflow from your account
Workflow versionSpecific version to run (optional)
Input variablesKey-value pairs for workflow inputs
Input variables Add dynamic input variables to pass data into your workflow:
FieldDescription
NameVariable name (as in workflow)
ValueValue to pass (expression)

Use cases

Generate personalized content using LLM workflows.
Extract structured data from unstructured text.
Classify leads, tickets, or content using AI.
Summarize long-form content for quick consumption.

Best practices

  1. Define workflows in PromptLayer - Create and test workflows in PromptLayer first
  2. Map input variables - Ensure variable names match between Cargo and PromptLayer
  3. Version control - Use specific versions for production stability