ZASTRAGuide

Connectors and chat channels

ZASTRA can connect to external services without indexing them. Create a personal connection under Settings → Data sources or, as an administrator, a central connection under Admin → Company data sources. The list of offered providers depends on the installed connector modules and provider configuration; a tile in the UI is not proof that its credentials, APIs or scopes are already provisioned.

Private services and network grants

Public destinations are checked when connecting. A private or on-premises endpoint needs an administrator's grant for the account owner, connection type and exact origin. An origin contains the protocol, hostname and port, such as https://files.example:8443 or postgresql://database.example:5432; it covers every path at that origin. It does not cover an alias, another port, another protocol or another account. Normal Gmail and Google Drive authorization uses Google's managed public endpoints and needs no private-network grant.

An administrator opens Admin → Company data sources → Connector and workflow network access, chooses the active account owner, selects a connector type, enters the exact origin and selects Add grant, then Save network grants. Use Workflow HTTP requests or Workflow SQL for those agent operations; connector grants do not carry over to workflows. Stored workflows use the executing agent's owner; an ad-hoc SQL test uses the signed-in account. Complete administrator sign-in and any required WebAuthn verification. Ordinary users and Raggy cannot grant network access.

Metadata, loopback, link-local and application control addresses remain blocked. A separate service on another port needs its own grant. Enter the final service endpoint if a connection redirects. Ask the installation operator to configure private certificate authorities. MySQL and PostgreSQL require verified TLS and explicit database credentials. S3-compatible storage requires explicit access and secret keys.

After a denial, review the saved owner, type, origin, external permissions and certificate trust, then test the source again. If the source changed during a request, reload it first. Remove a grant and save to block later connections; a request already in progress may finish. If another administrator changed the grant list, reload and review it before saving your changes. Generic Mail connections use the separate administrator mailbox policy.

Pick a source

Source family Examples in the connector catalogue Typical setup
Cloud files and collaboration Google Drive, OneDrive, SharePoint, Box, Dropbox, Confluence, Notion, SeaFile Provider app registration or OAuth; choose sites, folders and an account.
Object storage S3-compatible, Google Cloud Storage, Azure Blob, Cloudflare R2, Oracle storage Endpoint/bucket and a scoped service identity.
Databases and analytics MySQL, PostgreSQL, BigQuery Read-only account, network access and selected tables or queries.
Code and project work GitHub, GitLab, Bitbucket, Azure DevOps, Jira, Asana Repository/project permission and a bounded selection.
Mail and collaboration messages Gmail, Outlook, Mail (IMAP/SMTP), Microsoft Teams, Slack, Discord, DingTalk Mailbox/channel identity, consent and access mode.
Web and service feeds REST API, RSS, Sitemap, Zendesk, Moodle and installed specialist connectors Base URL, authentication if needed, pagination and update rules.

The connector form for a provider is the source of truth for required fields. Grant only the external permissions needed for the intended action. A private mail connection is not a substitute for a private indexed dataset: if you later index messages into a shared dataset, that indexed content follows the dataset's sharing policy.

S3 object storage

For AWS S3, choose the bucket's AWS region and enter an access key ID and secret access key with bucket listing and object reading permissions. The region must match the bucket. Choose S3 Compatible for another object-storage provider, enter its final endpoint, supply its access key pair, and select the virtual-hosted or path addressing style required by that provider. AWS IAM roles and AssumeRole are not available for this connector.

Connect, then decide whether to index

Saved connector passwords, tokens and keys appear masked. Leave those fields as they are to keep the current credentials. Re-enter the credentials when changing the connection destination.

Use the field labels to identify inputs and Tab to move through the connection form. Required fields are marked with an asterisk. Optional text and number fields may be left blank; values you enter must still satisfy the field's format and bounds. A numeric zero is accepted when the displayed settings allow it. Disabled choices cannot be changed, and long option labels wrap on narrow screens. Use Show password and Hide password beside a secret field to inspect or mask its current value. Adding or deleting a tag edits the form; use Save to apply the changes. When reopening a connection, review the displayed selections before saving. If validation fails, read the message beside the field, correct the value and retry Test connection or saving. A successful connection test verifies access; it does not prove that documents have been indexed.

You can ask Raggy to test an existing connection using the authorization already saved for your account; never paste credentials into chat. A test does not save changes, reconnect the provider or start indexing. If saved authorization has expired or been revoked, reopen the connection and complete its normal sign-in or credential update before testing again.

