error. undefined in Send Email Rest API on Zoho CRM
Hi,
I've got a problem with sending an Email to new Leads that are added to the CRM. After creating connection in Make, I had an issue with the permission scope, but fixed this with manually adding scopes to second connection. But now, after trying to trigger the send email API endpoint, I get error. undefined.
In the previous step I'm creating a new Lead with native module, so I've got the Lead ID and after that, I'm creating a JSON with "Parse JSON" module that is added to "Make an API call" module.
Created JSON looks like this:
{"data":[{"cc":[],"to":[{"email":"email@example.pl","user_name":"Jakub Dem"}],"bcc":[],"from":{"email":"userauthorized@zoho.com","user_name":"Michał Nowak"},"content":"<p>Witaj Jakub,</p>\n<p>Cieszymy się, że możemy się z Tobą skontakować.</p>\n<p>Z wyrazami szacunku,<br>Michał Nowak</p>","subject":"Dobrze Cię widzieć","reply_to":{"email":null,"user_name":null},"template":{"id":null},"org_email":true,"attachments":[],"in_reply_to":{"owner":{"id":null},"message_id":null},"mail_format":"html","scheduled_time":null}]}
Here is the module in Make:
Can somebody help me with this issue?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.