> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/page-structure-and-elements/pagefly-elements/containers/slideshow.md). Agents can also search and read this documentation through its [MCP server](https://help.pagefly.io/~gitbook/mcp).

# Slideshow

### About PageFly Slideshow Element

The Slideshow Element is made to show several content items in one area, boosting your conversion rate. Use it to feature products, sales, testimonials, and more.

Watch our video for detailed steps on setting up the PageFly Slideshow element.

{% embed url="<https://www.youtube.com/watch?v=q7AuWCqKpZk>" %}

#### Types Of PageFly Slideshow

We offer many kinds of slideshows to fit your needs. Currently, you can choose from six types:

| Blank                           | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeGpDzCssxmzHcKGAl9nb-sY3p1jMl3nI8Pn0FkJl9pwUnkTMwysEUwfJ9Dwz83EJOoAefpb2Z-6fU9NIUkzDgZdiKG5p0BacF26Ie-tNT1UCPTbG6PiqHJ_Pu81VsXMkrl9DweW1UP8Nrl2oFIusQTQVc?key=Fcf8YeOu5ePV_gFR8uKJ0g)  |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Single image                    | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfPlY03IJwpzHu1x6zhLj2WP7ib6d2ms7x3lLNQbmiup5HuPNFRbICCT1vdxJ9tUNhJnyFbA7k5CRp7O3xGGAS97mJg-DwNvKOHkmuGdJfLcaqcU30ZrSOuF0tNeXH2LSWO07OhbFOMcg4F7WT8nJFlPlfV?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| Image list                      | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdrVIrQVb_kPVWxSrzNia54QQ8r_48HXFruE6DnvcqarUUqYdfPJkWZgiZAIyqc6MsGI0qmhxlMP8VeFwlGpZBaiz7WVOO2-o0N9-3tVUwc7wXuS1wSNli6BgRmy-QOAaA5P-_GyR0Zovx7yKpJNSY4l0ON?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| Text overlay image background 1 | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdebDUiu8xSTrIy6nKsU3YNeeFfocte5076CweDZLl9aqayo5JeYVuTA-39zoyRMusGSCHWZM9YEhBxjdnS6Tys79YB1DNmkLDvY53aEFBznp3-0DDOgmzxfthv7pAG51h8GkTrZEwXL9Lvm-j7WLC_zCK5?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| Text overlay image background 2 | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeoorGu3xe0dLKgiWEOEviu3dflsG0HUObH_M_nicbLQbZ1zfybi0wAsjHKm3G6Gfiq2uLmahhRRpWIUZc-GLFcm0Ei21vxf24Upq2uHAmrxnn-5ejd1rATlYWcDucOcsWVgiCQ9NCEfu7qlpZyUBCzQYIt?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| Video                           | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeEXrQHoqEz9kkC6Fyi52tqjUDr9-RpC9uY116b2pUtdtIHlJWv-pNbS3-EAR7ITECuItPqKwm_k61y3APrjFZedY7qBDCwFEGfIugHpqKMu2gSbS4tnUAFKCobXpzFlfwIlNW9keiaLl_KwXKmv8neKSBZ?key=Fcf8YeOu5ePV_gFR8uKJ0g) |

You can add more elements to the slide to customize it to the form you want.

#### PageFly Slideshow Element's Structure

All slideshow types follow this structure:

* For Gen 2 Editor: Slideshow > Slide 1 > Slide content (image, HTML video, heading, paragraph,..)

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-5bfdcd3fd651351081d7f4c5e4595f13aab1c2ba%2FAD_4nXcpAemyHlyJJd4MRCVHxqAlV_KWkXOYVxf5wJLLMBKPacrzBIPFE13BjmVv0Pm6_Mpab9J6cWdIRQNhtwK76g5lRi2bZIJAH0Nq7bD7qufXbuP15UjMpI9L5l4-QBd3Grm0OllTqB8jJCEMNk71iwkeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