When Raggy changes a saved connection's selected folders or schedule, its other saved settings and sign-in details are kept. To change accounts, complete authorization in the secure connection form and review both the account and the selected content before testing and saving.

  1. Create the connection, complete provider authorization or enter its service credentials, and run Test connection. If OAuth redirects fail, check the public HTTPS origin and provider callback registered by your administrator.
  2. Choose the intended folders, repositories, tables, mailbox or feeds. Review the scope before any large import. In a personal account, only you may inspect and operate your connector; sharing a resulting dataset does not share its credentials.
  3. If the goal is document retrieval, link the source to a dataset and run a small first synchronization. Inspect the source identity, original links, extracted content, owner and logs. A source can remain connected without any dataset or scheduled indexing. If synchronization fails, check the outcome in the data source history. Test the source connection before retrying. If the failure persists, give the installation operator the job time and outcome.
  4. Enable recurring synchronization only after the sample is correct. Check its last run, errors and how deletions/updates are handled. Scheduled synchronization continues when the browser is closed.

When several synchronizations are due at once, some may wait until an active run finishes. Check the connection’s synchronization history for the start time, result and any errors.

In a completed synchronization summary, total counts documents submitted for indexing because they are new or their content changed. added is the number of new documents; updated is the number of existing documents whose content changed. Unchanged documents are skipped and are not included in these counts. A zero count can therefore mean that a scheduled check found no content changes; check each document's processing status separately to confirm parsing has finished.

Changing an OAuth permission or losing provider access may require reconnecting. Keep tokens and service credentials in the connection's protected configuration; exclude them from shared workflow exports. For mail drafting and sending, use the separate access and workflow guidance in Data sources and mailbox automation.

Generic mailbox connections

For a generic mailbox, use the Mail source or Mail → Add mailbox. Reception and submission belong to one private connection: enable IMAP, SMTP, or both, choose allowed actions and test the saved settings. IMAP uses verified TLS on 993 or STARTTLS on 143; SMTP uses TLS on 465 or STARTTLS on 587. POP is not available. Microsoft 365 through these protocols uses the administrator's shared application registration plus each user's OAuth consent; Graph-based Outlook remains a separate supported option. Mail reading and agent automation do not require a dataset. See Mail setup, drafts and delivery.

Personal Gmail and Google Drive

An administrator first enables Gmail API and Google Drive API in the intended Google Cloud project. Under Google Auth Platform, configure an external OAuth application and a Web application client. Register both callbacks using your deployment's public HTTPS origin: /api/v1/connectors/gmail/oauth/web/callback and /api/v1/connectors/google-drive/oauth/web/callback. In Testing, add the actual Google account under Audience → Test users. Keep the downloaded client JSON private.

Sign in as the ZASTRA user who will own the connections. In Settings → Data sources, create separate Gmail and Google Drive connections with that Google account's address. For Gmail, choose One mailbox and Read only when only reading is required, or Read, create drafts, and send for both mail actions. Follow mailbox automation when configuring the actions that use this permission. Upload the OAuth client JSON, select the callback for the corresponding provider and complete Authorize in browser with the intended Google account. Test and save each connection. Saving either connection alone does not import content or schedule synchronization.

For personal Drive, enter the authorized account in Primary Admin Email. With OAuth, My Drive Emails must contain exactly that same Google account; it can access only that account’s own My Drive. To connect all of its My Drive, enter the same account in My Drive Emails and leave Shared Folder URLs empty. A different or additional account is rejected by the connection test or synchronization. To select folders instead, leave My Drive Emails empty and enter the accessible Google Drive folder URLs. For a service-account connection, list only the workspace users whose My Drives it should scan in My Drive Emails; the connector impersonates those users. Entering both a My Drive and folder URLs includes both selections; a folder URL does not narrow a selected My Drive. Review the selection before linking a dataset or enabling indexing.

Test a configured folder before saving it. ZASTRA checks that each selected folder exists, is a folder and can be listed. If access is later removed or the folder is no longer available, synchronization reports a failure instead of treating the folder as empty; correct the Drive sharing or folder URL, then retry.

Each synchronized file records its Google Drive file ID, name, link, MIME type, and the provider’s creation and modification times in the document metadata. Owner addresses and sharing permissions are not copied into this metadata. An incremental sync only revisits files changed since its checkpoint, so existing unchanged documents do not gain or refresh these fields automatically. A full source refresh revisits every selected file, updates the Drive-provided metadata, and can do so without re-parsing files whose content has not changed. Unrelated metadata that you added manually is preserved. If fields remain empty afterward, confirm that the file is still accessible and the Drive connection can read its metadata.

ZASTRA selects the provider’s callback from the uploaded client JSON and requests only that connector’s permissions. Confirm the proposed callback before authorizing. Complete every requested permission with the intended Google account. If the popup is blocked or unavailable, select Open Google authorization to continue in a new tab. Keep the ZASTRA dialog open: it retrieves the credentials automatically after consent, even without a popup callback. Refresh status can retry retrieval after a temporary network interruption. Authorization sessions last 15 minutes; if a session expires or fails, select Authorize with Google again for a fresh session. After changing Gmail’s access mode, authorize again for the selected permissions, then test and save. A saved connection’s refresh token is not subject to this 15-minute setup deadline.

