Zapier
How to integrate Greptile with Zapier
Greptile natively integrates with Zapier. See here to get started.
Overview and Examples
Greptile + Zapier allows you to quickly integrate Greptile into your developer tools to make them smarter.
The input is a prompt and one or more repositories, the output is a response with context from those repositories as well as links to specific locations in the code.
Some examples of how you could use it:
- When a new issue is created in ClickUp, send the issue description to Greptile. Greptile will generate a codebase context-aware comment to help the developer get started with the ticket.
- When a test fails in GitHub Actions, Greptile can generate a diagnosis with context from the codebase.
- When there is a Sentry Alert, Greptile can generate a root cause analysis with context from the codebase.
Authentication
To authenticate Greptile, you need a Greptile API key and a GitHub token.
Greptile API key can be provisioned here.
GitHub token can be provisioned here. Ensure it has access to the target repositories.
Greptile API Key must be formatted in the field as Bearer api_key
.
Input and Output Formats
The input is a messages
array that contains the prompt and history of prompts/responses for conversational usecases as well as a repositories
array that contains the repositories to reference.
The output is a json
with message
and sources
.
Sample Input:
messages
:
repositories
:
Sample Output:
The output looks something like this: