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?