with Polygon and Zoho Campaigns?
Emit new events when a news article related to the stock market is published.
Emit new event when the daily price summary (open, high, low, close) for a specified stock ticker is available.
Emit new event when a trade occurs for a specified stock ticker.
Retrieves financial details for a specific company by stock ticker. See the documentation
You can use this API to add contacts to your mailing lists. See the documentation
Fetches historical price data for a specified stock ticker within a date range. See the documentation
You can create a campaign using this API. Using this API, you can set the campaign name, subject line, sender address; choose the intended mailing list.. See the documentation
Get the open, close and afterhours prices of a stock symbol on a certain date. See the documentation
The Polygon API grants access to a wealth of financial data, including real-time and historical stock prices, trade data, and more. Within Pipedream's serverless integration platform, you can tap into Polygon to create powerful workflows. With Pipedream, you can easily connect Polygon to hundreds of other apps, automate financial data processing, send stock alerts, or synchronize market data with databases or spreadsheets, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
polygon: {
type: "app",
app: "polygon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2020-06-01/2020-06-17`,
params: {
apiKey: `${this.polygon.$auth.api_key}`,
},
})
},
})
The Zoho Campaigns API opens up a world of possibilities for email marketing automation within Pipedream, allowing you to manage contacts, campaigns, and reports programmatically. You can connect Zoho Campaigns with other apps to create workflows that automate various tasks, such as synchronizing subscriber lists, triggering campaigns based on specific actions or events, and analyzing campaign performance with custom metrics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_campaigns: {
type: "app",
app: "zoho_campaigns",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://campaigns.${this.zoho_campaigns.$auth.base_api_url}/api/v1.1/getmailinglists?resfmt=JSON`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_campaigns.$auth.oauth_access_token}`,
},
})
},
})