If Google reports redirect_uri_mismatch, make the callback in ZASTRA match the registered URL exactly, including scheme, host and path. If authorization is blocked in Testing, check the selected Google account and test-user list. Testing refresh tokens for these scopes expire after seven days; authorize again to recover. For continued use, complete the application branding with the appropriate public policy links and change Audience → Publishing status to In production before authorization. Google allows a personal-use verification exception for a limited group of known users; an unverified app still shows a consent warning and has a 100-user cap. Broader public use may require verification. Production status removes the Testing expiry, but tokens can still be revoked. A disabled API or revoked Google access also requires correction before reconnecting. Keep personal connections under their intended owner and review dataset sharing before importing mail or files.

Browse selected source files

On a saved source’s detail page, select Browse files when available. Google Drive supports this for explicit Shared Folder URLs. The view reads file names, types, sizes and modification times without downloading content, saving settings or starting ingestion. It covers those selected folders; other My Drive or shared-drive selections are not part of this view. Only the source owner can browse it. Sharing an indexed dataset does not grant source browsing or credentials.

Save or cancel pending settings first. Open folders to inspect their contents; subfolders are not counted recursively and shortcuts are not followed. With several selected roots, choose a folder first. Use Next page, including after an empty intermediate page, until no further page remains before reporting a folder’s inventory. Back to parent view restores the previous folder view.

Pages expire after 15 minutes and are tied to your account and the saved source settings. If access, settings or a folder’s location changes, use Restart from selection. An incomplete or failed listing is not an empty folder or a completed import. Check source permissions or reconnect if necessary, then retry browsing. Use the normal dataset controls to ingest content, and verify processing and retrieval separately. Raggy can use the same metadata operation when you ask it to inspect selected source files.

data.public.lu open data

In Settings → Data sources, add data.public.lu. This source covers the public Luxembourg catalogue, including statistics, transport, environment and judicial collections. It needs no catalogue account or API key. Enter comma-separated dataset IDs or slugs, an organisation ID or slug, or a catalogue search. An organisation selection discovers newly published datasets on each run. If dataset IDs and an organisation are both supplied, only datasets belonging to that organisation are included.

Resource name filter selects resource titles using a regular expression. Folder inside archives selects a relative folder in ZIP resources; Archive file filter matches complete paths inside ZIPs. Leave those archive fields blank for all matching files. File formats narrows ingestion to extensions such as pdf or csv,json; blank includes supported documents, tables and text. Other binary formats, including GIS packages, require conversion. An empty resource selection fails the connection test; a selection with no supported matching files fails visibly in synchronization history. Resource URLs, catalogue identities, archive paths, publisher and licence are preserved as document metadata.

For published judicial decisions from 2026, choose organisation administration-judiciaire, resource filter ^2026\.zip$, and format pdf. Leave archive folder and file filters blank to include the full contents of each 2026 archive. This is one selection within the general catalogue source. It covers published judicial collections from that organisation; publication delays and unavailable decisions cannot be recovered through ingestion settings. Review the selection before linking a private dataset. Use automatic parsing, batches of 4 and at most 24 files waiting for parsing for a large PDF collection.

Linking a dataset starts its first synchronization immediately. With automatic parsing, a completed catalogue run means matching changed files have finished parsing. Unchanged documents keep their existing chunks; changed files use their saved document parsing settings. Download or parsing failures remain visible in history and a later scheduled run is queued. For parsing errors, open Dataset → Documents, inspect failed files, correct parser or model settings, retry those files, then resume the source. Stopping the source stops further submissions; submitted files may continue parsing. Interrupted selections resume after an application restart and skip unchanged files. Only the source owner can operate its configuration; indexed content follows dataset sharing.

New catalogue sources allow 86400 seconds (24 hours) per run by default. Adjust Timeout Secs on the source detail page for your collection. A timeout ends the current run and leaves its error in history; the next run skips files already submitted with unchanged content. Large first collections can take several hours while the bounded queue waits for parsing.

Catalogue metadata is stored directly, even when extra AI metadata extraction is disabled: collection and resource titles/descriptions/IDs, publisher and licence, tags, update frequency and temporal coverage, creation/modification timestamps, file format/checksum, source URL and archive member path. The source fields are not generated again by a model. A catalogue or ZIP timestamp describes the collection or resource; it is not the date of every judgment inside it. Add optional document extraction only for fields evidenced by the individual file, such as court, decision date or topics. Synchronization refreshes catalogue metadata even if the file has not changed, while preserving additional document labels and existing chunks. For an older import, synchronize its source to obtain the current catalogue fields, then explicitly reparse only when document extraction settings have changed. If source metadata cannot be saved, synchronization reports an error; resolve the storage problem and resume, then verify the file’s metadata and processing status. If synchronization history reports that catalogue working storage cannot be opened, ask the administrator to check the installation. Resume the source afterward and confirm that the next run completes.

