KnowBe4

Integrated platform for security awareness training combined

Integrate the KnowBe4 API with the Python API

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

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

Overview of KnowBe4

The KnowBe4 API offers a platform for automating and managing the various aspects of a security awareness training program. By tapping into KnowBe4's API on Pipedream, you can streamline user management, phishing simulations, and training campaigns, integrating these into broader IT processes or alerting systems. Tailoring automations can lead to improved response times, comprehensive reporting, and enhanced overall security education within an organization.

Connect KnowBe4

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: {
    knowbe4: {
      type: "app",
      app: "knowbe4",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.knowbe4.$auth.server_location}.api.knowbe4.com/v1/account`,
      headers: {
        Authorization: `Bearer ${this.knowbe4.$auth.api_key}`,
      },
    })
  },
})

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}}