Library / Building Blocks & Utilities
Building Blocks & Utilities
Fetch Bible Scripture Passages by Reference for Other Workflows
Sub-workflow that takes a JSON object of scripture references and returns the matching verses in the same format as the Bible API. Runs only when another workflow calls it.
What it does
# GetBible Query Workflow Documentation ## Overview The GetBibleQuery workflow is a modular and self-standing workflow designed to retrieve scriptures based on provided references. It serves as an intermediary layer that takes in a structured JSON object, extracts the references, and returns the corresponding scriptures in the same format as if they were retrieved directly from the API. This workflow is highly adaptable and can be integrated into various projects where scriptural references need to be dynamically fetched. ## JSON Input Structure The workflow expects a JSON object with the following parameters: - References should include the book name, chapter, and verse(s). - Multiple verses can be separated by commas (e.g., John 3:16,18). - Ranges can be specified using a dash (e.g., John 3:16-18). - The Bible translation ### Example JSON Input: json { "references": [ "1 John 3:16", "Jn 3:16", "James 3:16", "Rom 3:16" ], "translation": "kjv", "version": "v2" } ### API Response Format The response returned by this workflow follows the same API format as if the request were made directly to the source API. This ensures compatibility with projects that rely on standard API responses. Example JSON Response (in this workflow): json { "result": { "kjv_62_3": { "translation": "King James Version", "abbreviation": "kjv", "lang": "en", "language": "English", "direction": "LTR", "encoding": "UTF-8", "book_nr": 62, "book_name": "1 John", "chapter": 3, "name": "1 John 3", "ref": [ "1 John 3:16" ], "verses": [ { "chapter": 3, "verse": 16, "name": "1 John 3:16", "text": "Hereby perceive we the love of God, because he laid down his life for us: and we ought to lay down our lives for the brethren." } ] } } } ## Integration and Usage The GetBible Query workflow is designed for easy integration into any project that requires scripture retrieval. Simply pass the appropriate JSON object as input, and it will return the requested scripture passages. ## Support For any questions or additional assistance, please visit our [Support desk]({{ $env.WEBHOOK_URL }} or [API documentation]({{ $env.WEBHOOK_URL }}
The steps
- Entry
- ModelJson
- API Query to GetBible
- Map API Respons to Result
Similar automations
Building Blocks & UtilitiesLook Up Bible Verses with the getBible API10 stepsBuilding Blocks & UtilitiesVisual Reference Library of n8n Nodes and AI Models97 stepsBuilding Blocks & UtilitiesOther Models Prompt Engineer Tool with Gemini and OpenAI5 stepsBuilding Blocks & UtilitiesQuery Bible Verses from the getBible API4 steps