Ingestion schedules

Choose Every N minutes or Every N hours for an interval. Choose Daily at a set time for a local clock time, or Weekly on a set day and time for a weekday and clock time. Daily and weekly schedules require an IANA time zone. For 9 PM each day, select Daily, enter 21:00, and set Europe/Luxembourg.

Save and confirm the schedule on the source detail page. Changing settings queues the next occurrence; resuming or explicitly running the source starts immediately. Scheduled work continues when your browser closes. Daily and weekly schedules follow daylight saving: a missing local time runs at the first valid minute afterwards, and a repeated time runs once. A missed occurrence catches up once when the service returns; the next run uses the next scheduled clock time. Catalogue runs for the same source and dataset do not overlap. Check source history and document status if a run is late or fails; resume stopped sources. Offered schedule controls depend on installed ingestion capabilities.

The source history shows Time started, task type, status and a summary for each run. The start time is recorded when the worker starts and stays unchanged as document counts advance. A scheduled or pending task shows a dash because it has not started; a scheduled task’s summary shows the countdown to the next run. Sync summaries count processed, added, updated and failed documents; removal tasks count deleted documents and errors. A successful run with zero changed documents is normal when the source is unchanged. If a run fails, inspect its error and document statuses before retrying.

For data.public.lu and Legilux, failed runs use standard messages for connection failures, incomplete processing, timeouts and unavailable working storage. For incomplete processing, open Dataset → Documents and review the failed files. If working storage is unavailable, ask an administrator to check it before retrying. Older failures can display a general message when the exact cause is unavailable.

Chat channels

Settings → Chat channels publishes a configured chat to a supported messaging platform. The available selection can include Discord, DingTalk, Feishu/Lark, QQ, Telegram, WeCom or WhatsApp. Each platform has its own bot/app registration, callback or webhook, signing credentials and rate limits. Choose the chat to expose, enter the provider settings, save and send a test message in both directions. If incoming messages arrive but replies do not, inspect the channel's credentials, callback reachability, selected chat/model and server logs. A chat channel inherits the chat's datasets and audience policy; do not publish a private chat to a wider audience without reviewing the source access and expected recipients.

Only the owner of a chat channel can edit or delete it. Saved bot credentials appear masked. Leave the masked fields as they are to keep the current credentials. Re-enter the credentials when changing the connection destination.

Temporary Google retrieval failures

Gmail and Google Drive retrieval automatically retry temporary rate limits, server failures and connection timeouts up to two times. The folder, mailbox, filters and page selection remain the same on each attempt. If a Google Drive file still cannot be retrieved, the synchronization is marked failed and its successful checkpoint is not advanced. A failed or incomplete Drive listing is never treated as proof that unlisted documents were deleted. Inspect the failed synchronization in its history, check the selected Drive or folder and its permissions, then retry when the scope is accessible. A permanent authorization error requires correcting access or reconnecting the affected source. These retrieval retries do not resend mail. Existing synchronization schedules and ownership continue to apply.

Slow sources, cancellation and recovery

Source metadata is made searchable before newly imported files are submitted for parsing. If metadata storage or visibility fails, the synchronization reports a failure and keeps its last successful checkpoint. Correct the storage problem, resume or retry the source, then check the documents and their source metadata. A failed run may have saved some files; inspect them before uploading additional copies.

Long synchronizations may take time to finish. Check synchronization history and document status before starting another run. Stopping or cancelling a source prevents further imports, but files already submitted may continue parsing. An explicitly cancelled source remains cancelled after an application restart.

For a failed or interrupted run, inspect its error, correct provider or authorization problems, then resume or retry through the source controls. If a synchronization is already queued, resuming makes that run eligible as soon as capacity is available. Check the resulting documents before repeating the import.

For a source with a recurring schedule, check its synchronization history for the next run after a completed or failed run. A retry after failure starts from the last successful checkpoint where the source supports one.

If the synchronization service stops unexpectedly, ZASTRA can queue a replacement run from the saved checkpoint after the old run expires. Check the history for the interrupted run and its replacement. If a run started before an update stays marked Running, use the source’s Stop and Resume controls after checking its status.

Background completion and automatic scheduling do not resume a cancelled or disabled source. Use the source’s resume control explicitly, with permission to edit that source; a disabled connection must first be enabled. If a dataset, source or owner has been removed while you were working, reload the page and select an available source and dataset. A removed link cannot receive new synchronization work; unlinking preserves already indexed documents.

