Knack

Business app platform

Integrate the Knack API with the Go API

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

Run Go Code with Go API on New Record from Knack API
Knack + Go
 
Try it
New Record from the Knack API

Emit new event for each record created

 
Try it
Create Record with the Knack API

Create a Record for a Knack object (See docs here)

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it
Delete Record with the Knack API

Delete a Record for a Knack object (See docs here)

 
Try it
Get Record(s) with the Knack API

Get one or more Records for a Knack object (See docs here)

 
Try it
Update Record with the Knack API

Update a Record for a Knack object (See docs here)

 
Try it

Overview of Knack

The Knack API allows developers to access and manipulate data stored in Knack
databases. With the API, developers can

  • Create new records
  • Update existing records
  • Delete records
  • Search for records
  • Get a list of all records
  • Get detailed information about a record

In addition, the Knack API provides developer with access to Knack's powerful
customization features, such as

  • Creating and updating custom objects
  • Creating and updating custom fields
  • Creating and updating views
  • Creating and updating forms
  • Creating and updating reports

Connect Knack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    knack: {
      type: "app",
      app: "knack",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://api.knack.com/v1/objects/object_1/records`,
      headers: {
        "X-Knack-Application-Id": `${this.knack.$auth.application_id}`,
        "X-Knack-REST-API-KEY": `${this.knack.$auth.api_key}`,
        "content-type": `application/json`,
      },
    })
  },
})

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}