Pizzly Test Workflow
@dylburger
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
get_integration_details
Retrieve an integration's details
auth
(auths.pizzly)
params
Integration Slug

The name (slug) of the integration. For example, github. See the Pizzly docs for more info

 
github
string ·params.integrationSlug
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
}
10
const fetch = require('node-fetch')

const { host, secretKey } = auths.pizzly
const authentication = 'Basic ' + Buffer.from(secretKey + ':').toString('base64')

// Retrieve an integration's details
// https://github.com/Bearer/Pizzly/wiki/Reference-:-API#retrieve-an-integrations-details
return await (await fetch(`https://${host}/api/${params.integrationSlug}`, { headers: { "Authorization": authentication } })).json()