Files and source metadata already accepted before stopping or unlinking remain in the dataset and may finish parsing. No later download batch or source-pruning pass is accepted after cancellation or unlinking. Source metadata refreshes preserve additional manual fields. If a source metadata or storage write fails, correct the error and resume; a failed batch does not advance its synchronization checkpoint.

If a file and its source details were accepted but task delivery was interrupted, ZASTRA retries that pending delivery after the service recovers. Check the document status before starting another synchronization; do not upload another copy just to restore pending parsing. A parsing error still needs its cause corrected and the document explicitly retried. Cancelling parsing on the document itself retires that request; use the document's retry control to start it again.

AI help with connection and import scope

Use Scope source with AI in a new or existing personal source, or in an administrator's company-source form. Explain which material should be imported. Enter passwords, tokens and provider registrations only in the normal protected connection controls, never in the assistant. For data.public.lu, review proposed catalogue selection, resource-title regular expression, archive folder, archive-member expression and formats. Preview import scope lists up to 30 resource titles across five catalogue datasets, including excluded titles; a truncated list is not a complete inventory. It does not download archives or verify their member selection. After applying, use Test connection, save, link a small intended dataset and inspect the first synchronization and parsing results before scheduling. Other providers retain their own scope fields and authorization controls; the assistant supplies guidance. It never authorizes a provider, enables a schedule or imports files on its own. Model, authorization or empty-selection errors require correcting the normal configuration and testing again.

If the assistant asks a question, type in Your answer, directly below the question, and select Send answer. For a refinement, use What would you like to change? → Send reply. Earlier answers stay in Conversation so far. Start over clears the conversation and retains form edits. After Apply to form, the assistant closes so you can review the ordinary fields and use Save or Test. Undo applied changes is available beside the assistant button; it preserves unrelated manual edits. A failed or cancelled reply keeps the question and your typed answer for retry.

Legilux catalogue selection

Add Legilux under personal Data sources or an administrator’s company sources. The connector first shows the named root collections: Mémorial A, Mémorial B, Codes and collections, Treaties, Legislative drafts, Case law, and Daily publications. Consolidated legislation, historical gazettes and EU references are also listed. Tick one or several collections. There is no whole-catalogue choice; an older whole-catalogue configuration must be replaced by an explicit selection before browsing or synchronization. Mémorial A selects original laws and regulations; Mémorial B includes administrative acts and their consolidated versions. Codes and collections are selected together. Daily publications cover original Mémorial A and B documents by publication date. Gazettes may repeat their individual acts, so select them deliberately.

Choose Use all matching documents in selected collections to remove a fixed trial selection and include every match, including future publications within those collections and filters. You do not need to tick every document or page. Clearing the last individual selection also returns to this collection scope. Review and save the source; this control does not start an import. Click a saved source’s name or its Edit control to reopen its settings.

Use optional first/last dates, document language and ordinary words in Title search. The date is the version’s applicability date when available, otherwise publication date, otherwise document date. Date restrictions exclude undated entries; leave both dates blank for historical material without a date restriction. Leave the last date blank for future updates within the selected collections. Browse catalogue previews documents inside those collections with titles, dates, languages and advertised formats. Tick individual publications for a fixed, small trial selection. Otherwise the saved collection scope applies to future synchronization; it cannot expand to the rest of Legilux. Changing filters hides the old preview until you browse again, while retaining any trial selection. Uncheck trial publications before changing to a different collection when those publications are outside its scope. Browsing does not save or import anything.

Case law and EU texts are planned Legilux collections and are disabled until their content is available there. For published Luxembourg judgments, use the judicial collections in data.public.lu. Obtain EU material from its current official source. A selectable collection can still contain descriptions without downloadable files: these appear in the preview but cannot be ticked for import. An empty or reference-only selection fails the connection test or synchronization visibly; it never imports a different collection instead.

Choose a registered Local metadata model, then review Scope source with AI, Test connection and Save. Source and destination dataset must have the same owner. Built-in Legilux synchronization uses the source owner’s verified dataset link directly. No ingestion API key is needed. Existing API keys remain available for external clients and can be managed separately in API settings. Enable metadata extraction and choose the same model under the dataset’s Metadata extraction model setting; this is separate from the dataset’s indexing chat model. If the dataset inherits the installation metadata default, that default must resolve to the model selected for Legilux. Enable automatic parsing when linking the source. Review the selection first: linking starts synchronization. Daily/weekly schedules and time zones remain ordinary reviewed source settings. Administrators create centrally owned sources and datasets, test their contents, then deliberately assign dataset access.

