Skip to main content
Welcome to AbstraOverviewAuthenticationOverviewTreasury DashboardAuthenticated Task ManagerExpense Submission FormSystem Status MonitorFiltered Orders TableStreaming Progress BarStreaming File DownloadStreaming Video with Media Source ExtensionsFile uploads in PagesGetUserFailedget_query_paramsget_userregister_staticOverviewBasicsExternal DataReactive PagesPre-filled fieldsRedirectCustom ValidationProgress BarCustom ButtonsGetting User InformationQuery ParametersCRUD with DatabaseClient-side JavaScriptOverviewAppointmentInputCardsInputCheckboxInputChecklistInputCnpjInputCodeInputCpfInputCurrencyInputCustomInputDateInputDropdownInputEmailInputOverviewCameraInputImageInputVideoInputListInputMultipleChoiceInputNpsInputNumberInputNumberSliderInputPandasRowSelectionInputPasswordInputPhoneInputRatingInputRichTextInputRowTagInputTextInputTextareaInputTimeInputToggleInputOverviewFileOutputHtmlOutputIframeOutputImageOutputLatexOutputLinkOutputMarkdownOutputPandasOutputPlotlyOutputProgressOutputTextOutputStep TypesAuthenticationForm SettingsNotificationsHome Page and SidebarOverviewBackButtonExitButtonNextButtonend_page_stepexecute_jsget_query_paramsget_userListItemSchemarunWidgetOverviewBasic HookReceiving Connector EventsReceiving EmailsTriggering Hooksget_email_requestget_raw_requestget_requestsend_jsonsend_responseJobsOverviewSending a taskGetting and using TasksIterate through tasksGet trigger task (Tasklet)TaskletsTask Schema Validationget_sent_tasksget_tasksget_trigger_taskiter_taskssend_taskTaskOverviewPrompt ConstructionToolsExamplesWorkflowAgentsPromptingFixed answer formatReading an InvoiceParsing DocumentsOverviewBrowserToolsConnectorsToolsFilesToolsTablesToolsextract_textparse_bank_statementparse_boletoparse_invoiceparse_nfeparse_nfseparse_oficiosparse_us_driver_licenseparse_us_passportpromptrun_agentOverviewCreating and Loading FilesPublic Filesget_persistent_dirget_public_dirOverviewThe custom actionrun_connection_actionDatabricksItaú ExtratosOverviewConsultasEmissão de NFS-eEventos de NFS-eTroubleshootingGoogle DriveOverviewEnvio de Lote de RPS (Versão 2)Itaú VAN (SFTP)OverviewReading dataSupplier invoice (MIRO)Bank statementTransactional sessionsValue helpsTroubleshootingAbstra Cash ConnectOverviewIssuing an NF-eEvents: Cancellation and Correction LetterTroubleshootingBlingBradescoOverviewAttaching Files to NetSuite RecordsRetrieving and Updating Files in NetSuiteSearching Files Attached to RecordsSearching Files in NetSuite File CabinetUploading Files to NetSuite File CabinetCreating Custom Reports with NetSuite Purchase OrdersCreating Purchase Orders and Attaching Files in NetSuiteFiltering Purchase Orders by Custom FieldsReading Purchase Order Line ItemsReading Purchase Order DetailsSearching and Filtering Purchase OrdersOverviewGetting Invoice Details and TransactionsListing and Searching Invoices99Abstra Manager APIAbstra Project APIADN NFS-eAdyenAnchorage DigitalAsaasAmazon Web ServicesMicrosoft AzureBanco ABCBanco do BrasilBanrisulBase ChainBanco Central do BrasilBetha e-Nota CloudBigDataCorpBinanceBitstampBlingBotConversaBradescoBrasil APIBrazeBrexBS2BTG Pactual Empresas (Custom App)BTG Pactual EmpresasAbstra Cash ConnectCelcoinCerttaCielo e-CommerceCielo EDI LinkCielo Extrato EletrônicoCieloClaraClicksignClickUpCNJ - DataJudCNJ - Domicílio Judicial EletrônicoCNJ - Diário de Justiça Eletrônico NacionalCobranSaaSCoinbase CDPCoinbase Commerce (Business)Coinbase Exchange / Prime / INTX / Derivatives (HMAC)ConfluenceConfluence (API Token)Conta AzulConta SimplesMicrosoft Copilot Studio (Custom App)CresolCRS 360Databricks AccountDatabricks WorkspaceDatatravelData Rudder (DeLorean)DFNSDiscordDocuSign (JWT)DocuSignDynamics 365 Business CentralenContacteNotas GatewayEquals ConnectEthereumFirecrawlFiservFlashFlukeFoxbitFreshserviceGoogle Cloud PlatformGitHub (Personal Access Token)GitHubGmailGoogle AnalyticsGoogle BigQuery (Service Account)Google BigQueryGoogle Calendar (Service Account)Google CalendarGoogle Chat (Service Account)Google ChatGoogle Docs (Service Account)Google DocsGoogle Drive (Service Account)Google DriveGoogle Maps (Service Account)Google Maps (API Key)Google MapsGoogle Sheets (Service Account)Google SheetsGranatumGRF/OFMHi PlatformHolmesHubSpotIBGEiFoodInfosimplesBanco InterIntercomItaú BoletosItaú ExtratosItaú Pagamentos (SISPAG)Itaú PixItaú VAN (SFTP)IuguJD Pagamentos InstantâneosJiraJira (API Token)KommoKraken DerivativesKraken SpotLinkedInLinx OMALitecoinLookerMagaluMailchimpMCPMega ERPMercado BitcoinMercado LivreMercado PagoMercosMetabaseMicrosoft 365 Copilot (Custom App)Microsoft BookingsMicrosoft ExcelMicrosoft OneNoteMicrosoft Outlook (Service Principal)Microsoft OutlookMicrosoft PlannerMicrosoft SharePoint + OneDrive (Service Principal)Microsoft SharePoint + OneDriveMicrosoft Teams (Service Principal)Microsoft TeamsMicrosoft To DoMonday.comMXM WebManagerMySQLNektnetLexNetSuite OAuth2NetSuite TBANexxera - Nix EmpresasNexxera - Nix PayNF-e São PauloNordVPNNota BarueriNota PaulistanaNota SalvadorNotionNotion (API Token)NuPayOKXOlist EcommerceOlist ERPOmie ERPOneStreamOnFlyOracle E-Business SuiteOracle DatabasePagarePagar.mePagBank EDIPagSeguroPayPalPipedrivePipedrive (API Token)PipefyPodioPolygonPostgreSQLPostmanProJuris EmpresasProJurisQiveQuickBooksRappiRDP (Windows Remote)Recall.aiReceita Federal - Apuração Assistida CBSReceiv BIRedecard (e.Rede)Amazon RedshiftRevolut BusinessRevolut MerchantRevolut Open BankingSabespSafeguardSalesforceSankhyaSantanderSAP ABAP Development Tools (ADT)SAP Cloud ConnectorSAP ConcurSAP CPI (Integration Suite)S/4HANASAP Service LayerSBA CertificationsSentrySerproSerpro Integra ContadorSFTPShopify StorefrontShopifySicoobSicrediSiengeBanco Central do Brasil - SiscomSlack (API Token)SlackSnowflakeSolanaSQL ServerBanco Central do Brasil - STA (Sistema de Transferência de Arquivos)Stark BankStripe (API Key)StripeSVB (Silicon Valley Bank)Takotl;dvTodoistTotal BankTotalPassTotvsTravellinkConsumo de Tributos GovTRONTypeformTyxterUAUWeb (Globaltec)UberVERT CapitalVindiVórtx VxRecebíveisVórtxVTEXWhatsApp BusinessWhatsApp Business (API Token)WhatsApp (RPA)WoofficeWoopayXP InvestimentosXRP Ledger (Ripple)YunoZé DeliveryZendeskZendesk (API Token)OverviewInserting rowsSelecting rowsUpdating rowsDeleting dataUsing SQLUsing comparatorsImporting & Exporting Datadelete_by_idinsertis_betweenis_eqis_gtis_gteis_ilikeis_inis_likeis_ltis_lteis_neqis_not_ilikeis_not_inis_not_likeis_not_nullis_nullquery_dfrunrun_sqlselectselect_by_idselect_dfselect_oneTablesExecutionErrorupdateupdate_by_idBuilt-in TablesTransactionsOverviewDeclaring actionsabstra.servicesOverviewExamplesOverviewSingle Sign-On (SSO)Environment VariablesOverviewUsing Abstra LoggerOverviewExamplessend_emailUI PreferencesRetrieving Project URLRetrieving Run IDPublishingUsing Legacy Threads
Cloud Console

