Create spreadsheets your teams can easily collaborate on for free. Powered with an automated data processor, an AI-assisted data analyst, and 1000+ integration possibilities, Zoho Sheet makes data handling easier and more effective.
Go to siteThe Zoho Sheet API allows you to manipulate spreadsheet data programmatically. Imagine harnessing this functionality within Pipedream's ecosystem, where you can automate data flows, sync information across platforms, and generate reports with ease. With Pipedream, you can trigger workflows using events from numerous apps, fetch or push data to Zoho Sheet, analyze or transform this data, and even automate notifications based on the results.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_sheet: {
type: "app",
app: "zoho_sheet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sheet.${this.zoho_sheet.$auth.base_api_uri}/api/v2/workbooks`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_sheet.$auth.oauth_access_token}`,
},
params: {
method: `workbook.list`,
},
})
},
})
Automated Invoice Generation: Trigger a workflow when a new sale is logged in your CRM (like Salesforce). The Zoho Sheet API adds sale details to a spreadsheet, calculates totals, and generates an invoice. Then, use an email service like SendGrid to send the invoice to the customer.
Marketing Campaign Tracking: When a new campaign is launched, a workflow is triggered to create a new sheet for tracking. As campaign data flows in from platforms like Google Analytics or Facebook Ads, it's logged in the sheet. Use Pipedream to process this data and update the sheet with key performance metrics.
Inventory Management: Set up a workflow that triggers on a schedule (e.g., daily). The workflow fetches inventory data from an e-commerce platform like Shopify, updates the Zoho Sheet with current stock levels, and applies conditional formatting to highlight items with low stock. Additionally, it could create purchase orders for items below threshold levels.
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 Sheet uses OAuth authentication. When you connect your Zoho Sheet account, Pipedream will open a popup window where you can sign into Zoho Sheet 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 Sheet API.
Pipedream requests the following authorization scopes when you connect your account:
ZohoSheet.dataAPI.UPDATE
ZohoSheet.dataAPI.READ
GET
https://accounts.{{custom_fields.base_api_uri}}/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
https://accounts.{{custom_fields.base_api_uri}}/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
https://accounts.{{custom_fields.base_api_uri}}/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}}