Business Loan

Top 10 Profitable Business Ideas to Start in Hyderabad

author-image
30 Sep 2025 |5 Minutes
Table of Content

Hyderabad isn’t just the city of pearls anymore; it’s a thriving hub for biotech, pharma, and tech innovation. Since December 2023, it’s welcomed over ₹54,000 Crore in investments and created 2 Lakh new jobs, especially in healthcare and manufacturing.

If you’re thinking about starting a business in 2025, this is the moment. In this post, we’ll explore 10 promising ideas, ranging from education to lifestyle services, that align with the city’s rapid growth and evolving needs.

Top 10 High-Profit Business Ideas in Hyderabad
 

New Business In Hyderabad

Here are the business ideas, along with key areas to consider and execution tips. 

1. Information Technology (IT) and Software Services

Hyderabad, also known as Cyberabad, hosts global IT giants such as Microsoft, Google, and Infosys. The growing demand for IT services creates opportunities for entrepreneurs. Offering specialised solutions and support can help local startups and businesses scale.

Key areas to consider: 

●    Mobile app and web development for startups and local businesses.
●    Cloud services, cybersecurity solutions, and data analytics for corporations.

Execution tips: 

1.    Identify niche services (AI, cloud computing, app development, or cybersecurity) based on demand. 
2.    Start by operating from coworking hubs like T-Hub or iKeva.
3.    Hire fresh IT graduates from IIT Hyderabad and Osmania University to optimise costs and harness the local talent advantage.

2. Food & Beverage (F&B) Businesses

Hyderabad is known for its biryani and diverse food culture, which makes the city a great place to build F&B ventures. This growing demand creates profitable opportunities for entrepreneurs to start speciality restaurants, cafes, or cloud kitchens that cater to both residents and working professionals.

Key areas to consider:

●    Speciality restaurants focusing on authentic Hyderabadi cuisine.
●    Cloud kitchens offering multiple brands from a single facility.

Execution tips:

1.    Choose a business model, like a restaurant, cafe, or cloud kitchen, based on your budget.
2.    Focus on prime locations like Gachibowli, Jubilee Hills, and Madhapur for the high demand for your products.
3.    Invest in creating a unique menu that includes Hyderabadi biryani, fusion dishes, or health-focused meals.

3. Real Estate & Property Management

Real estate is a profitable opportunity as Hyderabad's expanding IT and pharmaceutical industries fuel demand for homes as well as office spaces. Strong, long-term returns can be obtained by providing brokerage, rental management, and property development services.

Key areas to consider:

●    Residential and commercial property development.
●    Rental property management services for NRIs and working professionals.

Execution tips:

1.    Research on high-growth areas like Kokapet, Narsingi, and Shamshabad, where several IT employees are shifting.
2.    Start with a brokerage or consultancy firm to build capital before moving into property development.
3.    Offer property management services to NRIs who own houses in Hyderabad. Use digital platforms for property listings and virtual tours to attract clients.

4. Pharmaceutical & Healthcare Services

Often referred to as the Pharma Capital of India, Hyderabad’s healthcare sector is developing at a rapid rate, which can help launch a business venture with high profit potential.

Key areas to consider:

●    Pharmaceutical manufacturing and distribution.
●    Health-tech startups focusing on telemedicine and digital health records.

Execution tips:

1.    Collaborate with Genome Valley’s established ecosystem for pharma manufacturing.
2.    Ensure you have the necessary licenses and approvals, such as from the Drugs Controller General of India (DCGI) and Good Manufacturing Practice (GMP) certification.
3.    Start small with the distribution of generic medicines before moving into research and development. 

5. EdTech & Skill Development

Hyderabad’s large student population creates a high demand for education, upskilling, and training, making EdTech and skill development a lucrative option for businesses.

Key areas to consider:

●    Online tutoring platforms for school and college students.
●    Skill development centres for IT, coding, and data science.

Execution tips:

1.    Identify the target audience: school students, job seekers, or corporate employees.
2.    Start online with cost-effective learning platforms before opening physical centres.
3.    Offer specialised skill programs in coding, AI, digital marketing, and English communication. Use subscription-based or pay-per-course models for a steady income.

6. Travel and Tours Business

