Sign In
or
Sign Up
Home
How it works
Applications
Home
How it works
Applications
Sign in
Sign up
Send
SendGrid
email for new Zoho invoices
Copy Integration
JavaScript
Copy Integration Recipe
Step 1.
Enter your ZOHO INVOICE API credentials
About Zoho Invoice Credentials:
Log into your Zoho Invoice account
Click the gear icon (top-right) then select
Organization Profile
Your
organization_id
is placed in the form title
Your
authtoken
can be generated through
this link
For more information on authtoken
visit this page
More about
Zoho Invoice Integrations
Step 2.
Enter your SENDGRID API credentials
About SendGrid Credentials:
Log into your SendGrid account
Go to
Settings >
API Keys
Click the Create API Key button and save it with full access
You can then copy your API Key
More about
SendGrid Integrations
Copy Integration
Copy Integration Programmatically
//install package
npm i apigum-sdk
//usage const {Integration, Apps, AppHelper} = require('apigum-sdk'); const zoho_invoiceCredentials = {}; const sendgridCredentials {}; //set up credentials zoho_invoiceCredentials[Apps.Zoho_Invoice.Keys.Authtoken] = "<< your zoho invoice authtoken >>"; zoho_invoiceCredentials[Apps.Zoho_Invoice.Keys.Organization_Id] = "<< your zoho invoice organization_id >>"; //set up credentials sendgridCredentials[Apps.SendGrid.Keys.Apikey] = "<< your sendgrid apikey >>"; sendgridCredentials[Apps.SendGrid.Keys.Sender_Name] = "<< your sendgrid sender-name >>"; sendgridCredentials[Apps.SendGrid.Keys.Sender_Email] = "<< your sendgrid sender-email >>"; sendgridCredentials[Apps.SendGrid.Keys.Recipient_Email] = "<< your sendgrid recipient-email >>"; //obtain api key at https://account.apigum.com/api const apiKey = "<< Your API key >>"; const integration = new Integration(apiKey); //create integration const zoho_invoice = AppHelper.configure(Apps.Zoho_Invoice.AppId, this.zoho_invoiceCredentials); const sendgrid = AppHelper.configure(Apps.SendGrid.AppId, this.sendgridCredentials); integration.create(zoho_invoice, sendgrid, Apps.Zoho_Invoice.Integrations.SEND_SENDGRID_EMAIL_FOR_NEW_ZOHO_INVOICES) .then(id => { // returns id of created integration }) .catch(err => console.log(err))