with PreciseFP and Pixelbin?
Trigger when a new account is created. See the documentation
Trigger when a new form engagement is completed. See the documentation
Trigger when a new PDF engagement is created. See the documentation
The PreciseFP API integrates with Pipedream to automate workflows involving client data collection and management for financial professionals. By leveraging this API, you can streamline the process of gathering and updating client information, create trigger-based actions for client engagement, and sync data with other financial management tools. With Pipedream's serverless platform, these automations can run without manual intervention, connecting to countless other apps and services to create a seamless data flow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
precisefp: {
type: "app",
app: "precisefp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.precisefp.com/api/v3/user`,
headers: {
Authorization: `Bearer ${this.precisefp.$auth.api_token}`,
},
})
},
})
import { PixelbinConfig, PixelbinClient } from "@pixelbin/admin";
export default defineComponent({
props: {
pixelbin: {
type: "app",
app: "pixelbin",
}
},
async run({steps, $}) {
// Creates a Pixelbin config using the API Token
const config = new PixelbinConfig({
domain: "https://api.pixelbin.io",
apiSecret: this.pixelbin.$auth.api_token,
integrationPlatform: "@PipedreamHQ/pipedream v0.1",
});
const pixelbin = new PixelbinClient(config);
const getData = async function() {
try {
// list the assets stored on your organization's Pixelbin Storage
const explorer = pixelbin.assets.listFilesPaginator({
onlyFiles: true,
pageSize: 5,
});
if (explorer.hasNext()) {
return await explorer.next();
}
} catch (err) {
console.log(err);
}
};
//Returns list of assets to use in the Pipedream workflow's downstream steps
return await getData();
},
})