* For Legacy Editor: Slideshow element > Slide element > Row > Column > Slide content (image, html video, heading, paragraph,..)

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-0f8d612a87c441d377c717bd07e020edaf2b7636%2FAD_4nXfCscPMtUXNL8bLQ0A6lK5HM_o8LVdawtAe74euRSTGmPFb7FL7fMDH0EcA9xgo4YjiJXt5ZVju6RSnXMyA0eib0FQgeGKOriaQd4zw7R3PW3gvfxOM6PAQjj64Jhy5H4NFTqJVxkSC_hYz4_CekeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

### How To Access The PageFly Slideshow Element?

In the PageFly editor, click on the "Elements" icon, located as the second icon from the top on the left toolbar. Then, in the "PageFly" tab > choose "Slideshow".

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-cb4a0871dcd675ecddcedc265fc597bc671950e7%2FAD_4nXfRZ49yOF6QQyDPasHZWoqVqsMnWCMlHSqVvExuW0pJt5qo4xSLLE-O4_ywJH2q3OP6GzcCJob8w90Hg7BpxA66vQjH0Nl5LkXCq33SiGGsB6DMw7GazliulwdB_WoUhB0HAC8XGxIgyjRMpliJkeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

### How To Configure The PageFly Slideshow Element

#### General Settings

