Habitica

Habitica is a free habit and productivity app that treats your real life like a game. Habitica can help you achieve your goals to become healthy and happy.

Integrate the Habitica API with the OpenAI (ChatGPT) API

Setup the Habitica API trigger to run a workflow which integrates with the OpenAI (ChatGPT) API. Pipedream's integration platform allows you to integrate Habitica and OpenAI (ChatGPT) remarkably fast. Free for developers.

New File Created from the OpenAI (ChatGPT) API

Emit new event when a new file is created in OpenAI. See the documentation

 
Try it
New Fine Tuning Job Created from the OpenAI (ChatGPT) API

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

 
Try it
New Run State Changed from the OpenAI (ChatGPT) API

Emit new event every time a run changes its status. See the documentation

 
Try it
Chat with the OpenAI (ChatGPT) API

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See docs here

 
Try it
Summarize Text with the OpenAI (ChatGPT) API

Summarizes text using the Chat API

 
Try it
Classify Items into Categories with the OpenAI (ChatGPT) API

Classify items into specific categories using the Chat API

 
Try it
Translate Text (Whisper) with the OpenAI (ChatGPT) API

Translate text from one language to another using the Chat API

 
Try it
Create Transcription (Whisper) with the OpenAI (ChatGPT) API

Transcribes audio into the input language. See docs here.

 
Try it

Overview of Habitica

Habitica is a website and app that helps you form good habits and stick to
them. You can use the Habitica API to help you build applications that help
people form and stick to good habits.

Here are some examples of what you can build using the Habitica API:

  • An app that helps people track their water intake
  • An app that helps people track their steps
  • An app that helps people track their eating habits
  • An app that helps people track their sleeping habits
  • An app that helps people track their exercise habits

Connect Habitica

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    habitica: {
      type: "app",
      app: "habitica",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://habitica.com/api/v3/user`,
      headers: {
        "x-client": `3a326108-1895-4c23-874e-37668c75f2ad-Pipedream`,
        "x-api-user": `${this.habitica.$auth.user_id}`,
        "x-api-key": `${this.habitica.$auth.api_token}`,
      },
    })
  },
})

Overview of OpenAI (ChatGPT)

The OpenAI (ChatGPT) API offers a powerful gateway to natural language processing capabilities, enabling you to automate conversation-based tasks or generate text-based content programmatically. When paired with Pipedream's no-code platform, you can craft potent serverless workflows that trigger AI-generated text in response to various events, parse and analyze incoming data, or even add conversational AI to your apps and services.

Connect OpenAI (ChatGPT)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    openai: {
      type: "app",
      app: "openai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.openai.com/v1/models`,
      headers: {
        Authorization: `Bearer ${this.openai.$auth.api_key}`,
      },
    })
  },
})