Built-in Tables

In addition to custom tables you create, every project includes read-only built-in tables in the abstra schema. These tables give you SQL access to workflow data like tasks, users, roles, executions, and Page function calls.

Built-in tables are accessible via SQL SELECT queries only. All writes go through the Abstra API and Python SDK.

Querying built-in tables​

Use the abstra schema prefix when querying:

import abstra.tables as at tasks = at.run_sql("SELECT * FROM abstra.tasks WHERE status = 'pending' LIMIT 10") users = at.run_sql("SELECT * FROM abstra.users")

Available tables​

abstra.tasks​

Stores all workflow tasks and their lifecycle data.

ColumnTypeDescription
iduuidTask ID
created_attimestampWhen the task was created
updated_attimestampLast update
deleted_attimestampSoft delete timestamp (null if active)
project_iduuidProject ID
typevarcharTask type label used for routing
payloadjsonbTask payload data
statustextpending, locked, or completed
target_stage_idvarcharDestination stage ID
created_by_stage_idvarcharStage that created this task
created_by_execution_iduuidExecution that created this task
completed_attimestampWhen the task was completed
completed_byuuidExecution that completed this task
locked_attimestampWhen the task was locked
locked_byuuidExecution that locked this task

abstra.executions​

Records every stage execution in your workflow.

