Cross-Provider Workflow

NVIDIA NIM Chat to Airtable Record

Version 1.0.0

Generate a chat completion with NVIDIA NIM, then save it as an Airtable record.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

nvidia-nim airtable

Workflows

chat-to-record
Generate an NVIDIA NIM completion and store it in Airtable.
Sends a prompt to NVIDIA NIM chat completions, captures the assistant message, and creates an Airtable record holding the prompt and the reply.
2 steps inputs: baseId, model, prompt, tableIdOrName outputs: recordId, replyText
1
generate-reply
$sourceDescriptions.nvidiaNimApi.createChatCompletion
Prompt NVIDIA NIM chat completions for a reply.
2
save-record
$sourceDescriptions.airtableApi.createRecords
Create an Airtable record with the prompt and generated reply.

Source API Descriptions

Arazzo Workflow Specification

ai-nvidia-chat-to-airtable-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: NVIDIA NIM Chat to Airtable Record
  summary: Generate a chat completion with NVIDIA NIM, then save it as an Airtable record.
  description: >-
    A cross-provider AI enrichment chain that prompts NVIDIA NIM's chat
    completions endpoint and writes the model's reply into an Airtable base as a
    new record. Demonstrates capturing LLM output in a structured spreadsheet
    backend within one Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: nvidiaNimApi
    url: https://raw.githubusercontent.com/api-evangelist/nvidia-nim/refs/heads/main/openapi/nvidia-nim-chat-completions-api-openapi.yml
    type: openapi
  - name: airtableApi
    url: https://raw.githubusercontent.com/api-evangelist/airtable/refs/heads/main/openapi/airtable-airtable-api-openapi.yml
    type: openapi
workflows:
  - workflowId: chat-to-record
    summary: Generate an NVIDIA NIM completion and store it in Airtable.
    description: >-
      Sends a prompt to NVIDIA NIM chat completions, captures the assistant
      message, and creates an Airtable record holding the prompt and the reply.
    inputs:
      type: object
      properties:
        prompt:
          type: string
        model:
          type: string
        baseId:
          type: string
        tableIdOrName:
          type: string
    steps:
      - stepId: generate-reply
        description: Prompt NVIDIA NIM chat completions for a reply.
        operationId: $sourceDescriptions.nvidiaNimApi.createChatCompletion
        requestBody:
          contentType: application/json
          payload:
            model: $inputs.model
            messages:
              - role: user
                content: $inputs.prompt
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          replyText: $response.body#/choices/0/message/content
          completionId: $response.body#/id
      - stepId: save-record
        description: Create an Airtable record with the prompt and generated reply.
        operationId: $sourceDescriptions.airtableApi.createRecords
        requestBody:
          contentType: application/json
          payload:
            records:
              - fields:
                  Prompt: $inputs.prompt
                  Reply: $steps.generate-reply.outputs.replyText
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          recordId: $response.body#/records/0/id
    outputs:
      replyText: $steps.generate-reply.outputs.replyText
      recordId: $steps.save-record.outputs.recordId