Ingestion uses advertised HTML/XML and PDF/PDF-A files, preserving structured legal text, tables and available source/date/version metadata. Scanned PDFs require an appropriate OCR setting. Inspect representative originals, extracted passages and retrieval results. Large imports use bounded batches and resume from checkpoints. A publisher’s advertised file may still return an error; history retains that error and does not claim complete success. Retry after publisher recovery or upload an independently verified official copy. Narrowing a collection affects later synchronization and does not delete indexed documents; use a fresh dataset for a clean, narrower collection or review existing files separately.

When linking a source to a dataset, select its source button and choose Confirm, then Save the dataset. The linked source always shows Auto parse, rebuild, settings and unlink controls. Enable Auto parse to index imported files; use settings to check the saved collections and filters before rebuilding. Linking does not change the source’s document selection.

In the dataset’s Configuration → Link data source, the picker includes both personal and company sources owned by your signed-in account. Select the intended source and confirm the link; review automatic parsing and its schedule before starting a large import. A source owned by another account is not offered for your dataset: ask its owner to prepare and share the destination dataset instead.

Custom API integrations

Choose Custom API integration in your personal Data sources, or in the administrator’s company Data sources. Use it to connect HTTP JSON APIs from CRM, ERP, billing or building-management systems without installing connector code. Define only the business actions you need: read or inspect records, ingest selected records into a dataset, create/push records, or update records. These capabilities are independent: an action-only integration does not need a dataset.

This builder supports HTTP JSON responses, GET reads, and named POST, PUT, PATCH and DELETE write actions. It supports API-key headers, bearer tokens, basic authentication and OAuth client credentials. SOAP/XML services, binary file-transfer APIs, browser login flows, interactive OAuth and vendor-specific signing need an existing dedicated connector or a suitable API gateway. The assistant must explain an unsupported requirement instead of inventing a connector.

Build with AI

  1. Supply API documentation by pasting text/OpenAPI JSON or YAML, uploading a text PDF, HTML, Markdown or plain-text file, or loading its exact documentation URL. Supply authentication instructions, endpoint definitions, pagination, stable record IDs and representative JSON responses. A website link that requires browser login or builds its content with JavaScript may need a file or pasted text instead. Redirects are not followed: provide the final documentation URL.
  2. Describe the outcome in ordinary words, for example: “Read our CRM customers and let an agent update their contact notes.” Never paste real passwords or keys into documentation, examples or the conversation. The administrator’s shared AI assistance model processes the supplied documentation; check whether that model is suitable for confidential API documentation.
  3. Click Prepare integration. If the assistant asks a question, type into Your answer and use Send answer. It asks for missing facts rather than guessing service addresses or API behavior.
  4. Review the message, proposed settings, action names and checks. Apply to draft fills the configuration and a blank source name. It does not save, ingest, execute actions or grant write permissions. Review the service address and the requested record subset.
  5. Enter credentials in their separate fields. For OAuth client credentials, provide the documented token endpoint, optional scope, client ID and client secret. Access tokens are obtained and refreshed as needed; interactive user-consent OAuth is not supported here.
  6. Test the connection’s bounded ingestion sample, then Save. For an action-only integration, save first and use a named read action with its required inputs. A successful connection test does not prove every page, field or write action is correct.

Stored credentials are encrypted and bound to the source owner. They are omitted from the source editor and AI proposals. Empty credential fields preserve saved values; Clear saved credentials on Save explicitly removes them. Credentials remain separate from expert JSON. Changes to credentials, endpoints or settings invalidate an outstanding action confirmation.

Inspect, ingest and act

Use Use custom integration actions in Data sources, or on the saved source detail page. Choose the source and business action, then fill its input fields. Preview request shows the destination, method and submitted values without reading or changing the external system. A read needs Run read action. A write needs Confirm and execute write, after the source owner has saved Allow owner-confirmed writes. Confirmations expire and work only once for the exact source settings and inputs. Editing inputs removes the displayed confirmation.

For ingestion, configure the collection endpoint and content/metadata mappings, then link the source through the dataset’s usual Data sources controls. Stable IDs let updated records replace their corresponding documents. Use authoritative source metadata directly; a local model is not required to rediscover fields the API already supplies. Action-only sources cannot be linked until content fields are configured. Ingestion reads the configured subset; it never calls named write actions.

Organization sources can be shared through the normal organization permissions. Sharing grants permitted users read/ingestion use; it does not expose credentials or allow external writes. Source settings, credentials, confirmed writes and automated-write permissions remain with the source owner. An administrator must deliberately grant dataset/source access, as for other connectors.

Use in agent workflows

Add External system action, choose a saved integration and one named action, and supply Input values as a JSON object or a workflow reference resolving to that object. The AI agent builder can choose listed actions and their declared inputs when you describe the business workflow. It does not invent API URLs, credentials or actions.

