Guru

Guru is reinventing knowledge sharing, providing verified information from experts on your team: where you work and when you need it most.

Integrate the Guru API with the Bash API

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

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Guru

The Guru API on Pipedream enables the automation of knowledge sharing and management tasks within your team or organization. Using this API, you can programmatically interact with Guru's knowledge base, including retrieving card details, creating new cards, and updating existing content. By leveraging Pipedream's serverless platform, you can craft workflows that trigger based on events from other services, process the data, and perform actions in Guru to keep your team's knowledge up to date and accessible.

Connect Guru

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    guru: {
      type: "app",
      app: "guru",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.getguru.com/api/v1/teams`,
      headers: {
        "Accept": `application/json`,
      },
      auth: {
        username: `${this.guru.$auth.username}`,
        password: `${this.guru.$auth.api_key}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS