# FunctionFlow AI help

> Create Shopify Functions without code: discount, shipping, payment and checkout validation rules.

## Getting started

Install FunctionFlow AI, learn the basics and publish your first function.

- [What FunctionFlow AI does](https://help.fleekapps.com/functionflow-ai/what-is-functionflow/): FunctionFlow AI turns the rules you describe into native Shopify Functions for discounts, shipping, payment and checkout, without code.
- [Create your first function](https://help.fleekapps.com/functionflow-ai/create-your-first-function/): From install to a live rule in about five minutes — pick a goal, adjust the rule, test it on a sample cart and publish it in test mode first.

## Build functions

The visual builder, conditions, templates, the AI generator and the code editor.

- [Ways to start a function](https://help.fleekapps.com/functionflow-ai/ways-to-start/): Start from a goal on the create screen, a ready-made template, a plain-English description for the AI generator, JavaScript, or a blank rule.
- [The visual builder](https://help.fleekapps.com/functionflow-ai/visual-builder/): A tour of the builder — title, conditions, actions and the sidebar with the live summary, quick test, test mode, active dates and status.
- [Conditions: when a function applies](https://help.fleekapps.com/functionflow-ai/conditions/): Combine conditions with ALL or ANY, group and invert them, check items in the cart, and understand exactly how each condition is matched at checkout.
- [Condition reference](https://help.fleekapps.com/functionflow-ai/condition-reference/): Every condition FunctionFlow can check — cart, customer, product, shipping address, market, time and custom data — and which kinds of function can use it.
- [Start from a template](https://help.fleekapps.com/functionflow-ai/templates/): Ready-made rules for free shipping thresholds, happy hours, hiding Cash on Delivery, BOGO, quantity limits and more, adjusted before you publish.
- [Describe a rule to the AI generator](https://help.fleekapps.com/functionflow-ai/ai-generator/): Type a rule in plain English and FunctionFlow AI drafts the function, checked against Shopify’s limits, for you to review, test and publish.
- [Write a function in code](https://help.fleekapps.com/functionflow-ai/code-editor/): Write Shopify Functions in JavaScript when the visual builder isn’t enough — pick an input, start from a snippet, test against real function input and publish.

## Function types

What discounts, shipping, payment and checkout rules can each do, with examples.

- [Discounts](https://help.fleekapps.com/functionflow-ai/discounts/): Every discount you can build: percentage, fixed amount, Buy X Get Y, bundles, tiers, quantity breaks, gifts and shipping discounts.
- [Shipping rules](https://help.fleekapps.com/functionflow-ai/shipping-rules/): Hide, rename or reorder delivery options at checkout, or make shipping free or discounted — by cart, customer, product or address.
- [Payment rules](https://help.fleekapps.com/functionflow-ai/payment-rules/): Hide, rename or reorder payment methods at checkout — for example hide Cash on Delivery above $300 or offer bank transfer only to wholesale customers.
- [Checkout rules](https://help.fleekapps.com/functionflow-ai/checkout-rules/): Stop checkout with a clear message when a cart breaks your rules: quantity limits, restricted products, PO Boxes and ZIP codes you can’t serve.
- [Happy hours and time-based rules](https://help.fleekapps.com/functionflow-ai/happy-hours-and-time-rules/): Run a rule only at certain times or on certain days — happy hours, weekend offers, same-day delivery cutoffs — in your store’s time zone.

## Test & publish

Try rules on a sample cart, in test mode, then go live, and roll back if needed.

- [Test a function before it goes live](https://help.fleekapps.com/functionflow-ai/test-a-function/): Run the real compiled function against a sample cart, set what you expect, and read the Why breakdown to see exactly which conditions matched.
- [Try a rule on your live store with test mode](https://help.fleekapps.com/functionflow-ai/test-mode/): Publish a function for customers tagged ff-test only, check it in your real checkout with your real products, then go live for everyone in one click.
- [Publish, schedule and unpublish](https://help.fleekapps.com/functionflow-ai/publish-and-schedule/): How publishing works, what each status means, how to schedule a function with start and end dates, and how to unpublish, archive, duplicate or delete it.
- [Version history and rollback](https://help.fleekapps.com/functionflow-ai/version-history/): Every change to a function’s rule is saved as a version. Compare any two versions and restore an older one in one click.

## Manage & measure

Your functions list, analytics, settings and the Shopify admin.

- [Manage your functions](https://help.fleekapps.com/functionflow-ai/manage-functions/): Find, filter and switch functions on and off from the Functions page, and duplicate, export, archive or delete them.
- [Analytics](https://help.fleekapps.com/functionflow-ai/analytics/): See the orders, revenue, discounts and shipping savings your functions influence — in total, over time and per function — and how they’re counted.
- [Settings](https://help.fleekapps.com/functionflow-ai/settings/): Your store’s contact email, what happens if a checkout rule can’t run, default discount combinations, store details and staff with access.
- [FunctionFlow in your Shopify admin](https://help.fleekapps.com/functionflow-ai/shopify-admin/): Where your published functions appear in Shopify admin, how to create or open them from Shopify’s own discount and customization pages, and what to edit where.

## Plans, billing & data

Plans, free trials, billing and how your data is handled.

- [Plans, free trial and billing](https://help.fleekapps.com/functionflow-ai/plans-and-billing/): Compare plans, start a free trial, upgrade, downgrade or cancel. Billing goes through your Shopify invoice — no separate card needed.
- [Your data, privacy and uninstalling](https://help.fleekapps.com/functionflow-ai/privacy-and-data/): What FunctionFlow AI stores, what it never stores, how checkout data stays inside Shopify, and what happens to your functions and data when you uninstall.

## Troubleshooting & FAQ

Fixes for common problems and answers to common questions.

- [Troubleshooting](https://help.fleekapps.com/functionflow-ai/troubleshooting/): Fixes for common problems: rules that don’t apply at checkout, publishing errors, Shopify limits, schedules, combinations and time zones.
- [Frequently asked questions](https://help.fleekapps.com/functionflow-ai/faq/): Quick answers about Shopify Functions, plans, testing, limits, AI and your data.

---
Source: https://help.fleekapps.com/functionflow-ai/
