← Zamzar + Anthropic (Claude) integrations

Chat with Anthropic (Claude) API on Watch Completed Conversion Jobs from Zamzar API

Pipedream makes it easy to connect APIs for Anthropic (Claude), Zamzar and 2,700+ other apps remarkably fast.

Trigger workflow on
Watch Completed Conversion Jobs from the Zamzar API
Next, do this
Chat with the Anthropic (Claude) API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Zamzar trigger and Anthropic (Claude) action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Watch Completed Conversion Jobs trigger
    1. Connect your Zamzar account
    2. Configure Polling schedule
  3. Configure the Chat action
    1. Connect your Anthropic (Claude) account
    2. Select a Model
    3. Configure User Message
    4. Optional- Configure Prior Message History
    5. Optional- Configure Temperature
    6. Optional- Configure Top K
    7. Optional- Configure Top P
    8. Configure Maximum Tokens To Sample
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event as soon as a conversion job has been completed. [See the documentation](https://developers.zamzar.com/docs)
Version:0.0.2
Key:zamzar-watch-completed-conversion-jobs

Zamzar Overview

The Zamzar API on Pipedream provides powerful file conversion capabilities, allowing you to easily automate the process of converting files between different formats. With Pipedream's serverless platform, you can set up workflows that trigger conversions, handle the completed files, and integrate with other services for a seamless automation experience. From document conversion for data analysis to prepping media files for different platforms, Zamzar's API coupled with Pipedream's robust functionality opens up a world of possibilities for streamlining tasks.

Trigger Code

import common from "../common/polling.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "zamzar-watch-completed-conversion-jobs",
  name: "Watch Completed Conversion Jobs",
  description: "Emit new event as soon as a conversion job has been completed. [See the documentation](https://developers.zamzar.com/docs)",
  version: "0.0.2",
  type: "source",
  dedupe: "greatest",
  methods: {
    ...common.methods,
    processLastResource(resource) {
      this.setCursor(resource.id);
    },
    isResourceRelevant(resource) {
      return resource.status === "successful";
    },
    getListResourcesFn() {
      return this.app.listJobs;
    },
    getListResourcesFnArgs() {
      return {
        params: {
          before: this.getCursor(),
        },
      };
    },
    generateMeta(resource) {
      return {
        id: resource.id,
        summary: `Completed Job: ${resource.id}`,
        ts: Date.parse(resource.created_at),
      };
    },
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
ZamzarappappThis component uses the Zamzar app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling scheduletimer$.interface.timer

How often to poll the API

Trigger Authentication

Zamzar uses API keys for authentication. When you connect your Zamzar account, Pipedream securely stores the keys so you can easily authenticate to Zamzar APIs in both code and no-code steps.

About Zamzar

Online file conversion website.

Action

Description:The Chat API. [See the documentation](https://docs.anthropic.com/claude/reference/messages_post)
Version:0.1.0
Key:anthropic-chat

Anthropic (Claude) Overview

The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support. In Pipedream, you can create powerful workflows that utilize the capabilities of Claude to automate responses, analyze text, or enhance data with AI-generated insights. Pipedream's serverless platform simplifies integrating Claude into your processes with other apps and services for seamless automation.

Action Code

import anthropic from "../../anthropic.app.mjs";
import constants from "../common/constants.mjs";

export default {
  name: "Chat",
  version: "0.1.0",
  key: "anthropic-chat",
  description: "The Chat API. [See the documentation](https://docs.anthropic.com/claude/reference/messages_post)",
  type: "action",
  props: {
    anthropic,
    model: {
      label: "Model",
      description: "Select the model to use for your query. Defaults to the latest Claude model - [see the documentation](https://docs.anthropic.com/en/docs/about-claude/models/overview) for more information",
      type: "string",
      options: constants.MESSAGE_MODELS,
      default: constants.MESSAGE_MODELS[0].value,
    },
    userMessage: {
      label: "User Message",
      type: "string",
      description: "The user messages provide instructions to the assistant",
    },
    messages: {
      label: "Prior Message History",
      type: "string[]",
      description: "All relevant information must be supplied via the conversation. You can provide an array of messages from prior conversations here always beginning with the human message.",
      optional: true,
    },
    temperature: {
      label: "Temperature",
      description: "**Optional**. Amount of randomness injected into the response. Ranges from 0 to 1. Use temp closer to 0 for analytical / multiple choice, and temp closer to 1 for creative and generative tasks.",
      type: "string",
      optional: true,
    },
    topK: {
      label: "Top K",
      description: "Only sample from the top K options for each subsequent token. Used to remove `long tail` low probability responses.",
      type: "integer",
      optional: true,
    },
    topP: {
      label: "Top P",
      description: "Does nucleus sampling, in which we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified.",
      type: "string",
      optional: true,
    },
    maxTokensToSample: {
      label: "Maximum Tokens To Sample",
      description: "A maximum number of tokens to generate before stopping.",
      type: "integer",
    },
  },
  async run({ $ }) {
    const messages = [];

    const priorMessages = typeof this.messages === "string"
      ? JSON.parse(this.messages)
      : this.messages;

    if (priorMessages?.length) {
      let isUserMessage = true;

      for (const message of priorMessages) {
        messages.push({
          role: isUserMessage
            ? "user"
            : "assistant",
          content: message,
        });

        isUserMessage = !isUserMessage;
      }
    }

    messages.push({
      role: "user",
      content: this.userMessage,
    });

    const response = await this.anthropic.createMessage({
      $,
      data: {
        messages,
        model: this.model,
        max_tokens: this.maxTokensToSample,
        temperature: this.temperature
          ? parseFloat(this.temperature)
          : undefined,
        top_p: this.topP
          ? parseFloat(this.topP)
          : undefined,
        top_k: this.topK,
      },
    });

    if (response) {
      $.export("$summary", `Successfully sent message with ID ${response.id}`);
    }

    const originalMessages = messages.map(({ content }) => content);
    return {
      original_messages: originalMessages,
      original_messages_with_assistant_response: originalMessages.concat(response.content[0].text),
      ...response,
    };
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Anthropic (Claude)anthropicappThis component uses the Anthropic (Claude) app.
ModelmodelstringSelect a value from the drop down menu:{ "label": "Claude Opus 4", "value": "claude-opus-4-20250514" }{ "label": "Claude Sonnet 4", "value": "claude-sonnet-4-20250514" }{ "label": "Claude Sonnet 3.7", "value": "claude-3-7-sonnet-20250219" }{ "label": "Claude Sonnet 3.5 v2", "value": "claude-3-5-sonnet-20241022" }{ "label": "Claude Haiku 3.5", "value": "claude-3-5-haiku-20241022" }{ "label": "Claude Sonnet 3.5", "value": "claude-3-5-sonnet-20240620" }{ "label": "Claude Opus 3", "value": "claude-3-opus-20240229" }{ "label": "Claude Sonnet 3", "value": "claude-3-sonnet-20240229" }{ "label": "Claude Haiku 3", "value": "claude-3-haiku-20240307" }
User MessageuserMessagestring

The user messages provide instructions to the assistant

Prior Message Historymessagesstring[]

All relevant information must be supplied via the conversation. You can provide an array of messages from prior conversations here always beginning with the human message.

Temperaturetemperaturestring

Optional. Amount of randomness injected into the response. Ranges from 0 to 1. Use temp closer to 0 for analytical / multiple choice, and temp closer to 1 for creative and generative tasks.

Top KtopKinteger

Only sample from the top K options for each subsequent token. Used to remove long tail low probability responses.

Top PtopPstring

Does nucleus sampling, in which we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified.

Maximum Tokens To SamplemaxTokensToSampleinteger

A maximum number of tokens to generate before stopping.

Action Authentication

Anthropic (Claude) uses API keys for authentication. When you connect your Anthropic (Claude) account, Pipedream securely stores the keys so you can easily authenticate to Anthropic (Claude) APIs in both code and no-code steps.

About Anthropic (Claude)

AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.

More Ways to Connect Anthropic (Claude) + Zamzar

Chat with Anthropic (Claude) API on New File from Zamzar API
Zamzar + Anthropic (Claude)
 
Try it
Chat with Anthropic (Claude) API on New Conversion Job from Zamzar API
Zamzar + Anthropic (Claude)
 
Try it
New Conversion Job from the Zamzar API

Emit new event when a conversion job has completed. See the documentation

 
Try it
New File from the Zamzar API

Emit new event when a file has been converted successfully. See the documentation

 
Try it
Watch Completed Conversion Jobs from the Zamzar API

Emit new event as soon as a conversion job has been completed. See the documentation

 
Try it
Create Content File with the Zamzar API

Creates a file from the provided content. See the documentation

 
Try it
Retrieve Job with the Zamzar API

Finds the file that has been processed under the specified job id. See the documentation

 
Try it
Start Job From File with the Zamzar API

Starts a conversion job and upload a source file in a single request. See the documentation

 
Try it
Chat with the Anthropic (Claude) API

The Chat API. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.