Deluge in Zoho services #5: Zoho Connect

Deluge in Zoho services #5: Zoho Connect

Hello everyone,

Greetings from Deluge! Whoosh 🌬️ That's how quickly the first two months of 2023 came to an end, and now we're in full speed ahead! We hope you found the previous post in this series useful and are now back with our latest post.

Basically, ‌Zoho Connect is a team collaboration application that allows you to keep your workplace communication organized by building a thriving workplace culture for internal communications, employee engagement, and cross-team collaboration. As you all know, Deluge, our very own scripting language enables users to add logic to their applications/services, thereby making them more powerful and robust. Let us now explore the ways in which you can use Deluge to achieve more with Zoho Connect and stay powerfully connected!

In addition to supporting connections that enable you to log in to any Zoho or third-party service and access your data stored in those services, Zoho Connect supports Deluge in the following seven areas:

1. Incoming webhooks

In general, webhooks are used to trigger an action in one application using real-time events from an external service. Here, webhooks allow you to integrate Zoho Connect with other external services. They are of two types - Incoming webhooks and Outgoing webhooks (explained in the next heading).

Incoming webhooks are used to trigger an action inside Zoho Connect using real-time events from other Zoho products or third-party services. You can use incoming webhooks to post messages in Zoho Connect so that you can stay updated on activities in other applications without leaving Connect.Using Deluge, you can write custom logic that will be triggered upon an event in another application. For example, you can post messages in the Job Openings Connect group using these webhooks whenever a new opening is added to your portal. 

Note: Incoming Webhooks are available only at the Group level inside your Connect account.

Example

Let's assume that you had conducted a live workshop for your organization. Now, you've built a Feedback Form using Zoho Forms and emailed the form to your attendees. When an attendee fills in their details in the form and clicks submit, an incoming webhook will be triggered and the attendee's feedback will be added as a post inside the Feedback Group in Zoho Connect. Additionally, you can also present the feedback post in a presentable manner by using the advanced formatting options available for incoming webhooks.

See how it works



Note: Refer to the help page to learn how to achieve this automation.

2. Workflows

Workflows allow you to create a set of rules for Zoho Connect modules such as ProfileFeedEventsTasksPolls, and Announcements, based on which the defined actions would be performed in a repetitive manner. These workflow rules can automate the specified actions like assigning tasks, creating events, and so on, whenever a rule is triggered. You (admin) can associate Deluge functions with the configured workflows and specify where (Network/Group) and in which instances that rule should be triggered. You can also set one or more conditions based on which the specified actions will be executed.

Example

Currently, in Connect, we can enable the Moderation option to allow group admins (moderators) to approve all posts and comments made in the group before they are made visible to everyone. To automate this process, we can use the Deluge AI tasks - analyze sentiment and keyword extraction that check the Connect posts for sentiments and extract the keywords that deem it unsuitable to be shared with a wider audience. For example, you have created a Zylker Writers Club group in Connect that allows its members to post their write-ups on a monthly basis. A workflow can be configured to check the live posts for their content. You can write a custom function for the workflow using Deluge to send a mail to the group admin asking them to review the posted content if the posts contain sensitive/hurtful content. Additionally, you can also configure the same function to create a task to be assigned to yourself (admin) with priority set as "high" and status as "to be reviewed". If the posts do not contain any sensitive content, an email can be sent to the group admin notifying them that posts have been made live in their group.

See how it works



Note: Refer to the help page to learn how to achieve this automation.

Custom Menu

Custom menus in Zoho Connect let you add customized menus to entities such as group conversations, tasks, and events, in addition to the default menus—FollowPrintBookmark, and Copy post URL that are already available. These custom menus can be configured to perform the required actions and solve requirement-specific use cases. You can write a Deluge custom function and define how the menu should work. These custom menus can then be shared with a set of users or groups.

Example

Let's assume you've created a Connect group named Zylker Feedback where you've configured the feedback collected from forms to be posted in this group. Now, let's assume you want to create a support ticket in Zoho Desk for the Connect feedbacks that are actionable. You can configure a custom menu named Create support ticket by defining a Deluge custom function for each of the required handlers and publishing the custom menu. When you access the respective group, you can click the ellipsis (three-dots) icon beside a post and the custom menu will be listed under the More option. You can click the menu, enter the required details and the ticket will be created successfully in Desk. This way, you can automate the process of ticket creation and ensure a quicker response to your customers.

See how it works



Note: Refer to the help page to learn how to achieve this automation.

4. Outgoing webhooks

An outgoing webhook enables you to trigger real-time updates from Zoho Connect to other Zoho products or third-party services. For example, you can send the details of posts or events in Connect to external services using these webhooks. This data transfer takes place via an authenticated API URL (webhook URL). You can also choose the required action to be performed when the trigger activity occurs i.e., either push information to a URL or perform an action defined in the Deluge custom function. For example, you can define a custom function to notify users in Zoho Cliq when an event is created or sync your data in Connect with third-party services like Trello.

5. Function APIs

While integrating two services using APIs, the structure of requests from one service must match the requirements of the other service. For example, to integrate Zoho Connect with SmartTask or any other task management application, the request and response structure of the Zoho Connect Create Task API must be followed.

However, the request and response structure of one service might not always meet the requirements of the other service. Function APIs include handlers that let you format the request and response structure of an API to match the requirements of a specific service. You can write a Deluge custom function to define how the request needs to be handled or customized by these handlers. Depending on the type of request made, the relevant handler will be triggered.

6. Scheduler

Schedulers in Zoho Connect enable you to automate your routine tasks without any user input. You can configure your schedulers to repeat at certain intervals — such as everyday, weekly or every month and thereby save manual time and labor.

7. User sync

Most organizations use enterprise directory systems (such as Active Directory or LDAP) to maintain employee information. For larger organizations, it can be difficult to manually add and manage users in the network. Zoho Connect's User Sync option simplifies these processes by enabling you to add, update, and disable user profiles in bulk using a .CSV file.

Handlers in User Sync enable you to perform customized actions on the input data. You can define the necessary action by writing a Deluge custom function in these handlers.

Currently, the User Sync option has two handlers: Function Handler and Post-Function Handler.
  • Function Handler: Define the action to be executed before syncing the user details with the Zoho Connect network. Ideally, this handler is triggered once a CSV file is uploaded. You can use this handler to make changes to the data in the CSV file. For example, you can write a function to change the email domain based on the location or reorder the first name and last name to align with local usage.
  • Post-Function Handler: Define the action to be executed after syncing the user details with the Zoho Connect network. You can use this handler to notify the admin that the user details are synced or send a welcome email to the newly added members.
You can refer to this help page to view more examples and sample scripts.
That’s it for now! We hope you found this post useful—we'll be exploring Deluge in Zoho Bug Tracker in our next post. Please let us know if you have any questions, feedback, or suggestions in the comments, or write to us at support@zohodeluge.com.

You can also check out our preview posts in this series.
Thank you!

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    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

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now