White Swan’s digital platform and expert advisors makes it easy to get your clients any type of life insurance solution with the highest best-interest standards and most convenient experience.
Emit new event when a new earnings event is created for your account, such as credits from client referrals or partner payouts.
Emit new event when you add or modify a new row in a table. See the docs here
Imports client data for pre-filling applications to enrich the user experience. See the documentation
Retrieves information about clients referred from the user's White Swan account. See the documentation
The White Swan API provides predictive analytics for mitigating risks in financial portfolios using artificial intelligence. By leveraging the White Swan API in Pipedream, you can automate the process of gathering insights, monitoring market conditions, and integrating advanced risk analysis into your existing financial systems. With Pipedream's serverless platform, you can construct workflows to react in real-time to data from White Swan, send alerts, and even automate trades or adjustments based on risk thresholds or predictive signals.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
white_swan: {
type: "app",
app: "white_swan",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://app.whiteswan.io/api/1.1/wf/plan_requests`,
headers: {
Authorization: `Bearer ${this.white_swan.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});