# Codebase Questions Answered in Slack With File Paths

Source: https://maito.app/workflows/answer-where-is-this-in-the-code

Mention Maito with a question about your code and it answers with file paths and line numbers, and flags the gaps it finds along the way.

New engineers and other teams get answers about the codebase in chat.

[Engineering](https://maito.app/workflows/team/engineering) · [Software](https://maito.app/workflows/industry/software) · When you ask · Updated October 19, 2026

Works with

-   Slack
-   Email

## How do you answer where something is in the code?

To answer where something is in the code, mention Maito in Slack with the question. It reads your repository, follows the flow from where it starts, and replies with file paths, function names and line numbers. It also notes cases the code does not cover, so new engineers and other teams stop guessing.

## How it's done today

Senior engineers answer the same questions every week.

## What Maito does

1.  Search the code
2.  Explain how it works with file links

## Example

**Noah** (11:15 AM):

where do we send the welcome email?

**Maito** (11:16 AM):

In api/src/auth/signup.ts, createAccount, line 64. After the user row is saved it queues sendWelcomeEmail in api/src/jobs/welcomeEmail.ts, which renders emails/welcome.mjml and retries 3 times.

Invited users get a different template, welcome-invited.mjml, queued from acceptInvite in api/src/auth/invites.ts line 112.

**Catch:** Google sign-ins send nothing. oauthCallback in api/src/auth/oauth.ts creates the account without calling the welcome job, so those users never get it.

From searching the repo. Want me to fix the Google case on a branch?

**Noah** (11:19 AM):

yes please, with a test.

**Maito** (11:34 AM):

PR #922 is open. oauthCallback now queues the same job, with a test for a first-time Google sign-in. 14 of 14 auth tests pass.

## How to set it up

When you ask Answer "where is this in the code?"

Set up

Nothing to set up. Ask in Slack or by email whenever you need it.

## What it won't do

It explains what the code does, not what the team intended. Behavior set in other services or in production settings is outside what it can read.

## Questions

### Which repositories can it read?

The ones connected to your workspace. It reads code and does not change it unless you ask.

### Can people outside engineering ask?

Yes. Anyone in the thread can mention it, and it explains in plain words with the paths behind the answer.

### Is the answer always current?

It reads the branch you point it to, usually main, so it matches the code at that moment.

## More engineering workflows

-   [Turn a ticket into a tested pull request Hand over a well-scoped ticket and get back a pull request with tests. Engineering · When you ask Works with Linear, Jira.](https://maito.app/workflows/turn-a-ticket-into-a-tested-pull-request)
-   [Review a teammate's pull request Get a first review that catches bugs and missed cases before a person looks. Engineering · When something happens Works with Slack, Email.](https://maito.app/workflows/review-a-teammates-pull-request)
-   [Check a change for security problems Look at a change for injection, leaked secrets and missing permission checks. Engineering · When you ask Works with Slack, Email.](https://maito.app/workflows/check-a-change-for-security-problems)
-   [Write the changelog Twice a week, turn merged pull requests into a changelog people can read. Engineering · On a schedule Works with Slack, Email.](https://maito.app/workflows/write-the-changelog)
-   [Nudge stale pull requests Pull requests waiting too long get a polite reminder to the right reviewer. Engineering · On a schedule Works with Slack, Email.](https://maito.app/workflows/nudge-stale-pull-requests)
-   [File a bug from a Slack thread When a bug comes up in chat, mention Maito and it gets filed once, with details and no duplicates. Engineering · When you ask Works with Linear, Jira.](https://maito.app/workflows/file-a-bug-from-a-slack-thread)

[See all workflows](https://maito.app/workflows)

## Put your AI teammate to work.

Set it up in minutes. Start with this one, and let it earn the next one.

[Put Maito to work](https://maito.app/login?returnTo=%2Fworkflows%2Fanswer-where-is-this-in-the-code)[Book a demo](mailto:support@maito.app?subject=Maito%20demo)