Historical landmarks like Charminar, Golconda Fort, Ramoji Film City, and Salar Jung Museum make Hyderabad a tourism hotspot, creating strong opportunities for businesses in travel, hospitality, and guided tours.

Key areas to consider:

●    Boutique hotels and heritage homestays.
●    Travel agencies that offer curated city tours showcasing Hyderabad’s heritage and culture.

Execution tips:

1.    Start by designing curated packages that highlight Charminar, Golconda Fort, Ramoji Film City, and food tours.
2.    Target both international tourists and domestic weekend travellers, and after establishing your brand, consider launching boutique hotels or heritage stays in prime locations.

7. Retail & E-commerce Ventures

The growing urban population in Hyderabad presents excellent opportunities in retail and e-commerce. It is a high-demand sector with huge business turnovers, especially when combined with digital platforms. You can start a low-investment, high-return business venture. 

Key areas to consider:

●    Fashion and lifestyle boutiques.
●    Online grocery and essential delivery services.

Execution tips:

1.    Choose between offline retail stores and online e-commerce portals. Focus on niche products like pearls, handicrafts, organic groceries, or fashion.
2.    Establish a strong presence on platforms like Amazon, Flipkart, and Meesho to maximise your reach and customer base.
3.    Scale with a hybrid model that is a physical store along with an online store for maximum visibility.

8. Logistics & Transportation

Logistics is a highly promising sector in today’s fast-paced world. With the rapid growth of e-commerce, it has become one of the fastest-growing and most profitable business opportunities.

Key areas to consider:

●    Last-mile delivery services for e-commerce players.
●    Warehousing and cold storage solutions.

Execution tips:

1.    Choose warehouse locations near Shamshabad (airport) or Patancheru (industrial area).
2.    Partner with SMEs in the pharma and retail sectors to secure regular logistics contracts. Then, expand to specialised services like cold storage and medical logistics.

9. Creative & Media Services

Hyderabad boasts a thriving media and film industry, thanks to Tollywood and Ramoji Film City, which attracts numerous global projects. With the rising demand for a digital presence, creative services offer high margins for businesses in this industry.

Key areas to consider:

●    Digital marketing agencies serving SMEs and startups.
●    Film production and post-production services.

Execution tips:

1.    Build a digital marketing agency catering to startups in a high-tech city.
2.    Offer video production, branding, and advertising services for local businesses. Use performance-based pricing (ROI-driven campaigns) to attract clients.
3.    Hire freelance designers and content creators to manage costs initially. 

10. Green & Sustainable Businesses

With Hyderabad embracing smart city initiatives, sustainable businesses are in high demand. Government subsidies and CSR funding make these ventures profitable and well-positioned for growth. 

For example, Telangana’s Solar Rooftop Subsidy Scheme lowers costs for solar installations, boosting returns.

Key areas to consider:

●    Solar energy solutions for households and industries.
●    Waste management and recycling services.

Execution tips:

1.    Start with solar panel installation services for residential complexes and IT firms.
2.    Explore business opportunities related to EV charging stations in IT corridors like Gachibowli.
3.    Launch organic farming ventures and sell produce through farm-to-table subscription boxes.

Apply for government subsidies under Telangana’s renewable energy schemes.

Conclusion

Hyderabad is one of India’s fastest-growing business hubs, with profitable opportunities in IT, F&B, real estate, logistics, pharma, tourism, and more. From cloud kitchens to property development, every idea can be scaled with proper planning and market research. Focus on niche demand, leverage local talent, and utilise digital platforms to reach customers more efficiently. With the city’s supportive ecosystem and government initiatives, turning a business idea into reality is easier than ever.

If you need funds to expand your business, Poonawalla Fincorp is your trusted partner. Get up to ₹75 Lakh with easy terms to help you grow your business.

FAQs 

What are the most profitable businesses to start in Hyderabad?
The right choice depends on your investment budget and target audience. You can choose from edtech, logistics, food, the IT sector, etc.

How much investment is required to start a business in Hyderabad?
The required investment depends on the nature and scale of the business. Small ventures such as cloud kitchens, retail shops, or creative services typically need minimal investment, while larger businesses like real estate, pharmaceutical, or IT startups require significantly higher capital.

Is Hyderabad a good city for startups?
Yes, Hyderabad is considered one of India’s top startup hubs, with advantages such as T-Hub, the Telangana government’s TS-iPASS policy, and a highly skilled workforce.