ColumnTypeDescription
iduuidExecution ID
created_attimestampWhen the execution started
updated_attimestampLast status change
statustextcreated, running, success, failure, etc.
contextjsonbExecution context (includes taskId if triggered by a task)
project_iduuidProject ID
build_iduuidBuild that ran this execution
stage_idtextStage identifier
stage_run_iduuidStage run ID (for forms threads)
worker_iduuidWorker that ran the execution
app_iduuidApp ID (if applicable)
pidtextProcess ID

abstra.audit​

Records Page function calls through JavaScript RPC in production and calls made by Smart Chat's run_page_function debugging tool. Calls can be queried by function, user, execution, outcome, and source.

ColumnTypeDescription
iduuidAudit record ID
created_attimestamp with time zoneWhen the audit record was stored
project_iduuidProject ID
build_iduuidBuild ID (null for Smart Chat debugging calls)
stage_idvarcharPage stage ID (nullable)
execution_iduuidExecution ID, when available (nullable)
function_namevarcharName of the registered function called
user_emailvarcharAuthenticated Page user's email for browser calls; caller's email for Smart Chat calls (nullable)
statustextok or error
errortextError message, when present (nullable; truncated to 2,000 characters)
duration_msintegerCall duration in milliseconds (nullable)
sourcetextbrowser or smart_chat; defaults to browser for older records

This is a function-call log, not a complete administrative audit trail. It does not contain IP addresses, function arguments or return values, or before/after snapshots of data changes. Page rendering (__render__) and browser requests rejected before a registered function is called are not recorded here. Recording is best-effort: a failed audit write does not fail the function response. Local CLI preview does not write these records.

Do not infer a retention period or compliance guarantee from the table's availability. Confirm retention and audit requirements with the Abstra team.

abstra.users​

Stores access control users for your project.

ColumnTypeDescription
iduuidUser ID
created_attimestampWhen the user was added
updated_attimestampLast update
deleted_attimestampSoft delete timestamp
emailvarcharUser email
project_iduuidProject ID

abstra.roles​

Stores access control roles.

ColumnTypeDescription
iduuidRole ID
created_attimestampWhen the role was created
updated_attimestampLast update
deleted_attimestampSoft delete timestamp
project_iduuidProject ID
namevarcharRole name
descriptionvarcharRole description

abstra.users_roles​

Junction table linking users to roles.

ColumnTypeDescription
iduuidAssociation ID
created_attimestampWhen the association was created
deleted_attimestampSoft delete timestamp
user_iduuidReferences abstra.users.id
role_iduuidReferences abstra.roles.id

abstra.signup_policy​

Stores email pattern rules for user sign-up.

ColumnTypeDescription
iduuidPolicy ID
project_iduuidProject ID
email_patternsjsonbArray of allowed email patterns (e.g. ["@company.com"])

Example queries​

Pending tasks by stage​

import abstra.tables as at pending = at.run_sql(""" SELECT target_stage_id, count(*) as pending_count FROM abstra.tasks WHERE status = 'pending' AND deleted_at IS NULL GROUP BY target_stage_id """)

Recent failed executions​

import abstra.tables as at failures = at.run_sql(""" SELECT id, stage_id, created_at, context FROM abstra.executions WHERE status = 'failure' ORDER BY created_at DESC LIMIT 20 """)

Recent failed Page function calls​

import abstra.tables as at failed_calls = at.run_sql(""" SELECT id, created_at, function_name, user_email, execution_id, source, error, duration_ms FROM abstra.audit WHERE status = 'error' ORDER BY created_at DESC, id DESC LIMIT 20 """)

The result is a list of dictionaries that you can use in reports or export from your Python code. This example only retrieves the 20 most recent errors; it is not a complete audit export.

Users with their roles​

import abstra.tables as at users_with_roles = at.run_sql(""" SELECT u.email, array_agg(r.name) as roles FROM abstra.users u LEFT JOIN abstra.users_roles ur ON u.id = ur.user_id AND ur.deleted_at IS NULL LEFT JOIN abstra.roles r ON ur.role_id = r.id AND r.deleted_at IS NULL WHERE u.deleted_at IS NULL GROUP BY u.email """)