Understand Elasticsearch fields for pull request searches
See the fields and types available in an Elasticsearch index when a new pull request starts a review workflow.
Trigger
New Pull Request Created
Triggers when a new pull request is created.
Action
Get Index Schema
View the structure and field mappings of an index.
Why this helps
It is hard to plan a useful search when the index structure and field types are unclear.
- Make available fields and types easier to inspect.
- Prepare more informed searches for pull request context.
- Keep schema details with the automation report.
Setup
Build it in a few focused steps.
- 1Connect GitHub and Elasticsearch once in the Notis portal.
- 2Create an automation named New PR Index Schema Review.
- 3In one instruction, ask Notis to inspect the schema of the relevant Elasticsearch index and summarize fields useful for searching the pull request context.
- 4Pick New Pull Request Created as the trigger and choose where run reports go.
- 5Test with one real pull request and specify a real index for the schema lookup.
Questions about this workflow
Can the workflow choose an index automatically?
The index must be identifiable from your Elasticsearch setup or named in the instruction. The action retrieves a specific index schema.
Does this search documents?
No. It retrieves the selected index mapping, including field structure and types.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Elasticsearch. A trigger fires from one place; an action lands in another.
GitHub triggers
Elasticsearch actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Index Schema
View the structure and field mappings of an index.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List Indices
Lists available Elasticsearch indices.
New Workflow Artifact Created
Triggers when a new workflow artifact is created in a repository.
Query Index
Searches an Elasticsearch index for documents.
Branch Changed
Triggers when a branch receives commits or its protection settings change.
Ping Cluster
Pings the cluster to check its connectivity and health.
New Branch Created
Triggers when a new branch is created in a repository.
Check Run Status / Conclusion Changed
Triggers when a check run’s status or conclusion changes.
Check Suite Status / Conclusion Changed
Triggers when a check suite’s status or conclusion changes for a reference.
New Code Scanning Alert Created
Triggers when a new code scanning alert is created in a repository.
Connect any two apps with Notis in the middle.
GitHub and Elasticsearch, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Elasticsearch.