Workflow Trigger
If I mass update a date/time field in the CRM and trigger a workflow based on that time, will updaterecord() trigger further workflows if I pass "trigger"{["workflow]} in the options map? filename = "" + fname + " " + lname + ""; rez = zoho.workdrive.createFolder(filename,"dtosffcc9acdc23d644558d260cbe1a37aca5","attach_workdrive"); data = rez.get("data"); conWD = data.get("id"); attributes = data.get("attributes"); conWDurl = attributes.get("download_url"); update = Map(); update.put("zohoworkdriveforcrm__Workdrive_Folder_ID",conWD);
Update to Search Records for New Sign-ups from September 15, 2020
Hi everyone! This post is to inform all the developers who work with functions (DRE) of an update to Search Records. We all know the Search Records API filters records based on certain criteria and gives the response. You can make the search records request from one of the following places: Functions (DRE calls) API calls When you search for records through a function (with a single criterion), your criterion can contain one of the comparators such as not_equal, greater_equal, greater_than, less_equal,
I catch ZohoOAuthException
Hi! I have a problem with my code: require 'vendor/autoload.php'; ZCRMRestClient::initialize(); try { $oAuthClient = ZohoOAuth::getClientInstance(); $grantToken = '1000.297767e7a02214c5e4432dcc1906f615.c1198106e59644b6539e110f684f4a27'; $oAuthTokens = $oAuthClient->generateAccessToken($grantToken); } catch (ZohoOAuthException $e) { echo $e; } result: Notice: Undefined offset: 1 in D:\phpProjects\zoho_form\vendor\zohocrm\php-sdk\src\com\zoho\oauth\client\ZohoOAuthClient.php on line 185 Warning:
Conditional Show/Hide Fields on Webform
Is there a way to make the display of fields on a Webform conditional upon the value of another field?
Enable Notification using ZOHO CRM Notification Api , is there any wrong thing i did?please Replay ASAP
Url https://www.zohoapis.com/crm/v2/actions/watch Header scope:ZohoCRM.notifications.ALL Authorization: Zoho-oauthtoken 1000.f5971d88a8a89d5ee73242850ebf5ac7.f601a579fdb39f9294363a9388543444 Content-Type:application/json sample Input { "watch": [ { "channel_id": "1003330068002", "events": [ "Leads.all", "Deals.all" ], "channel_expiry": "2019-06-06T16:30:00+05:30", "token": "T1000000068002",
Cannot update Contact Field values via API after renaming them
Hello. I think we have recently stumbled upon an issue/bug from your end. Our team is using the Upsert Records endpoint for Contacts in order to insert or update them. We are using a custom layout. After we rename an already created field (Single line) of the layout we will be unable to update the value of it for every contact through the API call. We can only update it if we use the Old name (the one we had set before renaming it, which does not make sense) For example if we created a field and
Extension pointers #10: Define and raise a signal to receive timely notifications in Zoho CRM
Customer relationship management is a significant factor involved in the success of a business. When interaction with customers at all touch points is properly targeted, customers are satisfied and business flourishes. This makes it a necessity to stay
Related List - linking Contacts to a new module's related list.
Hi all, and thank you for any help you can provide. I have created a new module. I would like to create a related list in that new module that links the contacts to into the new module's related list. (I need the new module to have the Contacts like the Account module currently does) Thank you for your help, it would be greatly appreciated.
Kaizen #45 - Handling Attachments API in Java and Java SDK (Part 2/2)
Hello everyone! Welcome back to yet another post in the Kaizen series. In our last post, we started our discussion about handling the attachments in Java and Java SDK where we discussed listing the attachments and uploading the attachments to a record in Zoho CRM. This week, we will discuss the other two operations in attachments API. 1. Download an attachment 2. Delete an attachment. 1. Download an Attachment To download a file attached to a record. Request method: GET Request URL: {{api-domain}}/crm/v2/{module_api_name}/{record_id}/Attachments/{attachment_id}
Kaizen #44 - Handling Attachments API in Java and Java SDK (Part 1/2)
Hello everyone! Welcome back to yet another post in the Kaizen series. This week, we will discuss about the attachments API in Java and Java SDK. 1. Introduction to Attachments API Attachments in Zoho CRM are an important aspect of any record as they
Sub-concurrency for Complex APIs
Hello everyone! We all know API calls are metered through credits. Concurrency and sub-concurrency limits are applied based on the CRM edition and the type of request, respectively. Earlier, we applied sub-concurrency to only a few APIs individually, as mentioned in an older post. However, to maintain optimal performance, avoid slowness, and maintain resource availability, we have now grouped the below as complex APIs, and set the sub-concurrency limit to 10 for this group. This sub-concurrency limit
Migration of Zoho CRM APIs and Functions to v2.0 - Updated!
Hello everyone, A year back, we released the CRM API Version 2.0 that provides a lot more than what we have in API v1.0. Along with that, we also announced the deprecation of API v1.0 and its sunset on December 31, 2019. Here is the link to the previous announcement. We would like to remind you to migrate to the latest version of CRM APIs as soon as possible, as the older version will not be available next year onwards. If your code still uses the version 1.0 of the APIs they will stop working from
Google signin's track in Zoho
Hello, In our website, the user will sign in using google API's and we want to record each user in Zoho CRM. will It be possible to directly record the user name and email as soon as they sign in into the website. [We were new to Zoho and want to use this CRM to store all leads] if this can be done we are happy. in case this not possible then if there are any alternatives, please share. that will be a great help.
CRM Webform Email Validation
Hello! I've been trying to use CRM Webforms to collect data about future leads on a landing page. However, I have stumbled upon a very big problem. The form does not actually validate that the e-mail that was filled in has a valid structure. I checked out the code for embedding the form into another website and found a possible typo in the validateEmail function and will post my solution here (though I'd rather it be fixed so I can embed the form into a Zoho Sites website without tinkering with the
How to fetch data from ZOHO CRM using C#
Hi Everyone, I am new in ZOHO CRM Development. Actually, i wanted to retrieve data from Account entity through C#. So i have developed windows application, now i need to connect ZOHO CRM and retrieve the Account entity data. Please let me know, what are the steps involved to Authenticate CRM through C# and retrieving Account Entity Data. If you have any sample code, please share. I am totally new in ZOHO CRM development. Thanks in Advance. John
SDK-PHP
Hola Tengo un codigo en php que se conecta a CRM para hacer unos insert, pero el problema es que el codigo tiene duracion de 10 minutos, hay forma de generar token que teng apersistencia, que no teng alimite de tiempo, adjunto codigo: function generate_refresh_token () { $ publicación = [ 'código' => '1000.xxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxx', 'redirect_uri' => 'http://example.com/callbackurl', 'client_id' => '1000.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'client_secret'
Authorization to api 2.0 via C#
Hello, I get my access token and look it like: 1000.5d4d69ddff7ad0a6c08e6189237c77a3.8w4e28634ae391ab75ghd9b81c444c5 But in guide this token is shorter: Authorization: Zoho-oauthtoken 8133e286d4ae391ab755dd9b81c444c5. So i need cut something from my? Oh how it use in my C# code: var request = (HttpWebRequest)WebRequest.Create("https://www.zohoapis.com/crm/v2/accounts"); request.Method = "GET"; request.Headers.Add("Authorization", "Zoho-oauthtoken " + access_token); //request.Headers[Authorization]
Updates to Functions and the Activities Module
Hi everyone! This post is to inform you of the following enhancements we have made to our Developer Space. 1. Functions a. Request object binding b. Update in argument mapping for CRM variables 2. Buttons a. Creating buttons in the Activities module's View page b. Accessing the users' location through buttons in mobiles 1.a. Request object binding We have introduced an object called Request in the argument mapping section of functions that are associated with buttons and custom
Getting previous Lead ID for New Contact
When a lead is converted to a new contact is there any way to get the original lead id the contact was created from? I have a webhook that is called when a new contact is created and I am trying to associate the contact with the lead from which it was created.
Kaizen#42 - Parameters in all GET Requests #API
Hello everyone! Welcome back to another post in the Kaizen series! Today, we will discuss all the parameters available in all GET requests. What is a parameter in a request URL? A parameter or param is a name/key-value pair that is included in the request URL and it forms the query string. Consider this example: https://www.myexample.com?id=123 Here, the request URL is https://www.myexample.com, while the parameter is id whose value is 123. You can also have multiple parameters separated by an ampersand
Zoho CRM REST V2 Api returns "AUTHENTICATION_FAILURE" with no details
Hi All, I am trying to log a call in Zoho crm using V2 Rest API's. I am able to exchange the refresh token and get a new access token, fetch the details of the call already saved within zoho crm etc. But whenever I send a POST request to https://www.zohoapis.com/crm/v2/Calls as explained in https://www.zoho.com/crm/help/api/v2/insert-records-examples.html#insert-calls I always get the following error. {"code":"AUTHENTICATION_FAILURE","details":{},"message":"Authentication failed","status":"error"}
API Token
Hi, Our web developer has asked if I can set up API access into Zoho CRM, so he can run GET requests against the contacts. I've found the help document here: https://www.zoho.com/crm/developer/docs/api/get-records.html Which gives me the API Get URL and the header, but I can't figure out how to create the API Authentication token. I've gone to https://api-console.zoho.com.au/ and logged in with a CRM account. I've set up (I believe) the API for access. My API Authentication configuration: - Server-based
how to match records of create record with the record id from the response?
I'd like to create several contacts at once and afterwards add some related list items. However, it seems there is not a streight way to match the input data to the id. Whats your suggestion?
Kaizen #15 - Java SDK for Self Client
Hello everyone! Welcome to yet another post in the Kaizen series. This week, we are going to discuss the Java SDK for a self client . What is a Software Development Kit (SDK)? A software development kit contains all the tools (compiler, debugger, code samples, and so on) that are needed to create applications in one package. SDKs are language-specific and thus used to build client applications in a specific programming language. Java Software Development Kit Java SDK allows you to create
Kaizen #41 - System-defined fields and their default values in the Inventory Modules #API
Hello everyone! Welcome back to another post in the Kaizen series! This week, we will discuss the system-defined fields and their default values in the inventory modules in Zoho CRM. To know what are system-defined fields in a module, and how to identify system-defined fields, refer to Kaizen #40 System-defined fields and their default values in Leads #API. The inventory modules in Zoho CRM include Quotes, Invoices, Sales Orders, and Purchase Orders. We will cover the following in this post: System-defined
Trying to generate access code and refresh token with self client in sanbox
here is my request what am I doing wrong? I can get it to work in production but not in the sandbox method: POST url: "https://sandbox.zohoapis.com/oauth/v2/token?code={code}&grant_type=authorization_code&client_id={client_id}&client_secret={secret}"
Associate task with Lead
Hello, I have to associate task with lead. Can anyone help me to associate the task with lead? I have checked the XMLdata for task. It has ContactId as parameter but could not find the LeadId there. Regards, Saurabh
Kaizen #40 - System-defined fields and their default values in Leads #API
Hello everyone! Welcome back to another post in the Kaizen series! This week, we will discuss the system-defined fields and their default values in the Leads module in Zoho CRM. We will cover the following in this post: System-defined non-mandatory fields and their default values System-defined mandatory fields What are the system-defined fields in a module? The fields that are available by default in a module, are system-defined fields. You can choose to set values to these fields, or the system
C# SDK CRM API - 401 - Empty Response
Hi, Just exploring the Zoho CRM API possibilities using the C# SDK and running into an issue that I could do with some help on. I can successfully authenticate and generate an access token and the authorization header is added to the request correctly, I am currently using the scope below for my grant token: aaaserver.profile.READ,ZohoCRM.modules.ALL,ZohoCRM.users.ALL,ZohoCRM.settings.ALL,ZohoCRM.org.ALL,ZohoCRM.bulk.ALL public void GetOrganizationDetails() { try {
Extension Pointers #8: Handling real-time data updates between Zoho CRM and third-party applications using webhooks
A webhook is a web callback triggered by a specific event to provide real-time data updates between applications. How does a webhook work? Webhooks help enhance the connection between two applications. When an event occurs in a web application that implements
How to add a related list item via rest api for custom module
Hi there, How can I add a related list time for a custom module? Lets say I have a custom module called Events and I want to link my contacts to an Event via API. How is this possible?
HOWTO: empty the recycle bin via API?
how can we programatically empty the recycle bin via an API call? ( note: originally asked here, but never got a response: http://help.zoho.com/portal/en/community/#Topic/2266000000513889 ) cheers, -e
How to paginate results using the PHP SDK
Hi! We have noticed, that the API does not deliver more than 200 contacts at a time. Now we need to get the results paginated so we circumvent this limitation (we don't want to switch to the Bulk API if possible). Basically we want to process chunks of contacts so we do not exceed the memory limit of our system. Is it possible to get the paginated results with the PHP SKD? This is the relevant portion of our code: $zcrmModuleIns = ZCRMModule::getInstance('Contacts'); $bulkAPIResponse
invalid_client error - oauth2
I am trying to use the oauth2 authentication and I am retrieving a code from the oauth/v2/auth GET request as expected but I am getting an error on the POST - here is a redacted version of my http debugging output (the XXXX represent valid client_ids and client_secrets respectively). POST /oauth/v2/token?code=1000.d90ca8951a72fd0ebd7b2729dd280355.0c2fd305edfa6ad1600fdb787cbff8bb&grant_type=authorization_code&client_id=XXXX&client_secret=XXXX&redirect_uri=http://127.0.0.1:8080/callback&scope=Desk.tickets.READ,Desk.basic.READ&state=1523436222480536829
Deprecation of old OAuth tokens for sandbox environment APIs
Hello Everyone, As you all know, we have made a detailed public announcement on the updates in the OAuth flow. As a continuation of that, and to take a significant step in ensuring that our customers should be using environment-specific OAuth tokens, we are deprecating the old OAuth tokens for organizations accessing the sandbox environment. The change will be effective from August 1, 2020. Who will be affected? The organizations that are still using old OAuth tokens to access their organizations
Kaizen #38 - Calls #API
Hello everyone! Welcome back to another post in the Kaizen series! This week, we will discuss adding, updating, and deleting Calls via an API. What are Calls in Zoho CRM? The Log a Call functionality helps you to register the inbound calls (received from leads and customers) and outbound calls (dialed to leads and customers) with call details such as call duration, date and time of calls, notes, etc. Users who frequently make calls or receive calls in an organization can use this functionality in
Zoho API C# Sample Code
Is there any C# Sample Code to working on Zoho Remote API for lead Generation insert/update/delete. Regards Shyam
Info : null error after mapping to the owner
There is an error only after entering the owner name while updating/adding any record. If so, can someone kindly supply a script to accomplish this? And explain how to execute said script in Zoho CRM.I understand this may be asking a lot of the free community, but there are no custom variables involved here so I would imagine a "one script fits all" would apply. Thank you.
Adding Notes via API
Hi, I have a script that can add leads and the related notes from some other system to ZOHO CRM and everything is fine. The only problem I am facing is that the date of note in the ZOHO CRM is the current date (the date on which I ran the script to populate). However I want this to be the original notes date as I have it in the original source. Please guide / help how I can put manual date for Note.
Cannot generate API crendetials
Hello all, Unfortunately I cannot create the required scopes as part of the API credentials generation. Checking the console, there is a JSON position error in the console when I add the additional scope "module.accounts". Is this a bug? Or is my input incorrect? Many thanks. All the best, Sev
Next Page