Match form fields to the action's input schema: choose Number for a whole-number ID, Boolean for a switch and JSON object for structured values. A single-line text field submits text even when you type digits. The AI builder checks these types when wiring form fields to integration actions. If a saved workflow reports an input type error, correct its Begin field, test and publish, then start a new production run.

Test runs preview the request and never send external writes. In production, read actions execute directly. A write normally remains a preview. Automatic writes require both the source’s Also allow published agent actions to write automatically and the action’s Execute writes in production. Enable these only for an intentional, reviewed workflow with appropriately limited external credentials. Publishing alone does not enable the source’s write permission.

Execution receipts record the action, actor, time and outcome without retaining credentials, submitted business payloads or response bodies. A failed or uncertain write is not automatically retried. Check the external system and the receipt before deliberately running the workflow again. A declared idempotency header is populated with the execution identity, but the external service must actually support that header to deduplicate writes.

Efficient monitoring and private services

Monitor a custom source without ingestion only when it has a GET collection, stable IDs, an updated timestamp, supported pagination and documented server-side changed-since and until filters. Configure poll_query_params with {since} and {until} placeholders. The source must actually honor those filters; out-of-window records stop the check with a recoverable configuration error. Activation starts at the current time and does not crawl historical records. Bounded checks retain their position within a page and delta window. Fixed-window pagination must provide stable ordering; prefer a stable cursor when the service offers one. API deletions need an explicit tombstone/change record to be visible to monitoring.

If the API cannot provide a bounded delta, ingest a narrowed dataset and monitor its indexed changes. Custom source monitoring uses its mapped content fields; it does not download attachments or perform OCR. The usual monitoring limits, matching models, overnight run windows and ingestion scheduling advice apply. Each external action is bounded; a source permits one active action at a time and has an hourly action budget. Large ingestion page budgets fail explicitly when exhausted instead of silently declaring a truncated sync complete. Reduce scope and run large imports outside working hours.

Public authenticated APIs require HTTPS. Approve a private custom integration for its owner and REST API type in Connector and workflow network access, as described above. Configure the final service endpoint; custom integration actions do not follow redirects or forward credentials to another origin.

Expert mode

Expert mode edits the same configuration JSON used by the assistant. Valid JSON edits immediately update the draft. Invalid JSON blocks saving. Define only documented settings; unknown settings are rejected. Credentials and permissions are reviewed separately from AI proposals. The following is an illustrative API contract, not a ready-to-use real service; replace its endpoint, fields, filters and actions with your system’s documented equivalents.

{
  "url": "https://crm.example.com/v1/customers",
  "method": "GET",
  "auth_type": "bearer",
  "auth_config": {},
  "items_path": "$.items",
  "id_field": "id",
  "content_fields": [
    "name",
    "notes"
  ],
  "metadata_fields": [
    "status",
    "updated_at"
  ],
  "poll_timestamp_field": "updated_at",
  "poll_query_params": {
    "updated_from": "{since}",
    "updated_until": "{until}"
  },
  "pagination_type": "page",
  "pagination_config": {
    "page_param": "page",
    "page_size_param": "limit",
    "page_size": 25,
    "start_page": 1
  },
  "max_pages": 100,
  "request_delay": 0.5,
  "allow_writes": false,
  "allow_agent_writes": false,
  "operations": [
    {
      "id": "get_customer",
      "name": "Read customer",
      "kind": "read",
      "method": "GET",
      "path": "/v1/customers/{{id}}",
      "inputs": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Customer number",
            "maxLength": 80
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      }
    },
    {
      "id": "update_notes",
      "name": "Update customer notes",
      "kind": "update",
      "method": "PATCH",
      "path": "/v1/customers/{{id}}",
      "inputs": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 80
          },
          "notes": {
            "type": "string",
            "maxLength": 2000
          }
        },
        "required": [
          "id",
          "notes"
        ],
        "additionalProperties": false
      },
      "body": {
        "notes": "{{notes}}"
      },
      "idempotency_header": "Idempotency-Key"
    }
  ]
}
Setting Meaning
url, method Collection endpoint and GET, or a documented read-only POST search. POST ingestion also requires read_only_post: true; never use a mutation endpoint for ingestion.
headers, query_params, request_body Non-secret fixed request headers, query values and optional read-only POST JSON body. Authentication belongs in separate credentials.
auth_type, auth_config none, api_key_header with header_name, bearer, basic, or oauth2_client_credentials with token_url and optional scope.
items_path JSONPath identifying the returned records, such as $.items. Omit only when the response itself is a list or uses the supported items/results/data/records layout.
id_field, content_fields, metadata_fields Stable ID and selected text/metadata fields. Dot paths and array indices/wildcards, such as customer.name and lines[*].description, are supported.
field_type_hints, field_default_values, content_template Optional field conversion hints (string, number, date), missing-value defaults and a literal text template with mapped field placeholders. No executable code.
poll_timestamp_field, poll_query_params Updated timestamp and documented server-side delta query values. {since} and {until} are ISO UTC timestamps. Without server-side filters, ingestion may read the collection again; direct monitoring is refused.
pagination_type none, page, offset or cursor. Direct monitoring requires pagination.
pagination_config Page: page_param, page_size_param, page_size, start_page. Offset: offset_param, limit_param, limit, start_offset. Cursor: cursor_param, initial_cursor, next_cursor_path or next_cursor_field, and optional has_next_page_field. Match the API’s actual continuation rules.
batch_size, max_pages, request_delay Bounded batch/page limits and request pacing. They do not override the external service’s own rate limits.
allow_writes, allow_agent_writes Explicit owner permissions. AI proposals leave both disabled.
operations Up to thirty named action definitions. Each has a unique id, readable name, description, kind (read, write, update), method, and a path starting with one slash on the configured service origin.
Action inputs Inline object JSON schema with properties, required field names and additionalProperties: false. Use types, enums and sensible sizes. Remote schema references and regular expressions are not allowed.
Action query, body Map {{input_name}} into query/body fields or the path. A placeholder occupying an entire JSON value preserves its value type, including booleans and objects. Path inputs must be single identifiers, not paths or URLs.
Action response_path, idempotency_header Optional dot path selecting the result, and the service’s documented idempotency header for writes.