Which business is best for B2B clients in Hyderabad?
B2B-focused opportunities include IT outsourcing, logistics, corporate training, digital marketing, and pharmaceutical supply.

What support is available for entrepreneurs in Hyderabad?
They can benefit from T-Hub incubator programs, Telangana state startup policies, access to venture capital firms, and government subsidies in green energy and pharma.

Disclaimer

We take utmost care to provide information based on internal data and reliable sources. However, this article and associated web pages provide generic information for reference purposes only. Readers must make an informed decision by reviewing the products offered and the terms and conditions. Loan disbursal is at the sole discretion of Poonawalla Fincorp.

*Terms and Conditions apply
call to action
An error occurred while processing the template.
The following has evaluated to null or missing:
==> blogEntry.getCoverImageURL(themeDisplay)  [in template "20096#20121#1665161" at line 34, column 26]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign coverImageUrl = blogEntry.get...  [in template "20096#20121#1665161" at line 34, column 1]
----
1<style> 
2.emailBox .form-control, .panBox .form-control{border:1px solid #767676} 
3a.btn.btnWhite{color: var(--blue)!important;} 
4</style> 
5<#assign baseUrl= themeDisplay.getPortalURL() > 
6<#assign groupId = themeDisplay.getScopeGroupId() > 
7<#assign blogService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryLocalService")> 
8<#assign assetCategory = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
9<#assign url = themeDisplay.getURLCurrent()?substring(7)?trim!"" /> 
10<#if url = ""> 
11<#assign url="/personal-loan/top-ideas-to-celebrate-diwali-festival"> 
12</#if> 
13<#assign blogEntry = "" /> 
14<#attempt> 
15<#assign blogEntry = blogService.getEntry(groupId, url)!""> 
16<#recover> 
17<#assign blogEntry = "" /> 
18</#attempt> 
19<#assign blogcontent = "Default blog content"> 
20<#assign title = "Default title" > 
21<#assign description = "Default description" > 
22<#assign createDate = "Default createDate"> 
23<#assign modifiedDate = "Default modifiedDate"> 
24<#assign displayDate = "Default displayDate"> 
25<#assign coverImageUrl = "Default url"> 
26<#if blogEntry?has_content && blogEntry?is_hash> 
27<#assign blogcontent = blogEntry.content > 
28<#assign title = blogEntry.title!"Default title" > 
29<#assign description = blogEntry.description !"Default description" > 
30<#setting time_zone="Asia/Kolkata"> 
31<#assign createDateIST = blogEntry.createDate?string("yyyy-MM-dd'T'HH:mm:ssXXX") !"Default createDate"> 
32<#assign modifiedDate = (blogEntry.modifiedDate?long + (10 * 60 * 1000))?number_to_datetime?string("yyyy-MM-dd'T'HH:mm:ssXXX") !"Default modifiedDate"> 
33<#assign displayDateIST = (blogEntry.displayDate?long + (10 * 60 * 1000))?number_to_datetime?string("yyyy-MM-dd'T'HH:mm:ssXXX") !"Default displayDate">  
34<#assign coverImageUrl = blogEntry.getCoverImageURL(themeDisplay)?keep_before('?')?keep_before_last('/') !"Default url"> 
35<#assign caption = blogEntry.coverImageCaption ! "Caption"> 
36<#assign authorName = blogEntry.getExpandoBridge().getAttribute("Author Name List") !"Poonawalla Fincorp Team" /> 
37<#if caption?contains("Caption")> 
38<#assign width = "1200"> 
39<#assign height = "675"> 
40<#elseif caption?contains("*")> 
41<#assign width = caption?keep_before('*')?replace("<p>","")?trim ! "1200"> 
42<#assign height = caption?keep_after('*')?replace("</p>","")?trim ! "675"> 
43<#else> 
44<#assign width = "1200"> 
45<#assign height = "675"> 
46</#if> 
47 
48</#if> 
49<#assign authorName = blogEntry.getExpandoBridge().getAttribute("Author Name List") !"Poonawalla Fincorp Team" /> 
50<#if authorName[0]?has_content> 
51<#if authorName[0] == "Pradeep Salunkhe"> 
52<#assign authorName = "Pradeep Salunkhe"> 
53<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/pradeep-salunkhe"> 
54<#assign authorDescription ="With over 12 years of experience - including 8+ years in the BFSI sector - Pradeep shares practical financial insights to help readers make smarter money decisions."> 
55<#assign portraitURL = "/documents/35085/2665948/pradeep-salunkhe.jpg"> 
56 
57<#elseif authorName[0] == "Pallavi Lakhe"> 
58<#assign authorName = "Pallavi Lakhe"> 
59<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/pallavi-lakhe"> 
60<#assign authorDescription ="Pallavi is a language enthusiast with a postgraduate degree in English Literature. Combining her passion for communication with a knack for simplifying finance, she creates clear and accessible content on loans, credit, and personal finance, helping readers make informed financial decisions with confidence."> 
61<#assign portraitURL = "/documents/35085/2665948/Pallavi-Lakhe.webp"> 
62 
63<#elseif authorName[0] == "Juel Kisku"> 
64<#assign authorName = "Juel Kisku"> 
65<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/juel-kisku"> 
66<#assign authorDescription ="Juel is a full-time content professional with years of experience in the BFSI industry, specializing in writing, reviewing, and editing content on financial products and solutions. He simplifies money matters to help readers understand and manage their finances better."> 
67<#assign portraitURL = "/documents/35085/2665948/juel-kisku2.jpg"> 
68 
69<#elseif authorName[0] == "Vidhi Thakkar"> 
70<#assign authorName = "Vidhi Thakkar"> 
71<#assign authorDescription ="Vidhi Thakkar is a content writer with 2 years of experience crafting digital content in finance. She enjoys simplifying complex topics and finds joy in everyday storytelling."> 
72<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/vidhi-thakkar"> 
73<#assign portraitURL = "/documents/35085/0/image.jpg"> 
74<#elseif authorName[0] == "Nachiketh Premraj"> 
75<#assign authorName = "Nachiketh Premraj"> 
76<#assign authorDescription = "As a seasoned Digital Marketing and Brand Leader, I specialize in Social Media Marketing, Social Listening (ORM), Brand Insights, Martech, App Marketing, SEO, Performance Marketing, Content Creation, Digital Strategy, Brand Building, and Consumer Insights. With a PGDM focused on Advertising & PR, I bring 18 years of diverse experience across Media and Banking sectors. My passion lies in leveraging data-driven insights to craft compelling brand narratives and drive impactful marketing strategies." > 
77<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/nachiketh-premraj"> 
78<#assign portraitURL = "/documents/35085/2516764/nachiketh-premraj.jpg"> 
79 
80<#elseif authorName[0] == "Pallavi Lakra"> 
81<#assign authorName = "Pallavi Lakra"> 
82<#assign authorDescription = "Pallavi Lakra is a content writer with 2 years of experience crafting digital content in finance. She enjoys simplifying complex topics and finds joy in everyday storytelling." > 
83<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/pallavi-lakra"> 
84<#assign portraitURL = "/documents/35085/2516764/pallavi-lakra.jpg"> 
85<#else> 
86<#assign authorName = "[Poonawalla Fincorp Team]" > 
87<#assign authorDescription ="Our team of expert writers and editors are passionate about providing authentic and valuable information on finance. Our aim is to simplify financial and finance-related concepts. We strive to help our readers become more aware and empowered to make informed financial decisions."> 
88<#assign authorPageUrl = "${themeDisplay.getPortalURL()}/author/poonawallateam"> 
89<#assign portraitURL = "/documents/d/poonawalla-fincorp/user_portrait"> 
90</#if> 
91</#if> 
92<script type="application/ld+json" id="json-ld"> 
93
94    "@context":"http://schema.org", 
95    "@type":"Article", 
96    "url":"${(themeDisplay.getPortalURL() + themeDisplay.getURLCurrent())?json_string}", 
97		"headline":"${title}", 
98    "description":"${description}", 
99    "datePublished":"${createDateIST}", 
100    "dateModified":"${displayDateIST}", 
101    "mainEntityOfPage":{ 
102        "@type":"WebPage", 
103        "@id":"${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}" 
104        }, 
105        "publisher":{ 
106            "@type":"Organization", 
107            "name":"Poonawalla Fincorp Limited", 
108            "logo":{ 
109                "@type":"ImageObject", 
110                "url":"https://poonawallafincorp.com/documents/d/poonawalla-fincorp/logo", 
111								"width":"125", 
112                "height":"26" 
113                }}, 
114				"author": { 
115           "@type": "Person", 
116           "name": "${authorName}", 
117           "description": "${authorDescription}", 
118           "url": "${authorPageUrl}", 
119           "image": { 
120           "@type": "ImageObject", 
121           "url": "${baseUrl}${portraitURL}", 
122           "width": 200, 
123           "height": 200 
124
125					}, 
126					"image": { 
127           "@type": "ImageObject", 
128           "url": "${coverImageUrl}", 
129           "width": "${width}px", 
130           "height": "${height}px" 
131		       }, 
132					"articleBody":"${blogcontent?replace('<[^>]*>', '', 'r')?replace('[^a-zA-Z0-9 ]', '', 'r')?json_string}", 
133 
134	        "about": [ 
135
136             "@type": "Thing", 
137             "name": "${themeDisplay.getURLCurrent()?split('/')[2]?replace("-"," ")?capitalize}" 
138
139
140
141
142</script> 
143 
144 
145 
146<#assign htmlContent = blogcontent> 
147<#if htmlContent?contains("<h2>Frequently Asked Questions</h2>")> 
148<#assign faqContent = htmlContent?keep_after("<h2>Frequently Asked Questions</h2>")?keep_before("<div class=")> 
149<#assign strongSplits = faqContent?split("<strong>")> 
150 
151<script type="application/ld+json" id="json-ld"> 
152
153  "@context": "https://schema.org", 
154  "@type": "FAQPage", 
155  "mainEntity": [ 
156<#list strongSplits as item> 
157<#if item_index != 0> 
158
159        "@type": "Question", 
160        "name": "${item?keep_before("</strong>")?trim}", 
161        "acceptedAnswer": { 
162          "@type": "Answer", 
163          "text": "${item?keep_after("</strong>")?replace("<[^>]*>", "", "r")?trim}" 
164
165      }<#if !item?is_last>,</#if> 
166</#if> 
167</#list> 
168
169
170</script> 
171 
172<#elseif htmlContent?contains("<h2>FAQs</h2>")> 
173<#assign faqContent = htmlContent?keep_after("<h2>FAQs</h2>")?keep_before("<div class=")> 
174<#assign strongSplits = faqContent?split("<strong>")> 
175<script type="application/ld+json" id="json-ld"> 
176
177  "@context": "https://schema.org", 
178  "@type": "FAQPage", 
179  "mainEntity": [ 
180<#list strongSplits as item> 
181<#if item_index != 0> 
182
183        "@type": "Question", 
184        "name": "${item?keep_before("</strong>")?trim}", 
185        "acceptedAnswer": { 
186          "@type": "Answer", 
187          "text": "${item?keep_after("</strong>")?replace("<[^>]*>", "", "r")?trim}" 
188
189      }<#if !item?is_last>,</#if> 
190</#if> 
191</#list> 
192
193
194</script> 
195 
196<#else> 
197<#-- No FAQ section found --> 
198<#assign faqContent = ""> 
199</#if> 
200  
201 
202<style nonce="2D0oPEosbPtmhwpQq22tPg==" nonce="SPiOUHjpip8198n4uNoZFQ=="> 
203 #waitd{ 
204		color:red; 
205
206 .waitd{ 
207		color:red; 
208
209</style> 
210<div class="article-blog_feature"> 
211        <img class="mob-hide" src="https://poonawallafincorp.com/documents/d/poonawalla-fincorp/article06-png" alt="Personal Loan Banner" width="100%" height="auto" loading="lazy" /> 
212        <img class="d-none mob-show" src="https://poonawallafincorp.com/documents/d/poonawalla-fincorp/marticle06-png" alt="Personal Loan Banner" width="100%" height="auto" loading="lazy" /> 
213        <div class="article-blog_overlay container-fluid"> 
214          <div class="blog-feature_caption">           
215 <h3><#if (Heading.getData())?? && !(Heading.getData()?lower_case?contains("<script"))> 
216	${Heading.getData()} 
217</#if></h3> 
218            <div class="loanAmount"> 
219              <div class="loanAmountLimit"> 
220               Get Upto 
221<div>₹<#if (GetUptoAmount.getData())?? && !(GetUptoAmount.getData()?lower_case?contains("<script"))> 
222	${GetUptoAmount.getData()} 
223</#if><span>lakhs</span></div> 
224              </div> 
225              <div class="loanAmountLimit"> 
226                Starting at 
227                <div><#if (Text53388883.getData())?? && !(Text53388883.getData()?lower_case?contains("<script"))> 
228	${Text53388883.getData()} 
229</#if><span> % </span></div> 
230              </div> 
231            </div> 
232           <a class="btn btnWhite apply" href="${ApplyNowLinkPage.getFriendlyUrl()}" title="Apply-Loan">Apply Now</a> 
233          </div> 
234        </div> 
235      </div>			 
236	<div class="article-blog_inputBox"> 
237  <div class="article-blog_inputContent">        
238  <div class="emailBox"> 
239    <label> Like what you read? <br>  
240      Stay ahead with finance insights</label> 
241    <div class="emailInput position-relative"> 
242		<form onsubmit="event.preventDefault(); sendSubcription();"> 
243     <input class="form-control" aria-label="e-mail address" type="text" placeholder="e-mail address" id="emailID" maxlength="50"/> 
244    <img src="https://poonawallafincorp.com/documents/d/poonawalla-fincorp/rightarrow" alt="rightArrow" onclick="sendSubcription()"/> 
245    </form> 
246		</div> 
247		<span id="success_req" style="display:none"> 
248	 <label class="mt-2 position-relative top-0 subscribeMsg"><span class="text-green mt-2"> 
249        <img src="https://poonawallafincorp.com/documents/d/poonawalla-fincorp/greencheck" alt="Green check" class="mr-2">  Thank you for subscribing!</img></label> 
250	  </span> 
251		<div class="emailInput position-relative waitd" id="waitd" style="display:none">Please wait...</div> 
252	   <div class="emailInput position-relative" id="success_suscrib" style="display:none">Email Already Suscribed!</div> 
253	   <div class="emailInput position-relative" id="error_val" style="display:none">Enter Valid Email Id</div> 
254		 <div class="emailInput position-relative" id="error_req" style="display:none">Enter Your Email Id</div>  
255</div></div></div></div>		 
256 
257<script> 
258var baseUrlNew = "${baseUrl}"; 
259var _token; 
260function getTokens() { 
261    $(".loader").css("display", "block"); 
262    const myHeaders = new Headers(); 
263    myHeaders.append("Content-Type", "application/x-www-form-urlencoded"); 
264    myHeaders.append("Cookie", "JSESSIONID=E6176249B705404196C7DC2B93619CA8"); 
265    const urlencoded = new URLSearchParams(); 
266    urlencoded.append("client_id", "id-e87ee6b8-15d8-9cfb-e4e8-ee81957e1da"); 
267    urlencoded.append("client_secret", "secret-39e1d060-4ea7-af66-fe6b-63742d41d920"); 
268    urlencoded.append("grant_type", "client_credentials"); 
269    const requestOptions = { 
270        method: "POST", 
271        headers: myHeaders, 
272        body: urlencoded, 
273        redirect: "follow" 
274    }; 
275    fetch(baseUrlNew+"/o/oauth2/token", requestOptions) 
276        .then((response) => response.text()) 
277        .then((result) => { 
278            let res = JSON.parse(result); 
279            var btok = res.access_token; 
280            _token = btok; 
281						}) 
282        .catch((error) => { 
283            $(".loader").css("display", "none"); 
284            console.error(error); 
285        }); 
286
287//getTokens(); 
288function handleEnterKey(event) { 
289      if (event.keyCode === 13) { 
290        sendSubcription(); 
291
292
293 
294    const emailInput = document.getElementById('emailID'); 
295    emailInput.addEventListener('keydown', handleEnterKey); 
296	function sendSubcription() { 
297			var emailId=$('#emailID').val(); 
298		$("#success_req").css("display","none"); 
299		$("#success_suscrib").css("display","none"); 
300	 
301	//const emailRegex = /^[a-zA-Z0-9._%+-]+@gmail\.com$/; 
302	const emailRegex = /^[a-zA-Z0-9._%+-]+@(gmail\.com|yahoo\.com|yopmail\.com|outlook\.com|[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/; 
303   if(emailRegex.test(emailId)){ 
304		  emailInput.classList.remove('danger'); 
305		 $("#error_val").css("display","none"); 
306		 $("#error_req").css("display","none"); 
307	 }else{ 
308		 if(emailId ==""){	 
309			 emailInput.classList.add('danger'); 
310		  $("#error_val").css("display","none"); 
311			$("#error_req").css("display","block"); 
312			return; 
313	   }else{ 
314			 emailInput.classList.add('danger'); 
315			  $("#error_val").css("display","block"); 
316			  $("#error_req").css("display","none"); 
317			 return; 
318
319		   
320
321	//	return; 
322		$("#waitd,.waitd").css("display","block"); 
323     var apiUrl =baseUrlNew+"/o/subscription/get-lead-by-email?email="+emailId; 
324          $.ajax({ 
325            url: apiUrl, 
326            type: 'GET',					  
327            dataType: 'json', 
328					//	headers: { 
329        //'Authorization': 'Bearer ' + _token 
330       // }, 
331            success: function(data) { 
332                 emailInput.classList.remove('danger'); 
333			           $("#error_val").css("display","none"); 
334			           $("#error_req").css("display","none"); 
335							   //$("#success_req").css("display","block"); 
336							if(data && data.length>0){ 
337								$("#success_suscrib").css("display","block"); 
338								$("#waitd,.waitd").css("display","none"); 
339								$("#emailID").val(""); 
340								setTimeout(()=>{$("#success_suscrib").css("display","none"); 
341								$("#waitd").css("display","none"); 
342								},2000) 
343								return; 
344							}else{ 
345								$("#success_suscrib").css("display","none"); 
346								newSuscribed(emailId); 
347
348                 $.each(data, function(index, loan) { 
349                    $('#loanList').append($('<option></option>').attr('value', loan.lId).text(loan.loanName)); 
350                }); 
351            }, 
352						 
353                                    complete: function(){ 
354																		//	$("#waitd,.waitd").css("display","none"); 
355                                    }, 
356            error: function(xhr, status, error) { 
357
358        }); 
359
360	function newSuscribed(emailId){    	 
361	var apiUrl = baseUrl1+"/o/subscription/capture-lead?Attribute=EmailAddress&Value="+emailId;  
362    const myHeaders = new Headers(); 
363//myHeaders.append("Authorization", 'Bearer ' + _token); 
364myHeaders.append("Cookie", "COOKIE_SUPPORT=true; GUEST_LANGUAGE_ID=en_US; JSESSIONID=077E178F6946DD868149B7A58A993FBB"); 
365 
366const requestOptions = { 
367  method: "POST", 
368  headers: myHeaders, 
369  redirect: "follow" 
370}; 
371 
372fetch(apiUrl, requestOptions) 
373  .then((response) => response.text()) 
374  .then((data) => {	 
375	if (JSON.parse(data)?.Status == "Success") { 
376                localStorage.setItem("submitApi", emailId); 
377                sendSubcriptionAgain(emailId) 
378                    .then((res) => { 
379                        return true; 
380                    }) 
381                    .catch((err) => { 
382                        console.log(err); 
383                    }) 
384
385            else { 
386 
387
388	}) 
389	.catch((error)=>{ 
390	console.warn(error); 
391	}) 
392	 
393
394function increaseTimeByFiveMinutes() { 
395    var currentDate = new Date(); // Get the current date and time 
396    currentDate.setMinutes(currentDate.getMinutes() + 5); // Increase current time by 5 minutes 
397 
398    // Format the date and time as "YYYY-MM-DD HH:mm:ss" 
399    var formattedDateTime = currentDate.toISOString().replace(/T/, ' ').replace(/\..+/, ''); 
400 
401    return formattedDateTime; 
402
403 
404 
405	function passLeadGenerate(prospectId, emailId) { 
406   
407     
408 
409	var activitnn= "News Letter"; 
410   
411var apiUrl = baseUrl1 + "/o/subscription/create-subscription-lead?RelatedProspectId=" + encodeURIComponent(prospectId.trim()) + 
412"&ActivityNote=" + encodeURIComponent(activitnn) + "&ActivityDateTime=" + encodeURIComponent(increaseTimeByFiveMinutes()) + 
413"&ActivityEvent=258"+"&ProcessFilesAsync=true"; 
414  
415    const myHeaders = new Headers(); 
416//myHeaders.append("Authorization", 'Bearer ' + _token); 
417myHeaders.append("Cookie", "COOKIE_SUPPORT=true; GUEST_LANGUAGE_ID=en_US; JSESSIONID=077E178F6946DD868149B7A58A993FBB"); 
418 
419const requestOptions = { 
420  method: "POST", 
421  headers: myHeaders, 
422  redirect: "follow" 
423}; 
424 
425fetch(apiUrl, requestOptions) 
426  .then((response) => response.text()) 
427  .then((data) => { 
428		$("#success_req").css("display","block"); 
429		$("#waitd,.waitd").css("display","none"); 
430					$("#emailID").val(""); 
431					setTimeout(()=>{ 
432					$("#success_req").css("display","none"); 
433					},2000); 
434	}) 
435	.catch((error)=>{ 
436	console.warn(error); 
437	}) 
438    
439
440	 
441	function sendSubcriptionAgain(EmailId) { 
442			var emailId=EmailId; 
443		$("#success_req").css("display","none"); 
444		$("#success_suscrib").css("display","none"); 
445	 
446		//const emailRegex = /^[a-zA-Z0-9._%+-]+@gmail\.com$/; 
447		const emailRegex = /^[a-zA-Z0-9._%+-]+@(gmail\.com|yahoo\.com|yopmail\.com|outlook\.com|[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/; 
448   if(emailRegex.test(emailId)){ 
449		  emailInput.classList.remove('danger'); 
450		 $("#error_val").css("display","none"); 
451		 $("#error_req").css("display","none"); 
452	 }else{ 
453		 if(emailId ==""){	 
454			 emailInput.classList.add('danger'); 
455		  $("#error_val").css("display","none"); 
456			$("#error_req").css("display","block"); 
457			return; 
458	   }else{ 
459			 emailInput.classList.add('danger'); 
460			  $("#error_val").css("display","block"); 
461			  $("#error_req").css("display","none"); 
462			 return; 
463
464		   
465
466	//	return; 
467	 
468    return new Promise((resolve, reject) => { 
469        $.ajax({ 
470             url: baseUrl1+"/o/subscription/get-lead-by-email?email="+emailId, 
471            type: 'GET', 
472           //	headers: { 
473           // 'Authorization': 'Bearer ' + _token 
474           //  }, 
475            dataType: 'json', 
476            success: function (data) { 
477                resolve(data); 
478                if (data && data?.length > 0) { 
479                    //	$("#success_suscrib").css("display","block"); 
480                    passLeadGenerate(data[0].ProspectID, emailId); 
481                } else { 
482                    $("#success_suscrib").css("display", "none"); 
483                    newSuscribed(emailId); 
484
485								$("#waitd ,.waitd").css("display","none"); 
486                $.each(data, function (index, loan) { 
487                    $('#loanList').append($('<option></option>').attr('value', loan.lId).text(loan.loanName)); 
488                }); 
489            }, 
490 
491            complete: function () { 
492            }, 
493            error: function (xhr, status, error) { 
494                reject(new Error("Error fetching data:", error)) 
495 
496
497        }); 
498    })	 
499
500		 
501</script> 
502 
503 
504 
505<#assign baseUrl= themeDisplay.getPortalURL() > 
506<#assign currentPageUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()> 
507<#assign articles = []>  
508 
509 
510 
511<script type="application/ld+json"> 
512
513          "@context": "https://schema.org/",  
514          "@type": "BreadcrumbList",  
515          "itemListElement": [{ 
516            "@type": "ListItem",  
517            "position": 1,  
518            "name": "Home", 
519            "item": "${baseUrl}"   
520          },{ 
521            "@type": "ListItem",  
522            "position": 2,  
523            "name": "Blogs", 
524            "item": "${baseUrl}/blogs/all-blogs"   
525          },{ 
526            "@type": "ListItem",  
527            "position": 3,  
528            "name": "${themeDisplay.getURLCurrent()?split('/')[2]?replace("-"," ")?capitalize}", 
529            "item": "${themeDisplay.getPortalURL()}/blogs/${themeDisplay.getURLCurrent()?split('/')[2]}"   
530          },{ 
531            "@type": "ListItem",  
532            "position": 4,  
533            "name": "${title}", 
534            "item": "${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}"   
535          }] 
536
537    </script>