Cross-Provider Workflow

Hyperbolic Chat to Google Sheets Row

Version 1.0.0

Generate a Hyperbolic chat completion, then append it as a Google Sheets row.

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

Providers Orchestrated

hyperbolic-ai google-sheets

Workflows

chat-to-sheet-row
Generate a Hyperbolic completion and append it to a Google Sheet.
Sends a prompt to Hyperbolic chat completions, captures the reply, and appends a row containing the prompt and the reply to the target sheet range.
2 steps inputs: model, prompt, range, spreadsheetId outputs: answerText, updatedRange
1
generate-answer
$sourceDescriptions.hyperbolicApi.createChatCompletion
Prompt Hyperbolic chat completions for an answer.
2
append-row
$sourceDescriptions.googleSheetsApi.appendValues
Append the prompt and answer as a row in the Google Sheet.

Source API Descriptions

Arazzo Workflow Specification

ai-hyperbolic-chat-to-google-sheets-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Hyperbolic Chat to Google Sheets Row
  summary: Generate a Hyperbolic chat completion, then append it as a Google Sheets row.
  description: >-
    A cross-provider AI enrichment chain that calls Hyperbolic AI's chat
    completions endpoint and appends the model's answer as a new row in a Google
    Sheet. Demonstrates logging LLM output into a spreadsheet of record within a
    single Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: hyperbolicApi
    url: https://raw.githubusercontent.com/api-evangelist/hyperbolic-ai/refs/heads/main/openapi/hyperbolic-chat-completions-api-openapi.yml
    type: openapi
  - name: googleSheetsApi
    url: https://raw.githubusercontent.com/api-evangelist/google-sheets/refs/heads/main/openapi/google-sheets-openapi.yml
    type: openapi
workflows:
  - workflowId: chat-to-sheet-row
    summary: Generate a Hyperbolic completion and append it to a Google Sheet.
    description: >-
      Sends a prompt to Hyperbolic chat completions, captures the reply, and
      appends a row containing the prompt and the reply to the target sheet range.
    inputs:
      type: object
      properties:
        prompt:
          type: string
        model:
          type: string
        spreadsheetId:
          type: string
        range:
          type: string
    steps:
      - stepId: generate-answer
        description: Prompt Hyperbolic chat completions for an answer.
        operationId: $sourceDescriptions.hyperbolicApi.createChatCompletion
        requestBody:
          contentType: application/json
          payload:
            model: $inputs.model
            messages:
              - role: user
                content: $inputs.prompt
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          answerText: $response.body#/choices/0/message/content
      - stepId: append-row
        description: Append the prompt and answer as a row in the Google Sheet.
        operationId: $sourceDescriptions.googleSheetsApi.appendValues
        parameters:
          - name: spreadsheetId
            in: path
            value: $inputs.spreadsheetId
          - name: range
            in: path
            value: $inputs.range
          - name: valueInputOption
            in: query
            value: USER_ENTERED
        requestBody:
          contentType: application/json
          payload:
            values:
              - - $inputs.prompt
                - $steps.generate-answer.outputs.answerText
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          updatedRange: $response.body#/updates/updatedRange
    outputs:
      answerText: $steps.generate-answer.outputs.answerText
      updatedRange: $steps.append-row.outputs.updatedRange