Troubleshooting

Missing API documentation or contradictory examples: supply the relevant endpoint, authentication and example response sections, then answer the assistant’s visible questions. A credential error: check external account scopes and replace expired credentials; do not add secrets to JSON. HTTP errors: verify the final endpoint, method, permissions and input schema. Redirects: enter the documented final address. A private-network denial: ask an administrator to review the exact origin.

Missing or duplicated ingested records: verify stable IDs, the items path, content mapping and pagination against a small known source sample. A repeated cursor or exhausted budget is an error requiring a corrected mapping or narrower subset. Delta-window errors: verify date format, time zone, filter names and stable ordering. Pending previews are temporary; prepare a new one after expiry or settings changes. An uncertain write: verify the remote state before any deliberate retry; ZASTRA cannot undo an external mutation.

Open Recent action receipts under the source’s actions to review recent outcomes. Missing IDs, update timestamps or mapped text stop ingestion with a mapping error; correct the field paths or narrow the source filter before trying again.

Public website listings

In Settings → Data sources, choose Website under Available sources. Give the source a name and enter the final address of the public HTTPS results page. Select Find listings, review the example titles, then choose the list you want to collect. This option collects titles and links from the first page. For websites that load results in a browser or have several pages, use Import a website setup file with a setup tested for that site. You can reuse the same file in another account with access to the site.

An existing website source opens with its address, page coverage and ingestion schedule. Select Change website setup to look for a new list or import an updated setup. Choose Test connection, then save the source. Back to data sources returns to the list for your personal or organization settings. Organization sources require access to the organization's data source settings.

In Settings → Data sources → Custom API integration, use the expert JSON editor for a public HTTPS results page that already contains its rows in HTML. Set method to GET, then provide html_listing.row_selector and name each field under html_listing.fields. Each field has a simple CSS selector and optionally an attribute such as href or title. Select a distinct, durable value as id_field, such as the notice link. Define the same named fields as content and optional metadata. Configure empty_selector only when the page marks a legitimate zero-result response. Use page or offset settings only when the site supports them in the URL.

For a public page that needs a browser, add html_listing.browser: {} in the same editor. Keep the complete HTTPS address in url. For pagination, set html_listing.browser.next_selector to a simple CSS selector for a single visible Next control that loads a new page. Omit it for a single page. Set response_html: true inside browser when the required fields appear in the original page response. Use read_only_form_pagination: true only when the website uses a read-only search form on the same address to load its next page. Leave API pagination, request headers and query overrides unset. Set max_pages to cover the listing, up to 100. The browser starts a fresh session on the configured HTTPS origin. It requires the managed browser and its renderer sandbox.

Test connection checks the first page. Link the source to a dataset, turn on automatic parsing, set a schedule and verify the first completed sync before enabling alerts. A repeated row ID across pages, a changed page layout or a next page beyond the configured limit stops the sync before the collected records are indexed. Check the URL, selectors and page limit if this happens. Use the dataset as the monitor source and let the first monitor check establish its baseline.

Each page can yield up to 300 entries. If Find listings returns no examples, try the exact public results page. For a page that requires login, use a feed you are authorized to access, such as RSS or a documented API. If entries disappear or collection fails, open the source log, compare the coverage with the website, then test a corrected list or setup before saving.