Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Bausteine & Hilfsmittel

Bausteine & Hilfsmittel

Bibelstellen anhand von Referenzen für andere Workflows abrufen

Sub-Workflow, der ein JSON-Objekt mit Bibelstellenreferenzen entgegennimmt und die passenden Verse im gleichen Format wie die Bible API zurückgibt. Läuft nur, wenn ein anderer Workflow ihn aufruft.

Was sie bewirkt

# 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 }}

Die Schritte

  1. Entry
  2. ModelJson
  3. API Query to GetBible
  4. Map API Respons to Result

Ähnliche Automatisierungen