tporret API Data Importer is an API-first ETL pipeline for WordPress: authenticated API requests, JSON/XML/CSV/iCal payload support, staged queue processing, guarded Twig transforms, secure media sideloading, and an operations dashboard for import health.
The importer separates extraction, filtering, staging, transformation, and loading. Parsing is handled during extraction; finalization records the run and cleans up staging data.
API-first auth, multi-format parsing, staged ETL, Twig mapping, media and parent mapping, multisite awareness, and reporting built for teams that need more than a file importer.
Use supported Twig constructs for mapping and title templates, with loops, conditionals, nested data access, and validation guardrails instead of ad hoc inline PHP.
Tabbed workflow for Source/Auth, Data Rules, Mapping, and Automation with sticky save actions, dry-run preview, and connection testing.
Nine reporter-backed metrics across environment health, security, and performance, with charts, status indicators, and an audit activity feed.
Per-import payload format selection for JSON, XML, CSV, and iCal feeds so each source can be parsed with format-specific handling.
iCal parsing expands recurring events into normalized records with stable uid and instance_uid fields for deterministic upserts.
Endpoint test, REST preview, dry-run, and runtime import now share one extraction pipeline to keep behavior consistent.
Dedicated UI for none, bearer, api_key_custom, and basic_auth. Authenticated REST endpoints are first-class, not bolt-on edge cases.
Resolve nested array paths, filter before load, stage into queue-backed temp tables, and keep extraction isolated from transformation and load.
Off, hourly, twice daily, daily, or custom minute-based schedules per job with manual runs and trigger context tracking.
Test endpoints, preview sample payloads, and dry-run Twig output directly from the workspace before any production write happens.
Target post type, default post settings, custom meta mappings, and optional read-only locking are scoped per import job.
Map an image URL path, validate it with the shared endpoint policy before download, deduplicate by source URL, and optionally assign it as the post thumbnail.
Every media download is checked against endpoint security policy, including images extracted from imported content.
OpenSSL is required. If encryption is unavailable or fails, credential saves are rejected rather than storing plaintext.
Beyond featured images: map gallery attachment IDs and attachment-ID custom fields, with image metadata paths for alt text, title, caption, and description.
Hierarchical post types can resolve parents from imported external IDs, WordPress IDs, or slugs with configurable behavior for missing or out-of-order parents.
Each site keeps its own jobs and dashboard. Activate per site; an optional Network Admin summary is available when the plugin is active on the primary site. Network Activate is unsupported.
Deep internal seams – Validator, Import Runner, Template Engine, Security Guard, repositories, Media Ingestor, Cleanup Service, Lock Policy – for testable behavior.
A focused workflow for authenticated API requests, secure transformation, and repeatable ETL—not a general-purpose file importer.
Bearer tokens, custom API-key headers, basic auth, and unauthenticated endpoints are configured per import job in the workspace.
The plugin uses a constrained Twig environment, template validation limits, template-change audit logging, endpoint allowlists, and encrypted credential storage with masked REST responses.
Extraction, parsing, filtering, staging, transformation, and load are separated on purpose. That queue-backed pipeline reduces the blast radius of slow endpoints and makes recurring imports safer under real-world load.
Users can write inline Twig conditionals and loops, set title templates, configure media source paths, pick payload format, and choose target post behavior from one workspace.
The tabbed workspace keeps complex jobs understandable: connect first, pick payload format, shape data, define templates, then control automation and load behavior.
Public endpoints
Authorization header
Any key name
Username + password
A React dashboard with reporter-backed metrics, charts, and audit activity for environment health, security posture, and API performance. The figures shown here are illustrative sample data, not live site readings.
When drag-and-drop mapping hits its ceiling, Twig takes over with real template logic and safer constraints.
Endpoint policy is enforced on API and media requests. Credential encryption fails closed, and regression tests for these protections run in the release workflow.
Hostname and CIDR allowlists, DNS/IP checks, and HTTPS policy validate outbound requests. The same policy runs before every media download, including images extracted from imported content.
Blocked tags, syntax checks, size limits, expression limits, and nesting depth limits keep transforms powerful without turning imports into arbitrary code execution.
Template edits are logged with before/after SHA256 hashes, actor identity, and timestamps so teams can review exactly what changed and when.
OpenSSL is required to encrypt stored credentials. Saves are rejected if encryption is unavailable or fails; REST responses mask stored secrets.
Rendered content and custom meta pass through sanitization before persistence, helping keep transformed output safe as it moves into WordPress storage.
Imported posts can be locked against edit, delete, and quick-edit based on import configuration instead of relying on one global post type rule.
The release workflow tests that disallowed media URLs are blocked before download and credential encryption fails safely when OpenSSL is unavailable.
API-first, open source, and built for repeatable ETL in WordPress without license locks or template-PHP workarounds.