> For the complete documentation index, see [llms.txt](https://help.dscout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dscout.com/study-basics/design-a-mission/skip-logic-in-diary-studies.md).

# Skip logic in diary studies

With skip logic, you can jump scouts to a particular question based on their response choice.

In the example question below, only scouts who choose "in the water" will see the relevant short response question that comes next.

![](/files/f7f0e0300fdc4d217add8204e934a06a2d12587b)

When editing a question with skip logic, just click the grey arrow next to individual answers (or the question prompt!) to direct scouts to the question they should see next.

![](/files/4872d1ab715d8ff6d5c120ed5484c3e4bc65ca74)

* Skip logic can be applied to all question types.
* Multiple select questions **can not** skip to different question paths (i.e., if option A skips to question 3, option B **can not** skip to question 5). This is because the platform won't know what to prioritize if a scout chooses multiple options that skip to different questions.
* Write all your questions first, *then* define your skip logic afterwards. Moving questions around after defining your skip logic will cause the skip logic to break (disappear), and you'll have to define it again. And we don't want that.
* You're **not** able to program skip logic on the last question in a mission. To activate skip logic on a question you just created, move it up in the question script.


---

# 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 dynamically by asking a question.

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

```
GET https://help.dscout.com/study-basics/design-a-mission/skip-logic-in-diary-studies.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
