Cloudpress

Export content from Google Docs and Notion to your CMS. Automate the export of perfectly formatted content, so you have more time for doing work that matters.

Integrate the Cloudpress API with the Python API

Setup the Cloudpress API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Cloudpress and Python remarkably fast. Free for developers.

Run Python Code with Python API on Document Export Failed from Cloudpress API
Cloudpress + Python
 
Try it
Run Python Code with Python API on Document Export Succeeded from Cloudpress API
Cloudpress + Python
 
Try it
Document Export Failed from the Cloudpress API

Emit new event when a document export fails in Cloudpress.

 
Try it
Document Export Succeeded from the Cloudpress API

Emit new event when a document export succeeds in Cloudpress.

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Export Collection with the Cloudpress API

Exports all content in a collection in Cloudpress. See the documentation

 
Try it
Export From Connection with the Cloudpress API

Exports content from a connection in Cloudpress. See the documentation

 
Try it

Overview of Cloudpress

The Cloudpress API lets you convert rich text content into various formats. With Pipedream, you can use this API to automate the process of converting and distributing content across different platforms. Think of it as your bridge between content creation and content publication, streamlining workflows that involve any sort of text formatting, conversion, or distribution.

Connect Cloudpress

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    cloudpress: {
      type: "app",
      app: "cloudpress",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.usecloudpress.com/v2/account`,
      headers: {
        Authorization: `Bearer ${this.cloudpress.$auth.personal_access_token}`,
        "Content-Type": `application/json`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}