Functions in Query Rules
Yext Query Rules provide a powerful "if-this-then-that" framework that allows you to define certain actions that will be triggered in the presence of particular criteria. Leveraging Yext Functions as actions in Query Rules enables users to ask questions about ever-changing or user-specific data that typically isn't stored in your CMS, but rather lives in external sources. How is this possible?
When developers use Yext Functions to write custom TypeScript functions as actions in Query Rules, their custom code runs when certain criteria are met. Then, developers can design custom frontend cards to display the data that gets fetched from external sources as direct answers. This way, they can integrate real time data from external APIs to power all sorts of amazing use cases in Search. Check out some popular uses cases below:
Personalized User Data
Allow users who are logged in to their account to surface personal information about their account, user history, and membership plan. Help them take that next step with curated CTAs for each type of result.
Reservation Management
Allow users to track and manage their upcoming reservations with restaurants, hotels, airlines, and more all through search.
Package Tracking
Allow your retail customers to type in their tracking number or ask questions like, "where is my package?" and get accurate status updates from your delivery provider.
Stock Prices
Pull financial information like stock prices from Finance APIs and provide your users with a real-time snapshot of the market.
Outage Detection
Allow users to search for service outages in their area, and prompt them to report one if there is no record.
One Platform. Unlimited Solutions.
Drive revenue and delight customers
Transform site visitors into customers and learn more about what matters most to them with a dynamic AI site search on your website.
Capture and convert more local business with location listings. Turn maps, GPS apps, and local directories into your best marketing channel.
Your online reputation can win or lose you business. Generate, manage, and respond to reviews at scale with Reputation Management from Yext.
Empower customers and agents to self-serve
Enable customers to find instant answers to their support questions via FAQs, guides, tutorials, videos, ebooks, manuals, and more
Decrease case creation by recommending related content based on the issue being raised - right within the case submission form.
Resolve cases in record time with agent desktop search. Empower agents to drive faster case resolution as they troubleshoot customer issues at scale.
Answer your customers’ questions before they even reach your help site by improving your ranking and presence in search.
Deliver a seamless experience with in-app support. Allowing customers to seek help right within your app makes for a superior user experience.
Increase sales
Connect customers with relevant products, services and experiences from search to checkout.
Yext Pages has powerful tools to let you confidently launch, manage, and scale your business, by building stunning detailed product pages that capture high-intent traffic.
Boost your local online presence with Yext's local landing pages. Easily create and manage customized pages for each of your business locations, complete with accurate information, photos, and calls to action. Attract more customers and drive more sales with Yext's local landing pages.
Create an in-person sales experience online that available 24/7. Guide your customers towards the right products or services that align with their individual needs.
Make it easier for customers to find your products by connecting your physical and digital storefront.
Tailor product data in bulk to easily update information wherever customers shop your inventory.
Effectively manage all of your product data in one place and easily share details to third-party marketplaces.
Build shopping excitement and trust that fosters more purchases.
Turn each interaction into a long-lasting relationship by connecting better with shoppers at every step of their customer journey
Improve employee productivity and satisfaction
Employees need company information to do their jobs. Make it easy, fast, and fun to find with AI-powered workplace search solutions from Yext.
Build custom experiences fast
Build on the Yext platform for a fully custom AI search experience — fast. With SDKs, APIs, and robust documentation, the Yext Answers Platform provides the building blocks to create a bespoke search experience.
Explore Related Features