More Trees

šŸŒ CO2 sequestration & offsetting made easy. šŸŒ³ Plant trees from Ā£1 for yourself, your business and others āš™ļøYou can even do it automatically with our API.

Integrate the More Trees API with the OpenAI (ChatGPT) API

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

Get Carbon Offset with More Trees API on New File Created from OpenAI (ChatGPT) API
OpenAI (ChatGPT) + More Trees
Ā 
Try it
Get Carbon Offset with More Trees API on New Fine Tuning Job Created from OpenAI (ChatGPT) API
OpenAI (ChatGPT) + More Trees
Ā 
Try it
Get Carbon Offset with More Trees API on New Run State Changed from OpenAI (ChatGPT) API
OpenAI (ChatGPT) + More Trees
Ā 
Try it
Plant Tree with More Trees API on New File Created from OpenAI (ChatGPT) API
OpenAI (ChatGPT) + More Trees
Ā 
Try it
Plant Tree with More Trees API on New Fine Tuning Job Created from OpenAI (ChatGPT) API
OpenAI (ChatGPT) + More Trees
Ā 
Try it
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
Get Carbon Offset with the More Trees API

Get the total carbon offset. 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
Plant Tree with the More Trees API

Plant a tree for self or for others. See the documentation

Ā 
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

Overview of More Trees

The More Trees API enables users to integrate tree planting into their apps and workflows. It offers a way to automate the process of planting trees, allowing users to contribute to reforestation efforts globally through their business practices or personal projects. With this API on Pipedream, you can create serverless workflows that respond to various triggers (like eCommerce transactions or milestones) and automatically initiate tree planting tasks. This not only greenifies your operations but also provides a tangible way to showcase corporate social responsibility.

Connect More Trees

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: {
    more_trees_: {
      type: "app",
      app: "more_trees_",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.moretrees.eco/v1/basic/viewCredits`,
      headers: {
        "Authorization": `${this.more_trees_.$auth.public_validation_key}`,
      },
    })
  },
})

Overview of OpenAI (ChatGPT)

OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Hereā€™s an overview of the services offered by OpenAI's API:

Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:

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}`,
      },
    })
  },
})