| <p><strong>Slides</strong></p><p>Control the number of slides. Options include duplicating, adding, or removing slides.</p>                                                                                                                                                                                                                                                                       | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdfMoqKlT4Og4PjKWEYab9B3U4eRypbusPH8QW9mms1q2T0w7mBpXEknau5gP0liniFN0WB4zRVec7OHZIh6loxWmTgemR2Jv4kb0Vp-XwB3n0S899W8JKf27aYRFSI5CAOiC8S_OGlu2CG9-XZT_eX9mWU?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Items Displayed</strong></p><p>Decide how many slides to show at once. This depends on how many slides you have.</p>                                                                                                                                                                                                                                                                   | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdnKnb4-VBBVwtk5bi0p9D2_4uCeZz3SnGVsVhLvbNeXHGhZICrX6_xDpIbo4BHZazr7PcNKZKNNAhmePjI5KgTvasXHgIw5LAgihdmdUfmNiHw-9pbPxpWh2LsA0B-Eo3dS98EtmI6ZjWYM92xcSdoxiUZ?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Items To Scroll</strong></p><p>Choose how many slides appear after clicking the navigation button, depending on your "Items Per Show" setting.</p>                                                                                                                                                                                                                                     | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcH9EAsAe1A6eSuPPdet3G0RSnZmOYOQ5t1QPJK1BVae8braCmyCVMbVIn1Lp4Tg3wfFCYJLhtppCNW9wuRq6pNRNBo15bDb5T_wPnhkzsfzlZBWI3p6Q09gUzcWsVcZWwciC5cwNfdo0WmppdZvYBX-B6E?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Items Spacing</strong></p><p>Adjust the space between slides.</p>                                                                                                                                                                                                                                                                                                                      | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcXfFcrPTOJIB5hJyYQ44URBARXaPiviFR6pTISX2JBJPbDcnzfP5FQJBNqNrT8KkK7Ak_rH-jFjLKlWU2r3YECuwDirA7kVleh3H3MtqqA25D4PQc-i9Fx_NvPkluIGodQnDQkGjDdapU_LxL9KEDlV1lV?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Display Partial Items</strong></p><p>Enable viewing parts of the previous and next slides.</p>                                                                                                                                                                                                                                                                                         | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdGrOMJZZPgW1A2qZLcgDCRn4zTZoryKXG7q7Fn5c5ZWubYrrc9A6nhYoQD4p6zJbziOEdByI8xmbyM0uCbiNLJcp4IeqSrJGni1PzFzzAw5zvTpO9y9HoNNyuALtZ20E4IP9IN70wkQntUnFMdMzxx21Ws?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Navigation</strong></p><p>There are 5 different styles for the left/right arrow navigation button on the slide.</p><p>You can choose None and navigate between slides by clicking on the pagination.</p><p>Please note that some navigation options only appear on mouseover. And on mobile, all navigation types will be displayed as default.</p>                                    | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdFSl_ViB9y7rauWEUD6OGemtSW6H269t2P-Fy0IuL5SWN-qyvI7VfuMyDHD7YmOO_082EWEwNdC9NZ-4wwuEXBmenKLUsQy-zJ9zHQIETACsAL5QKfPNx3FLpaycdQcg9zYpI4kgn6KZAc5YweUZVxwgQ?key=Fcf8YeOu5ePV_gFR8uKJ0g)  |
| <p><strong>Pagination</strong></p><p>Select from three pagination styles.</p>                                                                                                                                                                                                                                                                                                                     | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdhf7jTaZs6Ogim_4W59ihhUe5cZx3T92aiDhQ08yKVm4TWPZrQdSgtrEgARdqH3erPt1qLw-hJAqf39xuB4BvAVfAF7fRLc_HhaPeroGuMDrtHNx1-8BQ751J0DZaTvDj4I-2X5tqtSgF6rnNy4hh5TBj-?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Set Max Height</strong></p><p>If turned on, the slideshow height will max out to the height of the tallest slide in the slideshow including invisible ones.</p>                                                                                                                                                                                                                        | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXekEsJYk2uLpN9CYXKaQthMGBbvrb9zwFsxGNxkCEj2yldcRI6uH6FxwNqy_rGVk4SR1CDCWwHAvwZD8D79JTZ_adiQOduaNqHPx9r0-D_f129p98r52JHRzCJ558Wxh3yZqTkp_qkJXM8fack2Se_-P9bK?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Enable Auto Rewind</strong></p><p>Go back to the first slide after reaching the end.</p>                                                                                                                                                                                                                                                                                               | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdyl0Cz78zN_qL32GLq1L0u_KMfy-a97pd4AZ_YVcOIBhpfdvhMiIzsOaLN2oTwQVGiYgXsXJTmIJ2SIFRu7Ci2nBmkVSvBDmOyhtGX3KZ6PG57dYgYuAH2xRzHg2m_64lzdfBNDVv4Pa2nIjTVan7QXKE?key=Fcf8YeOu5ePV_gFR8uKJ0g)  |
| <p><strong>Enable Autoplay</strong></p><p>Enable / Disable autoplay of slides in the Slideshow.</p><p>This works on the live page only.</p><p>If you turn on Auto Rewind and Autoplay, your slide will auto-play to the end and turn back to the first slide.</p><p>If you turn off Auto Rewind and turn on Autoplay, your slides will autoplay from the first slide and stop at the last one</p> | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXf89WSTqdb5kpPbVvUBO3K9QYMFRsy9LWLS_RtdfJMiYidE26CIBBrRg1HOZSyRGdxBo8t7LlkHe8Vgf3HMvmyt9MCsFTiaSIygQcZo7uxmYz7VQBhR-DviazJCvDR1OyCgVgKb8Px6j-RzEHS-m5KHhb9x?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| <p><strong>Slide Delay</strong></p><p>Adjust the speed of your slide when you turn on Enable Autoplay.</p><p>The minimum speed is 1 second and the maximum is 20 seconds.</p>                                                                                                                                                                                                                     | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdMfTY-YwvdV-l3FPBlPByOlOIoIpo75oVhztppLZ1J-N2YluaJXa2z-lkrdWwg5pvDiv6-qFfnWp1FW0ihnqlS8Mh8fM_XVIwVY40Xp3FgoIgJBdr_KOGLp9OzAa8UAEi4oaYeQu7KTv-kigWWNP08fdQ?key=Fcf8YeOu5ePV_gFR8uKJ0g)  |
| <p><strong>Pause On Hover</strong></p><p>When turning on Enable Autoplay, you can select to pause the autoplay by hovering on a slide.</p>                                                                                                                                                                                                                                                        | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9ONFWRUph1FYd00PSJ5jweIniTgD2zXKxqF14xmns8JyZbKrutCt0K_ZoczDROz65eGY6TgYI32nM1IwOsbiijj1IcF91mu7XDhorQmzKKpkpyGOqoJKPw6vj9DyVej8n7dprnbJhO8nZE2UHjaKABzHg?key=Fcf8YeOu5ePV_gFR8uKJ0g) |

