Tip #4 : Refer and Earn Workflow system for your Subscription Business

Tip #4 : Refer and Earn Workflow system for your Subscription Business

Hello everyone,

We've been coming up with a tip every week to address specific business scenarios which can be implemented for your business. In continuation to the previous post, this week we will be seeing about
how you can implement the Refer and Earn Workflow system to acquire more customers.

Why are Referrals important?


Customer Acquisition is crucial for any business to sustain itself in a constantly evolving

market. It involves persuading new consumers to purchase your products. Customers tend to buy products that are considered to be reliable and trustworthy. Therefore, it can be quite difficult to bring in new customers without proper marketing strategies.
 
Word-of-mouth referral campaigns is a proven strategy to help you acquire lots of customers effectively in a short period of time. 

What is a word-of-mouth referral campaign?

If a customer is satisfied with your product, he will become a regular subscriber to your product. He will eventually spread the word around. This is a free marketing strategy for your product. Once people start hearing positive feedback about your products, they will prefer your brand to your competitors. 

To make this strategy more effective, you can simply provide a referral incentive for your customers who are bringing in new customers through referrals. This will motivate them to spread the word and it will also help in customer retention.

A referral incentive can be anything from a discount (or) amount which you can credit to your customers who are bringing in new customers. Let us now see how we can implement a Refer and Earn workflow system in  Zoho Subscriptions.

Building a Refer and Earn Workflow system:


For this particular scenario, we will be raising a Credit Note (for fixed incentive amount) for a referrer who has referred a new customer. The Credit Note can be later applied during the next billing cycle of the customer. Let us look into a simple scenario to understand this better.


Assume that John is a long term subscriber for your product and he in turn is referring his friend Mark to your product. Here,

John -> Referrer
Mark -> Referred Customer

When Mark subscribes to your product, he will mention that John is the one who has referred Mark. Since John has made a successful referral, you will raise a credit note for John for a fixed incentive amount.

As you can see, the most primary requirement for this workflow is to identify the referrer. In this case, to identify the referrer, we will show a Custom Field of type Email Address in the Hosted Page, where the subscriber can mention his referrer's email address. Later when a new subscription is created, we will be using our Custom Function Workflow to raise a credit note for that referrer. 

The below explained custom function does the same.

Code Explanation:



You can refer to the code in this GitHub link. The code is written in Deluge Script which can be easily understood by non-programmers.

1) Paste your authtoken, Custom Field's label and incentive amount in their corresponding variables.

2) Once a new subscription is created, we can check if a referrer Email id is present. If it is present, we use that Email ID to get the customer (Referrer) details from our database.

3) Once the Referrer is identified, a credit note will be raised for the mentioned incentive amount.

 

4) In case, if the email address is not present in our database, the admin of the organization will be intimated with an Email regarding this.


Getting started with the Custom Functions:  

1. Go to Settings -> Automation -> Custom Functions. 


2. Create a new Custom Function. Provide a name for the function. 


3. Choose the module and event according to your need.


4. Copy the code which was given above. Do the necessary changes that are required.


5. Save the Custom Function and you are good to go.

Found this useful? Try it out and let us know how it works! If you have questions, do not hesitate to ask!


Cheers,

