with Userflow and Go?
Emit new event when a user has completed all tasks in a checklist. See the documentation
Emit new new event when an event is tracked in Userflow. See the documentation
Emit new event when a flow is completed by a user by reaching a goal step. See the documentation
Creates or updates a user in Userflow. If the user does not already exist in Userflow, it will be created. If it already exists, the given attributes will be merged into the existing user's attributes. See the documentation
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Finds an existing user by user ID or email, optionally filtering by group ID. See the documentation
The Userflow API allows you to automate and integrate the process of creating and managing in-app guides and walkthroughs. Using the API within Pipedream, you can programmatically trigger events, update user attributes, and manage flows, thereby creating a personalized user experience within your application. This opens up possibilities for syncing user data, customizing user onboarding experiences, and tracking user progress without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
userflow: {
type: "app",
app: "userflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.userflow.com/users`,
headers: {
Authorization: `Bearer ${this.userflow.$auth.api_key}`,
"Userflow-Version": `2020-01-03`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
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)
}