You can get further information about VISIBILITY, ATTRIBUTES, and ANIMATION parameters [here](https://help.pagefly.io/manual/elements-general-settings/)

#### Styling Settings

You can check more information about the Styling tab [here](https://help.pagefly.io/manual/elements-style-settings/)

### Fade Transition, Zoom And Progress Line

Three settings change how a Slideshow moves from one slide to the next. You find them in the Slideshow's **General** tab > **Content**. All three are off by default, so slideshows you published earlier look the same.

* **Transition**: choose **Slide** (slides move sideways, as before) or **Fade** (the next slide fades in over the current one). With **Fade**, the slideshow shows one slide at a time on every device, so **Items displayed**, **Items to scroll** and **Gutter** do not apply. The fade needs at least two slides.
* **Zoom the incoming slide**: appears when **Transition** is **Fade**. The slide that fades in settles from a slight zoom.
* **Progress line on the active dot**: appears when **Enable autoplay** is on. The active dot or dash fills up during the **Slide delay**, then the next slide shows. It needs a **Pagination** style: with no pagination there is no dot to fill.

To set up a fading hero banner with a progress line:

1. Select the Slideshow > **General** tab > **Content**.
2. Set **Transition** to **Fade** and, if you like, turn on **Zoom the incoming slide**.
3. Turn on **Enable autoplay** and set the **Slide delay**.
4. Choose a **Pagination** style, then turn on **Progress line on the active dot**.
5. Save and publish the page.

{% hint style="info" %}

* The fade, the zoom and the progress line play on the live page; the editor shows the slides as usual.
* **Transition** is not available when **Pin media on desktop** is on.
* An element with a "When visible" animation placed in the second slide or later of a fading slideshow waits until its slide is shown, then plays its animation.
  {% endhint %}

### How To Configure The PageFly Slide Element

#### General Settings

The Slideshow element is the combination of multiple slides and you can edit and settings for each slide.

| <p><strong>No. Of Slides</strong></p><p>Show the number of slides of a slideshow. You can duplicate, add or remove a slide.</p> | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdMGhw813AGGcMCtk8_0MvLzBtchnjpVxBBfzQ6-FKPlRPVRqzg7WsaUggY-edAtxGvVwgm3qWJ3SS1ctflHjTgshzdcHA8814L20pHsLY4h12NFXY5WaVHqIcu-HA_rycJx0UZit9IgMX3AHNTwlyKIh8J?key=Fcf8YeOu5ePV_gFR8uKJ0g) |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Name</strong></p><p>Change the name for each slide by adding text in the placeholder</p>                             | ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcDL7AEK6JNH_45lGwWeRiWjY9hr_bxJzm73EcQBeUYMzj86_rYow6z9UXq95auFUdAawnrAxLwvWGjZ9GDskj04Eqkn-zQMHa_y01jh000LkjUtpMBFr7RNrlBvIXJKYOkZG1EDTXPRweyv2HJuY7em3ga?key=Fcf8YeOu5ePV_gFR8uKJ0g) |