Sasidaran K,
Zoho Subscriptions.

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • Sticky Posts

                                                          • Tip #4 : Refer and Earn Workflow system for your Subscription Business

                                                            Hello everyone, We've been coming up with a tip every week to address specific business scenarios which can be implemented for your business. In continuation to the previous post, this week we will be seeing about how you can implement the Refer and Earn Workflow system to acquire more customers. Why are Referrals important? Customer Acquisition is crucial for any business to sustain itself in a constantly evolving market. It involves persuading new consumers to purchase your products. Customers
                                                          • Tip #2 - Cancellation of Offline Subscriptions based on the Expected Payment Date

                                                            Hello everyone, As you all know, we are coming up with a custom function workflow every week to address specific business scenarios. In continuation of this previous blog, this week we will be seeing about Cancellation of Offline Subscriptions based on the Expected Payment Date. Business Scenario: In general, for any business, the customers make payments via online as well as offline. In case of subscription where the automatic collection of charge is enabled (aka online subscription), the customer's
                                                          • Tip #3 : Send SMS Reminders for your Subscription Business

                                                            Hello everyone, As you all know, we are coming up with a tip every week to address specific business scenarios. In continuation to the previous blog, this week we will be seeing how you can use SMS reminders for your Subscription Business. Using SMS messages for your Subscription Business: While managing your subscription business, more often than not, you need to keep your customers informed about upcoming renewals, payment reminders and cancellations. By keeping them informed in advance, you can
                                                          • Tips And Tricks - Announcement

                                                            Hello everyone, Every business is unique and each of them follows a specific workflow. While managing your customers' subscriptions with Zoho, you might have some needs unique to your business. Custom Functions helps you address such needs. This is a start to a series of posts, where we will be coming up with a custom function workflow every week that addresses specific business scenarios. Watch this space for further updates! Also, if you have any specific business scenario which needs to be addressed,
                                                          • Tip #6 : Accessing external URLs from Zoho Subscriptions

                                                            Hello everyone, We have been sharing a tip every week to address specific business scenarios which you can implement for your subscription business. Last week, we shared a tip about implementing the Approval Workflow system. This week, let's look at how you can access external URLs with the help of Custom Link. Business Scenario: Every business functions differently and has its unique requirements. At times, businesses might want to access other websites or applications by appending specific information


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator 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


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方







                                                                                                            • Recent Topics

                                                                                                            • No horizontal scroll bar in reports

                                                                                                              Hi support team, I created a pivot table report which contains many columns (in my application about 15). The problem is that there is no bottom scroll bar to display colums that does not fit within the browser page. I saw that it was possible to resize colums, but colums sizes are not saved within the session. So could you add scroll bar, and eventually make colums sizes stored in the user session ? Best regards,
                                                                                                            • Zoho Map integration tasks have changed - you need to "Locate all instances of Zoho Map integration tasks in your Deluge scripts by searching for the v1 marker... before 16 January 2026"

                                                                                                              Details of an issue specific to Zoho CRM + Deluge Functions (originally posted in this forum) can be found here: https://help.zoho.com/portal/en/community/topic/zoho-map-integration-tasks-have-changed-you-need-to-locate-all-instances-of-zoho-map-integration-tasks-in-your-deluge-scripts-by-searching-for-the-v1-marker
                                                                                                            • filter broke my data

                                                                                                              I uploaded a file recently from Sheets and it has top 2 rows frozen, with table headers in second row and each one is filterable. somehow my first 2 columns became unfiltered and no matter what I do I cannot reapply the filter?? also didn't realize they
                                                                                                            • Request to remove domain "greentechcoatings.vn" from previous Zoho account

                                                                                                              Hello Zoho Support, I would like to register the domain "greentechcoatings.vn" in my new Zoho Mail account, but I receive the message "This domain is already associated with another account". Please remove the domain from any previous/unknown account
                                                                                                            • Trigger actions in third-party apps using Zoho Flow

                                                                                                              Greetings, I hope you're all doing well. We're excited to share an enhancement to Bigin's workflow capabilities. Zoho Flow Actions are now available in Bigin, enabling you to automate tasks across third-party applications directly from your workflow and
                                                                                                            • Enroll, Script, Win: Hackathon 2025!

                                                                                                              Hello CRM Developers! Are you ready to create some magic with Client Script, Widgets and Functions in Zoho CRM? Let’s make Hackathon 2025 an unforgettable adventure! The Zoho Developer Community Hackathon 2025 is here, and it’s your time to shine! REGISTER
                                                                                                            • Zoho Help Desk - Not receiving emails

                                                                                                              Hello… I am on your trial version of help desk… and I am having trouble getting emails from Zoho Help Desk to my MS Outlook Exchange Server… So when a customer sends ticket request I am not getting an email with a notification? I have read your articles
                                                                                                            • Export History timeline

                                                                                                              Hi, I have an idea, bout zoho desk history of the ticket it would be great if the agent or admin of the zoho desk can export the timeline of the ticket history for agent report or on other matter.
                                                                                                            • Almost all Flows are being queued

                                                                                                              A few days ago I saw one of my Flows status was Queued. This was the first time this had ever happened. Now, almost every Flow that triggers is Queued for at least a few minutes. If I re-trigger the Flow (which causes separate problems) they sometimes
                                                                                                            • How Do I Refund a Customer Directly to Their Credit Card?

                                                                                                              Hi, I use books to auto-charge my customers credit card. But when I create a credit note there doesn't seem to be a way to directly refund the amount back to their credit card. Is the only way to refund a credit note by doing it "offline" - or manually-
                                                                                                            • Employment Contract / HRMS Documents - Zoho People

                                                                                                              How do I create customized HR documents for disbursal from Zoho People ? Example, say offer letters ? appointment letters ? Memos ? We want to be able to preset these in one or ther other form and issue them to employees who are in Zoho People.
                                                                                                            • Send Zoho Forms Link using Zoho CRM Email Templates

                                                                                                              I have set up Zoho Forms and CRM integration to pre-populate data from Zoho CRM to Zoho Forms. The setup is working fine. I have also created an email template in the Zoho CRM deals module to send Zoho forms links. So when I send an email using that template
                                                                                                            • Live webinar: Craft and deliver impactful slides with Show’s desktop apps

                                                                                                              If you love the comfort of working on your desktop and want a setup that keeps you focused and uninterrupted, this session is made for you. We’re excited to invite you to our upcoming live webinar: "Craft and deliver impactful slides with Show's desktop
                                                                                                            • Enhancements to Bigin's forms

                                                                                                              Greetings, I hope all of you are doing well. We're happy to announce a few recent enhancements we've made to Bigin's forms. We'll go over each one in detail. Merge field support in auto-filled forms The auto-fill option in Bigin's forms lets you predefine
                                                                                                            • Table dimensions

                                                                                                              I try changing the dimensions of the table on my computer but it doesn't change. Do I have to be a premium member or does it only work on the app?
                                                                                                            • Direct link to Record Summary

                                                                                                              Hi everyone, In one of my reports, I have built a Record Summary template to display the details of one record. I would like to be able to link directly to this Record Summary once I submit a new record, without having to go to the list of records first and click on View. Is there a possibility to do so ?  Should I use the URL by passing some parameters ? Thank you very much for your help ! Guillaume
                                                                                                            • Desk fails to create a new ticket on Reply email

                                                                                                              When I send a direct email to support@mysite.com, Desk will create a new ticket as expected. When I REPLY to an email sent from support@mysite.com, Desk will NOT generate a new ticket. This is very bad. How can I fix this? Use case: In a separate system
                                                                                                            • Amendment effective date

                                                                                                              Hi everyone, I noticed that the amendment effective date mentionned in my amendment is not right. Indeed, when a contract is amended several times, it states the previous amendment and their effective date. However, the effective date stated is always
                                                                                                            • STOCK history in zohosheets

                                                                                                              is it possible to get historical stock value using stock function in zoho sheets? i could not see from and to period in the helper document.
                                                                                                            • Auto sync Photo storage

                                                                                                              Hello I am new to Zoho Workdrive and was wondering if the is a way of automatically syncing photos on my Android phone to my workdrive as want to move away from Google? Thanks
                                                                                                            • Can't add a sender adress from zoho campaigns

                                                                                                              hi, I need to change the sender address for a campaign.  When i try to add it i get a message to say 'duplicated email address found while adding your sender address'.  This is the first campaign i'm sending so I don't understand why this message is displayed? Thanks Jane 
                                                                                                            • Condition based aggregate fields in subforms

                                                                                                              Hello everyone, We're excited to inform you about the latest enhancements made to our aggregate field capabilities in subforms; create aggregate fields based on conditions! An aggregate field is a column on which a mathematical function has been applied.
                                                                                                            • Zoho Desk Training

                                                                                                              Hello, We've had Zoho desk for a while now, but we run into issues occasionally, and I was wondering if there was a customer who currently uses it and really enjoys the functionality, that would be wiling to chat with us?
                                                                                                            • Introducing parent-child ticketing in Zoho Desk [Early access]

                                                                                                              Hello Zoho Desk users! We have introduced the parent-child ticketing system to help customer service teams ensure efficient resolution of issues involving multiple, related tickets. You can now combine repetitive and interconnected tickets into parent-child
                                                                                                            • Text/SMS With Zoho Desk

                                                                                                              Hi Guys- Considering using SMS to get faster responses from customers that we are helping.  Have a bunch of questions; 1) Which provider is better ClickaTell or Screen Magic.  Screen Magic seems easier to setup, but appears to be 2x as expensive for United States.  I cannot find the sender id for Clickatell to even complete the configuration. 2) Can customer's reply to text messages?  If so are responses linked back to the zoho ticket?  If not, how are you handling this, a simple "DO NOT REPLY" as
                                                                                                            • Agent password reset

                                                                                                              Hi Zoho support, I would like to ask if there is a way the admin can reset a password of an agent? Regards
                                                                                                            • Can receive but not send messages in Zoho Mail

                                                                                                              Hello! I was able to configure my email client successfully in that I can receive messages just fine. However, when I send messages out, they seem to go out fine (I don't receive any errors or anything), but the recipient does NOT receive those messages.
                                                                                                            • Why is Zoho Meeting quality so poor?

                                                                                                              I've just moved from Office 365 to Zoho Workplace and have been generally really positive about the new platform -- nicely integrated, nice GUI, good and easy-to-understand control and customisation, and at a reasonable price. However, what is going on
                                                                                                            • Mail is sent twice!

                                                                                                              Been using Zoho for a while now. Installed Zoho for someone else and some weird things are happening. Mails are being sent twice. He is using Thunderbird as an email client. I already read about email being duplicated in the sent folder. But in my case
                                                                                                            • Can't login IMAP suddenly

                                                                                                              Since this evening I'm getting the error: You are yet to enable IMAP for your account. Please contact your administrator... IMAP always been enabled in my account and was workign fine for the past 7 years. Already tried turning IMAP off and on again.
                                                                                                            • Sending of username did not succeed: Mail server pop.zoho.com responded: User already specified

                                                                                                              I am having issues receiving emails from Zoho in Thunderbird. I am getting the above error. The first error tells me Authentication failed, and prompts me to enter in my password. Then I get the above error. I can receive emails when I log in online to
                                                                                                            • Bug tracking

                                                                                                              Hi, does anyone know how to track errors during picking or packing? This way I can keep track and see how to improve and prevent errors in this area.
                                                                                                            • Exact match in name when searching workdrive

                                                                                                              Hello, I am wondering how to search workdrive files/folders with an exact match in the name. For example, when I search across folder with the url param search[name]=someName, I get multiple results such as "someName", "someNameAndMore", or "someName
                                                                                                            • Flow - Fetch info from drop down in another module

                                                                                                              I am running into a road block which I thought would be a simple task. My goal - The account is assigned to a "route" which can be selected from a drop down menu and adds a tag to the account accordingly (easy enough). Now when I create a task for this
                                                                                                            • Migration of corporate mail environment from Yandex 360 to Zoho mail

                                                                                                              I have to migrate a corporate mail environment with an existing domain from Yandex 360 to Zoho mail. It is vital to migrate all users with all the data. I have read the article on this topic using MacMister Email Backup Software just now and have some
                                                                                                            • I'm unable to send mail pthrough Zoho SMTP programmatically

                                                                                                              This has been working for years, but today it's been offline all day long. I see nothing anywhere on your site about this. I'm not the only one experiencing this. Downdetector has a spike of reports today
                                                                                                            • Can no longer send email via Django site

                                                                                                              This was working fine as of 11/7/25. Now I am unable to send user verification emails from a Django site on a AWS lightsail sever. When a user attempts to register the following error occurs. I have also attempted to send a test email via the shell and
                                                                                                            • unable to send email but able to receive email

                                                                                                              my email address is info@securityforceservices.ca
                                                                                                            • Custom Field for Subscription

                                                                                                              Hi, I can't find a way to add a custom field (to contain a license key generated from our software) against a subscription? Is the only place to add this information in the Invoice module (as custom field for invoice)? When a customer views his subscription via the customer portal, there appears no way to display a license key for them? The invoice is not the natural place to store a license key for a particular subscription, so where else can this be stored and displayed?
                                                                                                            • Login to server failing

                                                                                                              When trying to retrieve my mail, I am getting this error message -- Login to server pop.zoho.com with username (my email address) failed. It gives me the option to retry, enter password, or cancel. Then I get this message -- Sending of username did not
                                                                                                            • Next Page