xpay✦ pay-per-use icon

xpay✦ pay-per-use

Discover and execute marketplace services with automatic payment handling

Run → Run Sync

AI-generated

Summary

Execute a specified xPay marketplace service synchronously using a chosen LLM model, providing necessary input key-value pairs, and receive the execution result directly in the workflow.

Inputs

  • Service Slug (required) — The slug or ID of the service to execute. Typically sourced from a Discover operation (e.g., {{ $json.services[0].serviceSlug }}).
  • Model (required) — The large language model (LLM) to use for executing the service. Loaded dynamically from available models.
  • Inputs — Key-value pairs providing the input fields and their corresponding values for the service execution; these must match the expected service schema.
  • Options — Execution options including 'Temperature' (model creativity level, 0 to 2) and 'Max Tokens' (maximum tokens to generate in the response).

Output shape

a single JSON object containing the execution run ID, status, output (result of the service), any error messages, cost, duration, service slug, and model ID

The response fully reflects the synchronous execution result, including success or failure status and associated metadata. No pagination or further calls are required.

Links

Discussion