Deluge integration: About Functions

Deluge integration: About Functions

Functions are the building blocks of Deluge scripts that define the specific actions and behaviors of your Zoho Voice connections. They allow you to customize how your connected services interact with Zoho Voice. You can create your own functions or use pre-defined gallery functions designed to post the event logs to the connected services.


Click here to learn more about the functions offered by Zoho Deluge.

The following are parameters involved in function arguments, organized by module type:

Call module arguments

Arguments (as in the console)

Description

caller_number

Number of the call maker

destination_number

Number of the call receiver/attendee

contact_name

Name of the contact as in the account

call_rating

Rating for the call

call_duration_secs

Duration of the call (in seconds)

formatted_call_duration

Duration of the call in hh:mm:ss format

call_mode

Type of the call. Eg Outgoing call/Incoming call/Missed call

departments

Name of the department involved in the call

agents

Agent(s) involved in the call.
Contains both email ID and name of the agent(s).

call_queues

Call queues involved

call_initiate_time_millis

Time when the call is originally started. The call initiate time and the call answer time might vary, as the answer time to the ringing time differs. (in milliseconds)

call_disconnect_time_millis

Time when the call is disconnected (in milliseconds)

call_answer_time_millis

Time when the call is answered (in milliseconds)

call_hangup_cause

Status of the call disconnection
Possible values:

  • NORMAL_CLEARING

  • NO_ROUTE_DESTINATION

  • RECOVERY_ON_TIMER_EXPIRE

  • NETWORK_OUT_OF_ORDER

  • NORMAL_UNSPECIFIED

power_dialer_name

Name of the Power Dialer campaign

credits_used_call

Credits used during the call

unique_id

Unique ID generated for every call

call_recording_url

URL of the call recording

voicemail_url

URL of the voicemail




SMS module arguments

Arguments (as in the console)

Description

sender_number

Number of the SMS sender

destination_number

Number of the SMS receiver

contact_name

Name of the contact as in the account

agents

Agents involved in the SMS conversation

sms_type

Type of the SMS Eg. Incoming/Outgoing

sms_delivery_status

Status of the SMS delivery Eg. Successful

sms_sent_time_millis

Time when the SMS is sent (in milliseconds)

message_content

Content of the SMS

unique_id

Unique ID generated for every SMS

sms_total_character_count

Total character count used in the SMS

credits_used_sms

Credits used during the SMS




Key functions in Zoho Voice integrations

  • Call-related functions:

    • Initiate calls: Make outbound calls to specific numbers or phone lists.

    • Answer calls: Automatically answer incoming calls based on defined criteria.

    • Hang up calls: End active calls.

    • Transfer calls: Send calls to other agents or departments.

    • Hold calls: Place calls on hold until they're transferred to the relevant agent or department.

  • SMS-related functions:

    • Send SMS messages: Send text messages to specific phone numbers.  

    • Receive SMS messages: Handle incoming SMS messages and trigger actions based on their content.

  • Integration functions:

    • Connect to external services: Integrate with other applications or APIs (e.g., CRMs or messaging platforms).

    • Retrieve data: Fetch data from external systems.

    • Send data: Push data to external systems.

  • Utility functions:

    • Logging: Record information for debugging or analysis.

    • Error handling: Manage exceptions and errors that may occur during script execution.

    • Time and date manipulation: Work with time and date values.

    • String manipulation: Perform operations on text strings.

 

Creating and using functions

  • Custom functions: You can create your own functions using Deluge's scripting language.

  • Built-in functions: Deluge provides a library of pre-defined functions that can be used directly in your scripts.

  • Function parameters: Functions can take input parameters to customize their behavior.

  • Function return values: Functions return values that can be used in other parts of your script.


    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Deluge Integration: About Connections

                                                                                                                The Connections area allows you to link Zoho Voice with your desired services, both Zoho and non-Zoho. You can choose from pre-defined Default Services or create your own Custom Services. What is Zoho Deluge Connections? Zoho Deluge Connections ...
                                                                                                              • Deluge Integration: Create a Function

                                                                                                                Deluge's integration with Zoho Voice aims to expand the integration of telephony capabilities beyond Zoho applications to meet broader business needs. However, to define the functionality of the service connected with Voice, you need to configure ...
                                                                                                              • Deluge Integration: About Workflow Rule

                                                                                                                Workflow configuration in Zoho Voice supports extended integration with any legitimate services available with the assistance of Deluge, Zoho's online scripting language. Rules define the trigger type for a service connection and configure the call ...
                                                                                                              • Deluge Integration: Create a Workflow Rule

                                                                                                                Deluge integration with Zoho Voice is used to extend the integration scope of the telephony capabilities beyond Zoho applications catering to accommodate a wider business requirement. However, to be precise with the data set that is posted/called for ...
                                                                                                              • User Guide for Deluge Integration with Zoho Voice

                                                                                                                Integrations with Zoho Voice can be processed by native and telephony integration. Native integration posts Voice call logs to Zoho CRM, Bigin, Desk, Recruit, and ServiceDesk Plus. Telephony integration (via Phonebridge) is used to leverage Zoho ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources