For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pipedream

Pipedream is a developer-focused automation platform that combines no-code workflows with the ability to write custom code in Node.js or Python.

Prerequisites

Configuration

Pipedream offers two methods to connect to TensorX:

  1. Code Step - Write Node.js or Python code (recommended for flexibility)

  2. HTTP Request Action - No-code approach

Step 1: Add a Code Step

  1. Create a new workflow or open an existing one

  2. Click + to add a step

  3. Select NodeRun Node.js code

Step 2: Write the API Call

Step 3: Configure the API Key

  1. When you run the workflow, Pipedream will prompt for the API key

  2. Enter your TensorX API key

  3. The key is stored securely and can be reused

Method 2: Python Code Step

Method 3: HTTP Request Action

For a no-code approach:

  1. Click +HTTP / WebhookSend any HTTP Request

  2. Configure:

Field
Value

Method

POST

URL

https://api.tensorx.ai/v1/chat/completions

  1. Add Headers:

    • Authorization: Bearer YOUR_API_KEY

    • Content-Type: application/json

  2. Set Body to:

Example Workflows

Slack AI Assistant

Trigger: New Slack message in channel Action: Reply with AI-generated response

Email Classifier

Content Generator with Streaming

For Coding Tasks:

  • z-ai/glm-5.1 - Best for tool calling and structured outputs

  • minimax/minimax-m2.5 - Best for complex reasoning tasks

Model ID
Best For

deepseek/deepseek-chat-v3.1

General chat, content generation

z-ai/glm-5.1

Classification, structured JSON output

minimax/minimax-m2.5

Complex reasoning, analysis

moonshotai/kimi-k2.5

Vision, long context

Using Environment Variables

Store your API key securely:

  1. Go to SettingsEnvironment Variables

  2. Add TENSORX_API_KEY with your key

  3. Access in code: process.env.TENSORX_API_KEY

Error Handling

Troubleshooting

"Unauthorized" Error

  • Check that your API key is correct

  • Ensure the Authorization header format is Bearer YOUR_KEY

"Model Not Found" Error

  • Use the full model ID: deepseek/deepseek-chat-v3.1

  • Check available models at app.tensorx.ai/models

Timeout Errors

  • Increase the timeout in axios config: timeout: 60000

  • Use a faster model for time-sensitive workflows

Support

Need help? Contact us at support@tensorx.ai

Last updated

Was this helpful?