The Zoho Analytics API lets you harness the power of your data by automating complex analytics tasks. With this API, you can create, access, and manage reports, dashboards, and KPI widgets programmatically. Integrate with Pipedream's serverless platform to trigger actions based on events, sync data across apps, and automate workflows without managing servers. Whether it's updating datasets in real-time or sending reports to your team, the possibilities stretch as wide as your data does.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_analytics: {
type: "app",
app: "zoho_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.zoho_analytics.$auth.base_api_uri}/restapi/v2/orgs`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_analytics.$auth.oauth_access_token}`,
"ZANALYTICS-ORGID": `${this.zoho_analytics.$auth.organization_id}`,
},
})
},
})
Sync New Leads to Zoho Analytics: Whenever a new lead is added to your CRM, like Salesforce, use Pipedream to automatically push this data into Zoho Analytics. This keeps your datasets fresh and your insights accurate.
Automate Weekly Sales Reports: Schedule a weekly event in Pipedream to fetch sales data from Zoho Analytics, format it, and send a well-crafted report via Gmail or Slack to keep your team informed.
Track Social Media Campaign Performance: Connect your social media platforms, like Facebook Ads, to Zoho Analytics through Pipedream. Analyze campaign data and automatically adjust bids or budgets based on performance metrics.
Issues Connecting My Account: IP Allowlist
If your Zoho security policy includes an IP Allowlist, update it to connect your account:
44.223.89.56
- 44.223.89.63
.After connecting your account, make sure to run the workflow within a VPC.
Zoho Analytics uses OAuth authentication. When you connect your Zoho Analytics account, Pipedream will open a popup window where you can sign into Zoho Analytics and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoho Analytics API.
Pipedream requests the following authorization scopes when you connect your account:
ZohoAnalytics.data.create
ZohoAnalytics.data.delete
ZohoAnalytics.data.read
ZohoAnalytics.data.update
ZohoAnalytics.metadata.read
ZohoAnalytics.usermanagement.read
ZohoAnalytics.modeling.create
GET
https://accounts.zoho.com/oauth/v2/auth
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
prompt=consent
&
access_type=offline
POST
{{custom_fields.accounts_server}}/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
{{custom_fields.accounts_server}}/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}
&
redirect_uri={{oauth.redirect_uri}}