
Farmacia is a Spanish brick-and-mortar pharmacy in Valencia. Established as a family-owned business, they have a long legacy of serving their local community through their physical store.
For Farmacia, the transition to the digital space required more than just a standard website – it demanded a complex, highly intelligent healthcare ecommerce platform. It needed to flawlessly handle the strict complexities of pharmaceutical retail.
Moreover, the new platform needed an automated, scalable way to manage fulfillment operations exclusively through its current shipping provider, Correos.

Instead of modifying an off-the-shelf storefront, we architected a highly scalable pharmacy platform utilizing Nimara and Saleor models as our foundation. We extended these systems to accommodate custom ecommerce functionalities tailored to the medtech sector.
To build a competitive edge in the Spanish market, we focused on two pillars:
We integrated Algolia for lightning-fast search and extended it to act as the primary database for the platform's front-end catalog pages. This allowed us to keep server-side loads exceptionally light while providing real-time data syncs.
Our team of experts developed the platform through precise engineering sprints that fell under the following areas: AI configuration, subscription logic, and product recommendations based on user behavior.
We integrated Intercom's Fin AI agent with Algolia's Agent Studio via a custom data connector for conversational product discovery grounded in real catalog data. Prompt-engineered to query disease-specific indexes, the agent retrieves structured product data from Algolia. Our backend then formats and delivers this natively in the Intercom chat as clean recommendations – complete with the product name, price, and a direct link.
We implemented a subscription model to maximize user convenience and eliminate the need to remember monthly refills. The system automatically handles regular order renewals, making the entire process completely hands-off for the customer.
We built an automated price recalculation feature that updates active subscriptions when base prices change. Whenever they do, an automated email notification is sent to the user.
Alongside implementing Google-standard ecommerce event tracking, we deployed a dedicated integration to send behavioral data directly to Algolia. Algolia's AI recommendation models receive real-time data on user interactions and analyze this on-site behavior to build highly accurate suggestions. This dynamically powers the "Frequently Bought Together" and "Similar Products" carousels on the storefront.

The resulting platform is a modern online pharmacy that balances user safety with effective conversion tactics:
Patients typing symptoms into the chat are immediately met by the Fin AI chatbot, which maps their needs to the disease index and provides instant product matches. If a query gets too complex, a human pharmacist can seamlessly take over the live chat, with all past logs archived for quality assurance.
The platform locks subscription features behind a mandatory user login. To protect the user experience, if an item goes out of stock or a payment fails, the system automatically cancels the subscription and sends an email explaining exactly why.
Powered by Algolia, the instant search dropdown allows users to find and add products to their cart in a single click. Thanks to smooth frontend rendering, cart updates happen instantly without disruptive page reloads, keeping the entire checkout process quick and seamless.
Merging AWS and Saleor, the platform generates secure invoice links. To maximize medical data security, these links expire after exactly 24 hours, requiring a safe automated regeneration if accessed later.
By leveraging the power of Nimara, Saleor CMS, and cutting-edge AI integrations, we engineered a compliant pharma commerce platform.
Featuring automated subscription engines, secure AWS-backed enterprise invoicing, and an Intercom Fin AI chatbot integrated with Algolia for symptom-based product matching, this platform redefines modern pharmaceutical retail.
for your business, your team, and your future.
Talk to an Expert