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

                                                                                                            • Creator HTML page refresh

                                                                                                              Hi, I have added around 5 different html snippets in single creator page. I understand, I can refresh the entire page from page script using Navigational URLs https://help.zoho.com/portal/en/kb/creator/developer-guide/others/url-patterns/articles/navigational-urls
                                                                                                            • Zoho Desk - Custom Module Related List Columns on Tickets

                                                                                                              I have a custom module in Zoho Desk called Asana Tasks, each task has a lookup to a Ticket. On the Ticket I want to see the columns of the Asana Tasks in the related list . Is there a way to do this? Right now it just has the name of the record and I
                                                                                                            • Google Analytics import data inaccurate (as of October 11, 2025)

                                                                                                              We have Zoho Analytics connected to GA4 to import daily event data. This has been running without issue for a couple of years. However, a month ago we started noticing discrepancies. All data until October 10 lines up perfectly - October 11 onward is
                                                                                                            • What is your opinion of the new UI?

                                                                                                              Hi Everyone, I would like to see what everyone thinks of the new Zoho One Dashboard. I don't get it, but perhaps I'm missing something. What are your thoughts?
                                                                                                            • What are the OAuth scopes needed to access the Zoho MCP server?

                                                                                                              I think I'm authenticating with the MCP server endpoint successfully using a bearer token but I can't successfully initialize an MCP session. I'm using the official MCP Python sdk (https://github.com/modelcontextprotocol/python-sdk). I get as far as here
                                                                                                            • Support Uploading YouTube Videos Longer Than 60 Minutes

                                                                                                              Hi Zoho Social Team, How are you? We would like to request support for uploading YouTube videos longer than 60 minutes directly through Zoho Social. Your support team informed us that Zoho Social currently cannot upload videos over 60 minutes due to “API
                                                                                                            • Account blocked for IMAP use

                                                                                                              Hello, My email client (Evolution) can't sync mail anymore. It gives the error: "Your account is temporarily blocked for IMAP use. This may happen if you exceed the maximum number of simultaneous IMAP connections allowed. Kindly try again after some time."
                                                                                                            • Is SMTP included in the free plan?

                                                                                                              My client has a Zoho Mail Free 14 day trial that ends tomorrow. She has set up a domain email address with SMTP on a third party app and is wondering if it will continue working once her plan downgrades to the free forever plan. Thanks
                                                                                                            • Zoho mail issue.

                                                                                                              I have verified my domain ohhoexpress.online by adding necessary TXT and MX records. But when I am sending email to any external email id, it is showing as zohomail.com. Also while I am sending mail to internal mail id, it is saying user not found whereas
                                                                                                            • My email is blocked from sending

                                                                                                              I get this message when I try to send any message .. > Unable to send message, Reason 554 5.1.8 Email Outgoing Blocked We have urgent emails to send and the issue continues to persist from yesterday. Please help us with this issue as soon as possibl
                                                                                                            • [WEBINAR] Smooth year-end closure with Zoho Books (KENYA)

                                                                                                              Hello there, This webinar is for all Kenyan businesses looking to wrap up their financial year smoothly! Join our free session to learn how Zoho Books can simplify your year-end process. What to expect from this webinar: - All the latest updates in Zoho
                                                                                                            • cannot recieve or send emails

                                                                                                              we are not recieving or cannot send emails.Shows sysytem error
                                                                                                            • Zoho Sites - contact us form

                                                                                                              I have added a contact us form to my website. I wanted to change the layout so I deleted the section of Contact Us form. When I again try to add the section of Contact Us form, it shows error that "This form already exists on this page."  I am unable
                                                                                                            • Setting checkbox value on template in Sign from Creator

                                                                                                              Good day, Please help me understand how do I set a tick from a checkbox in Creator into a checkbox on a Sign template. Below is the only values on the Sign template and the code from Creator, "field_boolean_data": {}, "field_date_data": {}, "field_radio_data":
                                                                                                            • switching from POP3 to IMAPI do I need to change settings in Web email?

                                                                                                              hi so I am using Outlook with My Zoho mail, also have Verizon email /AOL. they no longer support POP3 and said imapi is much better, so I want to switch my ZoHo to imapai. I googled and it said i need to change it in my account....i looked at my account
                                                                                                            • What functionality is new in the Z025 Spaces UI dashboard compared to the previous Zoho One dashboard?

                                                                                                              My company is interested in creating a revamped dashboard this coming year, and are trying to weigh different platform options. The new Spaces UI is said to be a more "feature-rich" dashboard experience than the previous. Could a developer please explain
                                                                                                            • Collections Management: #5 Convenience on Offer, using Self-Checkout

                                                                                                              "Is this the right page? Oh, now, it wants my address again. Why am I being redirected?" These were the exact thoughts running through Karan's mind as he tried to subscribe to an application he genuinely liked. He clicked "Buy Now", expecting a quick
                                                                                                            • Uploading a signed template from Sign to Creator

                                                                                                              Good day, Please help me on how to load a signed document back into Creator after the process has been completed in Sign. Below is the code that I am trying, pdfFile = response.toFile("SignedDocument_4901354000000372029.pdf"); info pdfFile; // Attach
                                                                                                            • Tip #50- A Closer Look at the Unattended Access Dashboard- 'Insider Insights'

                                                                                                              Having complete visibility and quick access to everything you need certainly makes managing multiple remote devices a lot easier, and that is precisely what the Unattended Access Dashboard in Zoho Assist is designed to offer. Once you go to the Unattended
                                                                                                            • Super Admin Logging in as another User

                                                                                                              How can a Super Admin login as another user. For example, I have a sales rep that is having issues with their Accounts and I want to view their Zoho Account with out having to do a GTM and sharing screens. Moderation Update (8th Aug 2025): We are working
                                                                                                            • Zoho CRM Portal User Timeline History Unavailable

                                                                                                              Hi Support Team, We have noticed a feature limitation in the Zoho CRM portal. We created a portal for our vendors to edit records directly, but when vendors make updates, the Modified Time and Date fields are not being updated. Additionally, these updates
                                                                                                            • New in Smart Prompt: Record Assistant for contextual assistance, and support for new AI models

                                                                                                              Smart Prompt helps teams stay informed and move faster by providing relevant suggestions where work happens in CRM. With this update, Smart Prompt becomes more adaptable to your organization’s AI preferences. You can now choose which Large Language Model
                                                                                                            • How to update custom multi-user field in Zoho Projects?

                                                                                                              I'm trying to update custom multi-user fields in Zoho Projects via a Deluge function in CRM. The code I have so far is below. It works for updating standard project fields and single-line custom fields, but it does not work to update multi-user fields.
                                                                                                            • Tip of the Week #75– Manage your social media messages from a single shared inbox.

                                                                                                              Are you tired of jumping between apps or browser tabs to reply to your business's Facebook and Instagram DMs? Handling customer messages on social media might seem simple, but switching between multiple platforms can easily lead to lost messages, duplicate
                                                                                                            • 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"

                                                                                                              The Zoho Map deluge integration task has been changed (as at 21 October 2025) to provide a more structured, JSON-like response. This change affects all three Zoho Map integration tasks (Geocode, Reverse Geocode, and Distance Between). More details can
                                                                                                            • Using files from Zoho CRM in Gemini/ChatGPT/Claude

                                                                                                              Hi all, I’ve got subscriptions to Gemini and a few other AI tools which I use for tasks like data enrichment, email composition, etc. In our workflow, we often receive various documents from clients — such as process workflows, BRDs/requirement documents
                                                                                                            • Zoho Analytics & Zoho Creator - Modified Time value

                                                                                                              I'm trying to use the Zoho Creator system field 'modified time' in Zoho Analytics, but it's consistently showing 12 hours 'out' In Zoho Creator In Zoho Analytics Is this a constant difference that I just need to correct with a timezone change - or is
                                                                                                            • Zoho CRM - Option to create Follow-Up Task

                                                                                                              When completing a Zoho CRM Task, it would be very helpful if there was an option to "Complete and Create Follow-Up Task" in the pop-up which appears. It could clone the task you are closing and then show it on the screen in edit mode, all the user would
                                                                                                            • Portal For Different Apps

                                                                                                              I found some older threads on this but didn't see anything very recent. I'm new to Zoho One so forgive me if my terminology is off a bit. I was hoping set up a single point of entry into Zoho One. So, many of the apps could be found in one single place
                                                                                                            • Calls undetected

                                                                                                              Zoho Voice records indicate my last call ended at 6:00 PM. All incoming and outgoing calls occurred between 6:00 PM and 7:00 PM.
                                                                                                            • Zoho Projects - Project Details on the Project Menu

                                                                                                              Hi Project's team, I've helped may businesses setup and use Zoho Project and one thing I see time and time again is confusion on where to find the Project Details information. I would be much more intuitive if Project Details was on the menu before Dashboard.
                                                                                                            • Introducing WhatsApp integration in Bigin

                                                                                                              Greetings! In today's business landscape, messaging apps play a significant role in customer operations. Customers can engage with businesses, seek support, ask questions, receive personalized recommendations, read reviews, and even make purchases—all
                                                                                                            • Zia Conversation Summary: Context at a glance for every customer interaction

                                                                                                              Hello everyone! Every customer conversation tells a story—but in CRM, that story is rarely in one place. A sales rep moving between multiple leads has to reopen long email threads, check call remarks, and revisit meeting notes just to remember what was
                                                                                                            • Zoho Projects - Show Task List as dropdown field on Task records

                                                                                                              Hi Project's Team, I noticed today that there is no field on a task record related to the task list it belongs to. A dropdown would be helpful for quickly moving tasks between lists while in a task. I know that you can go to "Other Actions" and choose
                                                                                                            • Changing the Default Search Criteria for Finding Duplicates

                                                                                                              Hey everyone, is it possible to adjust the default search criteria for finding and merging duplicate records? Right now, CRM uses some (in my opinion nonsensical) fields as search criteria for duplicate records which do nothing except dilute the results.
                                                                                                            • My followed tickets extension is not working under the All departments view

                                                                                                              Hi. I've installed the My followed tickets extension. However, when I try to open the extension under the all departments view, I get the following message: 'Sorry, this extension is not supported in the All Departments view.' How can I solve this p
                                                                                                            • Ticket Time Entry to Timesheet

                                                                                                              The title just about sums it up. I have searched here and not found anything relevant, but If I overlooked, then please set me straight.  We have staff that do nothing but close tickets in desk all day long. These tickets represent their timesheet. Is there a way to have this information sync or for a tech to go into their timesheet themselves and sync it with their tickets of the same timeframe?? We waste a ton of time doing timesheets and the old "Clock in/Clock out" isnt detailed enough for us!!
                                                                                                            • Calls undetected.

                                                                                                              The call is not showing on the call log.
                                                                                                            • Calls undetected

                                                                                                              Zoho is not reading calls made.
                                                                                                            • Multi-currency and Products

                                                                                                              One of the main reasons I have gone down the Zoho route is because I need multi-currency support.  However, I find that products can only be priced in the home currency, We sell to the US and UK.  However, we maintain different price lists for each. 
                                                                                                            • Next Page