# Example Workflow

#### 1. Create a ledger

Create a new ledger and store the generated API key securely.

#### 2. Create an account

Create one or more accounts under that ledger.

#### 3. Post transactions

Create transactions against accounts and move them through valid statuses.

#### 4. Retrieve statements

Use the statements endpoint to fetch account history for a given period.

#### 5. Process provider events

Receive external provider events through the webhook endpoint and transform them into transactions.


---

# 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://docs.senmo.io/segment-ledger/example-workflow.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.