You can get further information about ACTION, ATTRIBUTES, and TRACKING parameters [here](https://help.pagefly.io/manual/elements-general-settings/)

#### Styling Settings

You can check more information about the Styling tab [here](https://help.pagefly.io/manual/elements-style-settings/).

### How Autoplay Behaves On The Live Page

These rules apply to every Slideshow with **Enable autoplay** on, including slideshows you published earlier. You do not need to change any setting.

* **Waits until it is seen**: the first slide delay starts when the slideshow first comes into view, not when the page loads. A slideshow far down the page does not move on before the shopper reaches it.
* **Pauses when out of view**: autoplay stops while the slideshow is scrolled off screen or the browser tab is in the background, and goes on when the shopper comes back.
* **Respects reduced motion**: when a shopper has turned on "reduce motion" in their device settings, a slideshow with arrows or dots does not play on its own; the shopper moves through the slides with the arrows, dots or a swipe. A slideshow with neither arrows nor dots keeps playing, because that is the only way to see the next slides.
* **Pause on hover works with a mouse only**: with **Pause on hover** on, the slideshow pauses while the mouse is anywhere over it. Tapping on a phone no longer stops the slideshow for good.
* **Picks up where it left off**: after a pause, the slide delay goes on from where it stopped instead of starting over.
* **A slide the shopper chooses gets its full time**: after a click on an arrow or a dot, or a swipe, the chosen slide stays for the whole **Slide delay** before the next one shows.
* **Stops at the last slide without auto rewind**: when **Enable auto rewind** is off, autoplay rests on the last slide. If the shopper goes back to an earlier slide, autoplay continues from there.

### Common Cases

#### Use Slideshow As Hero Banner

Using a slideshow as a hero banner is popular. For the best CRO score, show slide indicators, use autoplay with a 5-7 second delay. However, avoid using a slideshow for your hero banner if you only have one slide.

Excessive nesting of elements can complicate page structure, increase HTML code, slow down page loading speed, and make editing more difficult. If you only want to display a single-image banner, consider using a one-column section instead.

For more information on creating hero banners in PageFly, please refer to our [detailed guide](https://help.pagefly.io/manual/create-a-section-with-image-and-text/%23how-to-create-one-column-section).

#### Make The Slideshow Full-Width

**Gen 2 Editor**

To stretch the slideshow across the full screen, set its section to full width. This can be done by clicking the section, going to the Styling tab, and picking "Fill container" for the "Content width" option.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-a6e9750b7700a1e807ec21e0524082665dd030b0%2FAD_4nXeaq63IEs4BKSguOZ6XVcAAqw0wwsvi6G25sCRho0GYADTi3JaV_2EYdZLGTEgDaonyhPMgbzCXfdArtlQlNuYvbd0FRIrR4GLoeNMOdWqsx5mzzE47_1TGK_MsdVN8A4cmW3QJQyBBQ_Xf-OdYGwkeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

**Legacy Editor**

To stretch the slideshow across the full screen, set its section to full width. This can be done by clicking the section, going to the General tab, and picking "No" for the "Set Fixed Width" option.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-a81c0735c74aa1af8ebdc47aafa95c6a010f4ec6%2FAD_4nXdmooex0G3q6jzBorlbYDnwqXwy1WtPr-mBgkWPnLPuu8-bPdD8vJ1qTmFZranZ9catLYJjUqaex3ZQg1_Lpi0N3KwMLzgvSgq2bo-gOLAK7SeZ-vXTonN0cWIZpsltuUlfYU-Y14SwGpYHhY0qDgkeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

#### Change Slide Height

To adjust the height of a slide, click on it, go to the Styling tab, and change the padding at the top and bottom.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-db6ac93e99013a868919f427088c227b303f7fc8%2FAD_4nXf9PFuKidVTjH7B0xAgVCnRht-xOm9OaDbdUtPjsUhj6F7QTGC4R4NHdQwfBF7A7alQp0y13EwDiXPvNlOmfy8fsR4Z7FBhPyivvOYTiXEIjtcxaxjM4LWi-hiBbvEscntpOD3dRof6z6_uwfG0bAkeyFcf8YeOu5ePV_gFR8uKJ0g.png?alt=media)

### Frequently Asked Questions

**1. What's the PageFly slideshow element?**

It's a feature that lets you put different kinds of content together in one slide, making your page look neat and improving conversion rates.

**2. What types of content can be added?**

On a single element, you could add slides and items, as types of items are single image, image list, text overlay image and video. Then, you can freely edit the settings of each item, including: to show, to scroll, space and to navigate.

### Related Resources

* [PageFly Styling tab](https://help.pagefly.io/manual/elements-style-settings/)
* [PageFly General tab](https://help.pagefly.io/manual/elements-general-settings/)
* [5 Steps to Create Full-width Section on PageFly Pages](https://help.pagefly.io/manual/create-a-full-width-section/)
* [How to create homepage](https://help.pagefly.io/manual/how-to-create-a-homepage-with-pagefly/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pagefly.io/page-structure-and-elements/pagefly-elements/containers/slideshow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
