Can I trigger an email after inserting a lead through API?

Can I trigger an email after inserting a lead through API?

Yes, you can do this by creating a workflow to send automated emails when leads come into CRM. When you call the API to insert Leads, please append the parameter "wfTrigger" with the value as "true".  Read more about inserting record parameters.
This will trigger the workflow after the record is inserted, which will in turn send the email.
    • Related Articles

    • How to assign a new lead to an owner while inserting the lead via API?

      While inserting a lead via API, make sure you are specifying the email address of the lead owner. If you use the lead owner's name or user ID, the lead will be assigned to the default login credential used in ticket generation.
    • Trigger Function

      Zoho Survey is integrated with Deluge, our online scripting language, which can help you add functions to automatically perform actions when responses are submitted. Use Deluge and APIs to create connections and push data to third-party services or ...
    • Manual Workflow Trigger

      A Manual Workflow Trigger can be triggered by a user while creating or editing a record that can be configured through a Workflow Rule. Enabling this will only execute the workflow for a manual action, not automatically. It's always a good idea to ...
    • Manual Workflow Trigger

      Manual Workflow Trigger is an option that can be triggered by a user while creating or editing a record. This can be configured through a Workflow Rule. Enabling this will execute the workflow only on a manual action and not automatically. It's ...
    • Viewing API settings

      API provides access to different operations of campaign and list management. One of the most useful features is removing the need to log in every single time. Resellers can use Zoho MarketingHub's API to integrate our functionalities in their ...