# Function examples

## Need some inspiration?

Here are some examples of Functions you can create

### <img src="/files/OCU63k8ZQxzDM5bxPnNO" alt="" data-size="line"> Specify conditions to apply a discount

* Receive a 15% order discount when you spend $200 or more.
* Save 10% off a product when you buy two or more.&#x20;
* Buy five items or more and save 10% on the entire order.
* Buy one and get one free.&#x20;
* Give 20% off to wholesale customers or members
* 20% off with a discount code.
* Free shipping for customers tagged "VIP".
* Create tiered discounts for products with a certain tag.
* Flash sale on items without having to modify the price on each product.&#x20;

### <img src="/files/UuAfzjA3DmMUgpZzYEjf" alt="" data-size="line"> Bundle products and sell as a single unit

* Buy two promotional items and save 15%.
* Buy two items from a collection and save 10%.
* Buy an item from Collection A and another from Collection B to save 15%.
* Save 25% when you buy a product and also subscribe for refills.&#x20;

### <img src="/files/ihSsDISGmB3O1WlwiMbU" alt="" data-size="line">  Change delivery methods

* &#x20;Offer free shipping for VIP customers
* Rename shipping method names for international customers
* Only offer specific specific delivery methods for certain cart values

## Need some inspiration?

Here are some examples of Functions you can create

### ![](/files/OCU63k8ZQxzDM5bxPnNO) Specify conditions to apply a discount

* 20% off with code summer
* Give 20% off to wholesale customers or members
* Free shipping for customers tagged "VIP"
* Create tiered discounts for products with a certain tag

### ![](/files/UuAfzjA3DmMUgpZzYEjf) Bundle products and sell as a single unit

* Run a promotional bundle sale for the summer

### ![](/files/AwIvTGkuwLCyp2bqaqUI) Change payment options

* Enable Cash on Delivery for customers with a certain tag
* Rename payment option names based on cart weight
* Disable PayPal if cart value is higher than $100

### ![](/files/ihSsDISGmB3O1WlwiMbU)  Change delivery methods

* &#x20;Offer free shipping for VIP customers
* Rename shipping method names for international customers
* Only offer specific specific delivery methods for certain cart values


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.functionjunctionapp.com/function-junction/function-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
