File: /var/www/html/wp-content/mu-plugins/ethnic-ai-automation-services-page.php
<?php
/**
* Plugin Name: Ethnic AI Automation Services Page
* Description: Creates and renders the AI Automation Services sub-service page under AI / ML Development Services.
* Version: 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_parent_id' ) ) {
function ethnic_ai_automation_services_page_parent_id() {
static $parent_id = null;
if ( null !== $parent_id ) {
return $parent_id;
}
if ( function_exists( 'ethnic_ai_ml_development_page_ensure_page' ) ) {
ethnic_ai_ml_development_page_ensure_page();
}
$page = get_page_by_path( 'services/ai-ml-development' );
if ( $page instanceof WP_Post ) {
$parent_id = (int) $page->ID;
} else {
$fallback = get_page_by_path( 'ai-ml-development' );
$parent_id = $fallback instanceof WP_Post ? (int) $fallback->ID : 0;
}
return $parent_id;
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_get_target_page' ) ) {
function ethnic_ai_automation_services_page_get_target_page() {
static $page = false;
if ( false !== $page ) {
return $page instanceof WP_Post ? $page : null;
}
$page = get_page_by_path( 'services/ai-ml-development/ai-automation-services' );
if ( ! ( $page instanceof WP_Post ) ) {
$fallback = get_page_by_path( 'ai-automation-services' );
if ( $fallback instanceof WP_Post && (int) $fallback->post_parent === ethnic_ai_automation_services_page_parent_id() ) {
$page = $fallback;
}
}
return $page instanceof WP_Post ? $page : null;
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_ensure_page' ) ) {
function ethnic_ai_automation_services_page_ensure_page() {
static $did_run = false;
if ( $did_run ) {
return;
}
$did_run = true;
$parent_id = ethnic_ai_automation_services_page_parent_id();
if ( ! $parent_id ) {
return;
}
$postarr = array(
'post_type' => 'page',
'post_title' => 'AI Automation Services',
'post_name' => 'ai-automation-services',
'post_parent' => $parent_id,
'post_status' => 'publish',
'post_content' => '',
'comment_status' => 'closed',
'ping_status' => 'closed',
);
$page = get_page_by_path( 'services/ai-ml-development/ai-automation-services' );
if ( $page instanceof WP_Post ) {
$needs_update = 'AI Automation Services' !== $page->post_title
|| (int) $page->post_parent !== $parent_id
|| 'publish' !== $page->post_status;
if ( $needs_update ) {
wp_update_post(
array_merge(
$postarr,
array(
'ID' => (int) $page->ID,
)
)
);
clean_post_cache( (int) $page->ID );
}
return;
}
$fallback = get_page_by_path( 'ai-automation-services' );
if ( $fallback instanceof WP_Post ) {
wp_update_post(
array_merge(
$postarr,
array(
'ID' => (int) $fallback->ID,
)
)
);
clean_post_cache( (int) $fallback->ID );
return;
}
wp_insert_post( $postarr );
}
add_action( 'init', 'ethnic_ai_automation_services_page_ensure_page', 5 );
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_is_target' ) ) {
function ethnic_ai_automation_services_page_is_target() {
if ( is_admin() ) {
return false;
}
$page = ethnic_ai_automation_services_page_get_target_page();
if ( ! ( $page instanceof WP_Post ) ) {
return false;
}
return (int) get_queried_object_id() === (int) $page->ID || is_page( (int) $page->ID );
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_url' ) ) {
function ethnic_ai_automation_services_page_url( $path ) {
return home_url( '/' . ltrim( (string) $path, '/' ) . '/' );
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_contact_url' ) ) {
function ethnic_ai_automation_services_page_contact_url( $args = array() ) {
return ethnic_consultation_route_contact_url( $args, ethnic_ai_automation_services_page_url( 'contact-us' ) );
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_data' ) ) {
function ethnic_ai_automation_services_page_data() {
static $data = null;
if ( null !== $data ) {
return $data;
}
$data = array(
'metaTitle' => 'AI Automation Services | Workflow Automation, Process Optimization & AI Integrations',
'metaDescription' => 'Looking for AI automation services? We deliver workflow automation, business process optimization, AI integrations with CRM, ERP, and eCommerce systems, and practical operational efficiency solutions.',
'heroTitle' => 'AI Automation Services',
'heroText' => 'We help businesses automate repetitive work, improve process efficiency, connect systems, and create more intelligent operations with practical AI solutions designed around real workflows and operational bottlenecks.',
'heroPoints' => array(
'Workflow automation for real business operations',
'AI integrations with CRM, ERP, and eCommerce systems',
'Process optimization and long-term operational improvement',
),
'overviewParagraphs' => array(
'Our AI automation services support startups, SMBs, and enterprise teams that want to reduce manual process overhead, remove repetitive work, and create more dependable operating workflows. We focus on the places where delay, inconsistency, and fragmented system handoffs create real business drag.',
'That can include internal workflows, customer-facing processes, support operations, document-heavy tasks, eCommerce operations, and business processes that depend on better routing, summarization, classification, notifications, or context-aware system actions.',
'We combine AI capabilities with practical process understanding so the solution fits how teams already work instead of forcing automation that looks clever but causes more operational friction. Support covers discovery, use-case validation, integration, deployment, and ongoing refinement after launch.',
),
'overviewFeatures' => array(
array(
'icon' => 'compass',
'title' => 'Practical Automation Strategy',
'copy' => 'We identify the workflows where automation can reduce delay, improve consistency, and create measurable operational value.',
),
array(
'icon' => 'workflow',
'title' => 'Workflow-Centered Implementation',
'copy' => 'Automation is shaped around real process logic, handoffs, approvals, and day-to-day team behavior rather than abstract AI concepts.',
),
array(
'icon' => 'api',
'title' => 'Integration-Ready Solutions',
'copy' => 'AI becomes more useful when it connects cleanly with CRMs, ERPs, eCommerce systems, and the tools teams already rely on.',
),
array(
'icon' => 'growth',
'title' => 'Continuous Optimization',
'copy' => 'We treat rollout as the start of refinement, monitoring, workflow improvement, and operational tuning.',
),
),
'workflowParagraphs' => array(
'AI can automate repetitive, rules-assisted, and knowledge-assisted tasks across departments and systems without requiring teams to completely rebuild how they work. The goal is to reduce friction in workflows that are high-volume, delay-prone, or overloaded with repeated manual handling.',
'That may include routing, summarization, classification, response drafting, content generation support, decision support, triggered actions, and workflow coordination steps that benefit from better context and faster movement across systems.',
),
'workflowExamples' => array(
array(
'icon' => 'workflow',
'title' => 'Inquiry Routing and Classification',
'copy' => 'Sort inbound requests, assign intent, and direct conversations or tasks into the right workflow path faster.',
),
array(
'icon' => 'doc',
'title' => 'Document Summarization',
'copy' => 'Condense long documents, records, or notes into clearer operational summaries that teams can act on more quickly.',
),
array(
'icon' => 'support',
'title' => 'Support Workflow Acceleration',
'copy' => 'Improve triage, draft assistance, escalation handling, and repeat support processes with more structured automation.',
),
array(
'icon' => 'search',
'title' => 'Knowledge Lookup Automation',
'copy' => 'Pull relevant answers, documents, or internal guidance into workflows where teams would otherwise search manually.',
),
array(
'icon' => 'toolbox',
'title' => 'Task Generation and Handoff Support',
'copy' => 'Turn requests or events into structured follow-up actions with cleaner handoffs between teams and systems.',
),
array(
'icon' => 'chat',
'title' => 'Approval and Notification Workflows',
'copy' => 'Automate status updates, triggered alerts, review requests, and multi-step communication that slows operations down.',
),
),
'optimizationParagraphs' => array(
'Business process optimization is about more than automating one isolated step. We look at how repetitive work, slow approvals, fragmented handoffs, inconsistent information, and delayed decisions affect the workflow as a whole.',
'AI-supported workflow improvements can reduce repetitive effort across operations, support, sales, administration, fulfillment, and process-heavy functions while still preserving visibility, control, and the business context teams need.',
'The goal is to improve turnaround time, consistency, and team effectiveness in places where better process design combined with AI support can create real operational value.',
),
'optimizationChecklist' => array(
'Reducing manual process overhead',
'Improving operational turnaround time',
'Standardizing repeatable work',
'Improving accuracy and consistency',
'Enabling teams to focus on higher-value tasks',
),
'optimizationCards' => array(
array(
'label' => 'Overhead',
'value' => 'Lower',
'copy' => 'Less repetitive handling across process-heavy workflows and internal coordination steps.',
),
array(
'label' => 'Turnaround',
'value' => 'Faster',
'copy' => 'Quicker routing, clearer handoffs, and better movement through multi-step operations.',
),
array(
'label' => 'Consistency',
'value' => 'Stronger',
'copy' => 'More dependable output quality across repeat processes, document handling, and operational support tasks.',
),
),
'integrationsIntro' => 'Automation becomes more valuable when it connects to the systems teams already use. AI workflows often need to interact with CRM platforms, ERP systems, eCommerce tools, helpdesks, portals, document repositories, APIs, and reporting environments so actions happen with the right context and operational continuity.',
'integrations' => array(
array(
'icon' => 'briefcase',
'title' => 'CRM Systems',
'copy' => 'Support lead handling, sales workflow updates, contact enrichment, follow-up routing, and operational visibility inside CRM processes.',
),
array(
'icon' => 'layers',
'title' => 'ERP Platforms',
'copy' => 'Connect automation to finance, inventory, orders, fulfillment, procurement, or operational systems that drive day-to-day business execution.',
),
array(
'icon' => 'store',
'title' => 'eCommerce Platforms',
'copy' => 'Support order handling, catalog workflows, customer communication, merchandising operations, and post-purchase process automation.',
),
array(
'icon' => 'support',
'title' => 'Support / Helpdesk Tools',
'copy' => 'Improve ticket routing, knowledge access, case context, escalation handling, and repeat support workflows.',
),
array(
'icon' => 'book',
'title' => 'Internal Knowledge Bases',
'copy' => 'Make internal content more actionable inside automation workflows where teams need faster answers and better context.',
),
array(
'icon' => 'doc',
'title' => 'Document Workflows',
'copy' => 'Connect automation to files, records, submissions, forms, and content repositories that shape document-heavy processes.',
),
array(
'icon' => 'api',
'title' => 'APIs and Custom Backends',
'copy' => 'Build integrations around the business logic, system actions, and data flows that standard connectors do not cover cleanly.',
),
array(
'icon' => 'chart',
'title' => 'Reporting and Analytics Systems',
'copy' => 'Support visibility into throughput, trends, decision signals, and operational metrics tied to automated workflow performance.',
),
),
'useCasesIntro' => 'The best automation opportunities usually live inside workflows that are high-volume, repetitive, fragmented, or slowed down by handoffs and manual review. The use cases below reflect the kind of operational efficiency automation businesses often prioritize first.',
'useCases' => array(
array(
'icon' => 'support',
'title' => 'Support Ticket Triage and Routing',
'copy' => 'Sort requests, classify urgency, and move cases into the right queue faster with clearer workflow context.',
),
array(
'icon' => 'spark',
'title' => 'Sales Lead Qualification Workflows',
'copy' => 'Support earlier lead assessment, routing logic, and CRM follow-up coordination around inbound interest.',
),
array(
'icon' => 'search',
'title' => 'Internal Knowledge Retrieval',
'copy' => 'Surface answers, references, and process guidance faster inside operations, service, and internal support workflows.',
),
array(
'icon' => 'truck',
'title' => 'Order and Fulfillment Workflow Support',
'copy' => 'Reduce friction across order updates, fulfillment signals, exception handling, and operational coordination steps.',
),
array(
'icon' => 'doc',
'title' => 'Document Intake and Processing',
'copy' => 'Structure intake, extract relevant details, summarize records, and route documents with less manual review.',
),
array(
'icon' => 'chart',
'title' => 'Reporting Automation',
'copy' => 'Support operational reporting, summary generation, and data-assisted visibility without repeated manual preparation work.',
),
array(
'icon' => 'chat',
'title' => 'Customer Communication Drafting',
'copy' => 'Help teams generate more consistent updates, replies, and follow-up drafts around recurring operational workflows.',
),
array(
'icon' => 'workflow',
'title' => 'Multi-Step Internal Process Assistance',
'copy' => 'Coordinate approvals, notifications, task creation, and handoffs across workflows that often slow down internally.',
),
array(
'icon' => 'store',
'title' => 'eCommerce Operations Support',
'copy' => 'Assist returns, customer operations, product workflow updates, and backend process coordination tied to commerce delivery.',
),
array(
'icon' => 'briefcase',
'title' => 'CRM Update Automation',
'copy' => 'Reduce manual admin work by keeping CRM records, notes, lead status, and follow-up triggers more consistently updated.',
),
),
'ctaTitle' => 'Looking for AI Automation Services That Improve Real Operations?',
'ctaText' => 'Discuss workflow automation, business process optimization, CRM or ERP or eCommerce integrations, operational bottlenecks, or AI-driven efficiency improvements with a team focused on practical operational fit.',
'ctaHighlights' => array(
'AI automation services designed around real workflow bottlenecks and business operations',
'Workflow automation with practical CRM, ERP, support, and eCommerce system integration',
'Support across discovery, implementation, deployment, and ongoing operational refinement',
),
'ctaSteps' => array(
array(
'title' => 'Share the process bottleneck',
'copy' => 'Tell us where repetitive work, delays, fragmented handoffs, or disconnected systems are creating operational friction.',
),
array(
'title' => 'Map the right automation path',
'copy' => 'We help define the workflow opportunity, integration scope, process logic, and AI support model that fit the business best.',
),
array(
'title' => 'Move into implementation planning',
'copy' => 'Leave with clearer next steps for workflow automation, process optimization, rollout scope, and ongoing improvement.',
),
),
);
return $data;
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_heading' ) ) {
function ethnic_ai_automation_services_page_heading( $eyebrow, $title, $copy = '' ) {
ob_start();
?>
<div class="ethnic-ai-automation-heading">
<?php if ( $eyebrow ) : ?>
<p class="ethnic-ai-automation-heading__eyebrow"><?php echo esc_html( $eyebrow ); ?></p>
<?php endif; ?>
<h2 class="ethnic-ai-automation-heading__title"><?php echo esc_html( $title ); ?></h2>
<?php if ( $copy ) : ?>
<p class="ethnic-ai-automation-heading__copy"><?php echo esc_html( $copy ); ?></p>
<?php endif; ?>
</div>
<?php
return ob_get_clean();
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_icon' ) ) {
function ethnic_ai_automation_services_page_icon( $icon ) {
ob_start();
switch ( $icon ) {
case 'book':
?>
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M5.2 5.2h8.2a2.3 2.3 0 0 1 2.3 2.3v11.3H7.6a2.4 2.4 0 0 0-2.4 2.4z" />
<path d="M18.8 5.2h-2.9v13.6" />
<path d="M7.8 9.2h5.3" />
</svg>
<?php
break;
default:
if ( function_exists( 'ethnic_ai_ml_development_page_icon' ) ) {
ob_end_clean();
return ethnic_ai_ml_development_page_icon( $icon );
}
if ( function_exists( 'ethnic_ecommerce_development_page_icon' ) ) {
ob_end_clean();
return ethnic_ecommerce_development_page_icon( $icon );
}
?>
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="8.5" />
<path d="M8.6 12.3 10.8 14.5 15.4 9.9" />
</svg>
<?php
break;
}
return ob_get_clean();
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_render' ) ) {
function ethnic_ai_automation_services_page_render() {
$data = ethnic_ai_automation_services_page_data();
$consultation_url = ethnic_ai_automation_services_page_contact_url(
array(
'intent' => 'consultation',
'service' => 'ai-automation-services',
)
);
$team_url = ethnic_ai_automation_services_page_contact_url(
array(
'intent' => 'team',
'service' => 'ai-automation-services',
)
);
$quote_url = ethnic_ai_automation_services_page_contact_url(
array(
'intent' => 'quote',
'service' => 'ai-automation-services',
)
);
ob_start();
?>
<div class="ethnic-ai-automation-page">
<section class="ethnic-ai-automation-section ethnic-ai-automation-section--hero">
<div class="ethnic-ai-automation-shell">
<div class="ethnic-ai-automation-hero">
<div class="ethnic-ai-automation-hero__copy">
<p class="ethnic-ai-automation-kicker">Operations-Focused AI</p>
<h1 class="ethnic-ai-automation-hero__title"><?php echo esc_html( $data['heroTitle'] ); ?></h1>
<p class="ethnic-ai-automation-hero__lead"><?php echo esc_html( $data['heroText'] ); ?></p>
<div class="ethnic-ai-automation-actions">
<a class="ethnic-ai-automation-button ethnic-ai-automation-button--primary" href="<?php echo esc_url( $consultation_url ); ?>">Book a Free Consultation</a>
<a class="ethnic-ai-automation-button ethnic-ai-automation-button--secondary" href="<?php echo esc_url( $team_url ); ?>">Talk to Our Team</a>
</div>
<ul class="ethnic-ai-automation-hero__points" aria-label="AI automation service highlights">
<?php foreach ( (array) $data['heroPoints'] as $point ) : ?>
<li><?php echo esc_html( $point ); ?></li>
<?php endforeach; ?>
</ul>
</div>
<div class="ethnic-ai-automation-hero__visual">
<div class="ethnic-ai-automation-visual">
<div class="ethnic-ai-automation-visual__window">
<div class="ethnic-ai-automation-visual__window-bar">
<span></span>
<span></span>
<span></span>
</div>
<div class="ethnic-ai-automation-visual__window-body">
<div class="ethnic-ai-automation-visual__nav">
<span>Workflow Map</span>
<span>Systems</span>
<span>AI Layer</span>
</div>
<div class="ethnic-ai-automation-visual__hero-card">
<div class="ethnic-ai-automation-visual__product-shot"></div>
<div class="ethnic-ai-automation-visual__product-copy">
<span class="ethnic-ai-automation-visual__eyebrow">Automation workflow mockup</span>
<strong>AI automation designed around routing, process support, and operational continuity.</strong>
<p>Workflow-aware delivery that connects repetitive tasks, system actions, and business context into more useful operational automation.</p>
<div class="ethnic-ai-automation-visual__tags">
<span>Workflow-first</span>
<span>CRM / ERP aware</span>
<span>Operational visibility</span>
</div>
</div>
</div>
<div class="ethnic-ai-automation-visual__catalog">
<div class="ethnic-ai-automation-visual__catalog-item">
<small>Automation panel</small>
<strong>Routing, summarization, and triggered actions</strong>
</div>
<div class="ethnic-ai-automation-visual__catalog-item">
<small>System map</small>
<strong>CRM, ERP, support, and eCommerce workflow connection</strong>
</div>
</div>
</div>
</div>
<div class="ethnic-ai-automation-visual__floating ethnic-ai-automation-visual__floating--ops">
<p class="ethnic-ai-automation-visual__floating-label">Automation lens</p>
<strong>Reduce repeated effort without disconnecting teams from real process logic</strong>
<div class="ethnic-ai-automation-visual__metric-row">
<div>
<small>Flow</small>
<strong>Clearer</strong>
</div>
<div>
<small>Handoffs</small>
<strong>Faster</strong>
</div>
</div>
<div class="ethnic-ai-automation-visual__progress">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="ethnic-ai-automation-visual__floating ethnic-ai-automation-visual__floating--checkout">
<p class="ethnic-ai-automation-visual__floating-label">Use case paths</p>
<strong>Inquiry routing, document handling, support acceleration, and system-connected process automation</strong>
<ul>
<li>Operational workflows</li>
<li>Business process optimization</li>
<li>Integration-driven automation</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section" id="overview">
<div class="ethnic-ai-automation-shell">
<?php echo ethnic_ai_automation_services_page_heading( 'Service Overview', 'AI automation services built around operational bottlenecks, repeat work, and system-connected process improvement.', 'We help businesses identify where automation can create practical value, structure the workflow around the right systems, and improve the process over time as teams adopt it.' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<div class="ethnic-ai-automation-overview">
<div class="ethnic-ai-automation-prose">
<?php foreach ( (array) $data['overviewParagraphs'] as $paragraph ) : ?>
<p><?php echo esc_html( $paragraph ); ?></p>
<?php endforeach; ?>
</div>
<div class="ethnic-ai-automation-card-grid ethnic-ai-automation-card-grid--overview">
<?php foreach ( (array) $data['overviewFeatures'] as $feature ) : ?>
<article class="ethnic-ai-automation-card">
<div class="ethnic-ai-automation-card__icon">
<?php echo ethnic_ai_automation_services_page_icon( $feature['icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<h3><?php echo esc_html( $feature['title'] ); ?></h3>
<p><?php echo esc_html( $feature['copy'] ); ?></p>
</article>
<?php endforeach; ?>
</div>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section ethnic-ai-automation-section--soft" id="workflow-automation">
<div class="ethnic-ai-automation-shell">
<?php echo ethnic_ai_automation_services_page_heading( 'Workflow Automation', 'Workflow automation that supports repetitive, rules-assisted, and knowledge-assisted business tasks.', 'AI automation works best when it helps teams move through repeated operational steps faster without disrupting the way work already gets done.' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<div class="ethnic-ai-automation-prose ethnic-ai-automation-prose--narrow">
<?php foreach ( (array) $data['workflowParagraphs'] as $paragraph ) : ?>
<p><?php echo esc_html( $paragraph ); ?></p>
<?php endforeach; ?>
</div>
<div class="ethnic-ai-automation-card-grid ethnic-ai-automation-card-grid--workflow">
<?php foreach ( (array) $data['workflowExamples'] as $example ) : ?>
<article class="ethnic-ai-automation-card ethnic-ai-automation-card--workflow">
<div class="ethnic-ai-automation-card__icon">
<?php echo ethnic_ai_automation_services_page_icon( $example['icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<h3><?php echo esc_html( $example['title'] ); ?></h3>
<p><?php echo esc_html( $example['copy'] ); ?></p>
</article>
<?php endforeach; ?>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section" id="business-process-optimization">
<div class="ethnic-ai-automation-shell">
<div class="ethnic-ai-automation-performance">
<div class="ethnic-ai-automation-performance__copy">
<?php echo ethnic_ai_automation_services_page_heading( 'Business Process Optimization', 'Improve slow, fragmented, or manual processes with AI-supported workflow design and operational restructuring.', 'We focus on the process outcomes that matter most: less repeated effort, stronger consistency, cleaner handoffs, faster turnaround, and better use of team time.' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php foreach ( (array) $data['optimizationParagraphs'] as $paragraph ) : ?>
<p><?php echo esc_html( $paragraph ); ?></p>
<?php endforeach; ?>
<ul class="ethnic-ai-automation-checklist ethnic-ai-automation-checklist--optimization">
<?php foreach ( (array) $data['optimizationChecklist'] as $item ) : ?>
<li><?php echo esc_html( $item ); ?></li>
<?php endforeach; ?>
</ul>
</div>
<div class="ethnic-ai-automation-performance__visual">
<div class="ethnic-ai-automation-dashboard">
<p class="ethnic-ai-automation-dashboard__eyebrow">Optimization view</p>
<div class="ethnic-ai-automation-dashboard__cards">
<?php foreach ( (array) $data['optimizationCards'] as $card ) : ?>
<div class="ethnic-ai-automation-dashboard__card">
<small><?php echo esc_html( $card['label'] ); ?></small>
<strong><?php echo esc_html( $card['value'] ); ?></strong>
<p><?php echo esc_html( $card['copy'] ); ?></p>
</div>
<?php endforeach; ?>
</div>
<div class="ethnic-ai-automation-dashboard__journey">
<div class="ethnic-ai-automation-dashboard__journey-step">
<span>01</span>
<div>
<strong>Identify repeated friction</strong>
<p>Map where tasks stall, repeat, or depend too heavily on manual coordination.</p>
</div>
</div>
<div class="ethnic-ai-automation-dashboard__journey-step">
<span>02</span>
<div>
<strong>Connect the right systems</strong>
<p>Keep workflow context inside CRMs, ERPs, support tools, and operational systems where teams already work.</p>
</div>
</div>
<div class="ethnic-ai-automation-dashboard__journey-step">
<span>03</span>
<div>
<strong>Refine for better outcomes</strong>
<p>Improve consistency, speed, and visibility through ongoing operational tuning after rollout.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section ethnic-ai-automation-section--soft" id="integrations">
<div class="ethnic-ai-automation-shell">
<?php echo ethnic_ai_automation_services_page_heading( 'AI + CRM / ERP / eCommerce Integrations', 'Automation becomes more useful when it can act inside the systems that already run the business.', $data['integrationsIntro'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<div class="ethnic-ai-automation-card-grid ethnic-ai-automation-card-grid--integrations">
<?php foreach ( (array) $data['integrations'] as $integration ) : ?>
<article class="ethnic-ai-automation-integration-card">
<div class="ethnic-ai-automation-card__icon">
<?php echo ethnic_ai_automation_services_page_icon( $integration['icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<h3><?php echo esc_html( $integration['title'] ); ?></h3>
<p><?php echo esc_html( $integration['copy'] ); ?></p>
</article>
<?php endforeach; ?>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section" id="operational-efficiency">
<div class="ethnic-ai-automation-shell">
<?php echo ethnic_ai_automation_services_page_heading( 'Operational Efficiency Use Cases', 'Applied automation opportunities inside the repetitive, high-volume, and delay-prone workflows businesses often struggle with most.', $data['useCasesIntro'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<div class="ethnic-ai-automation-card-grid ethnic-ai-automation-card-grid--use-cases">
<?php foreach ( (array) $data['useCases'] as $use_case ) : ?>
<article class="ethnic-ai-automation-card ethnic-ai-automation-card--use-case">
<div class="ethnic-ai-automation-card__icon">
<?php echo ethnic_ai_automation_services_page_icon( $use_case['icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</div>
<h3><?php echo esc_html( $use_case['title'] ); ?></h3>
<p><?php echo esc_html( $use_case['copy'] ); ?></p>
</article>
<?php endforeach; ?>
</div>
</div>
</section>
<section class="ethnic-ai-automation-section ethnic-ai-automation-section--cta" id="cta">
<div class="ethnic-ai-automation-shell">
<div class="ethnic-ai-automation-cta">
<div class="ethnic-ai-automation-cta__copy">
<div class="ethnic-ai-automation-cta__intro">
<p class="ethnic-ai-automation-kicker ethnic-ai-automation-kicker--light">Ready to Talk</p>
<p class="ethnic-ai-automation-cta__note">Planning for workflow automation, system integration, and practical operational efficiency improvements.</p>
</div>
<h2><?php echo esc_html( $data['ctaTitle'] ); ?></h2>
<p class="ethnic-ai-automation-cta__lead"><?php echo esc_html( $data['ctaText'] ); ?></p>
<div class="ethnic-ai-automation-actions">
<a class="ethnic-ai-automation-button ethnic-ai-automation-button--primary" href="<?php echo esc_url( $team_url ); ?>">Talk to Our Team</a>
<a class="ethnic-ai-automation-button ethnic-ai-automation-button--secondary" href="<?php echo esc_url( $quote_url ); ?>">Get a Free Quote</a>
</div>
<ul class="ethnic-ai-automation-cta__highlights" aria-label="AI automation CTA highlights">
<?php foreach ( (array) $data['ctaHighlights'] as $highlight ) : ?>
<li><?php echo esc_html( $highlight ); ?></li>
<?php endforeach; ?>
</ul>
</div>
<aside class="ethnic-ai-automation-cta__panel" aria-label="What happens next">
<div class="ethnic-ai-automation-cta__panel-header">
<p class="ethnic-ai-automation-cta__panel-eyebrow">What Happens Next</p>
<h3 class="ethnic-ai-automation-cta__panel-title">Shape the right automation plan for your operations</h3>
</div>
<ol class="ethnic-ai-automation-cta__steps">
<?php foreach ( (array) $data['ctaSteps'] as $index => $step ) : ?>
<li class="ethnic-ai-automation-cta__step">
<span class="ethnic-ai-automation-cta__step-number"><?php echo esc_html( sprintf( '%02d', $index + 1 ) ); ?></span>
<div class="ethnic-ai-automation-cta__step-copy">
<strong><?php echo esc_html( $step['title'] ); ?></strong>
<p><?php echo esc_html( $step['copy'] ); ?></p>
</div>
</li>
<?php endforeach; ?>
</ol>
<div class="ethnic-ai-automation-cta__panel-note"><strong>Focus:</strong> workflow definition, process optimization, system integration design, rollout scope, and long-term operational improvement.</div>
</aside>
</div>
</div>
</section>
</div>
<?php
return ob_get_clean();
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_styles' ) ) {
function ethnic_ai_automation_services_page_styles() {
$base_styles = '';
if ( function_exists( 'ethnic_ai_ml_development_page_styles' ) ) {
$base_styles = str_replace( 'ethnic-ai-ml', 'ethnic-ai-automation', ethnic_ai_ml_development_page_styles() );
}
return $base_styles . <<<'CSS'
.ethnic-ai-automation-page {
--ethnic-ai-automation-accent: #0f766e;
--ethnic-ai-automation-accent-dark: #115e59;
--ethnic-ai-automation-cyan: #2563eb;
--ethnic-ai-automation-lime: #d9ff9a;
}
.ethnic-ai-automation-hero__title {
max-width: 7ch;
}
.ethnic-ai-automation-hero__lead {
max-width: 59ch;
}
.ethnic-ai-automation-visual__nav span,
.ethnic-ai-automation-visual__tags span {
background: rgba(15, 118, 110, 0.08);
color: var(--ethnic-ai-automation-accent-dark);
}
.ethnic-ai-automation-visual__product-shot {
background:
radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.9), transparent 22%),
linear-gradient(150deg, rgba(15, 118, 110, 0.16), rgba(37, 99, 235, 0.08)),
linear-gradient(180deg, #eefdf3, #d4f6e7);
}
.ethnic-ai-automation-visual__product-shot::before {
background:
linear-gradient(180deg, #ffffff, #f0fbf6);
border: 1px solid rgba(15, 118, 110, 0.14);
}
.ethnic-ai-automation-visual__product-shot::after {
background: rgba(15, 118, 110, 0.12);
}
.ethnic-ai-automation-visual__eyebrow {
color: var(--ethnic-ai-automation-accent);
}
.ethnic-ai-automation-visual__floating li::before,
.ethnic-ai-automation-checklist li::before,
.ethnic-ai-automation-cta__highlights li::before {
background: var(--ethnic-ai-automation-accent);
box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}
.ethnic-ai-automation-visual__floating--ops {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
linear-gradient(180deg, #103136, #0b1f28);
}
.ethnic-ai-automation-card__icon,
.ethnic-ai-automation-platform-card__icon {
background: rgba(15, 118, 110, 0.08);
color: var(--ethnic-ai-automation-accent);
}
.ethnic-ai-automation-dashboard,
.ethnic-ai-automation-faq__marker,
.ethnic-ai-automation-dashboard__journey-step span {
background-color: rgba(15, 118, 110, 0.08);
color: var(--ethnic-ai-automation-accent);
}
.ethnic-ai-automation-dashboard {
background:
radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 30%),
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 248, 0.96));
}
.ethnic-ai-automation-cta::before {
background:
linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
linear-gradient(0deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px);
}
.ethnic-ai-automation-cta .ethnic-ai-automation-kicker--light,
.ethnic-ai-automation-heading__eyebrow {
border-color: rgba(15, 118, 110, 0.16);
color: var(--ethnic-ai-automation-accent) !important;
-webkit-text-fill-color: var(--ethnic-ai-automation-accent);
}
.ethnic-ai-automation-cta .ethnic-ai-automation-kicker--light {
color: #0d6b64 !important;
-webkit-text-fill-color: #0d6b64;
box-shadow: 0 14px 36px rgba(15, 118, 110, 0.14);
}
.ethnic-ai-automation-card-grid--workflow,
.ethnic-ai-automation-card-grid--use-cases {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ethnic-ai-automation-performance {
display: grid;
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
gap: clamp(28px, 4vw, 48px);
align-items: start;
}
.ethnic-ai-automation-card--workflow,
.ethnic-ai-automation-card--use-case {
height: 100%;
}
.ethnic-ai-automation-card-grid--workflow .ethnic-ai-automation-card,
.ethnic-ai-automation-card-grid--use-cases .ethnic-ai-automation-card {
padding: 24px;
}
.ethnic-ai-automation-card-grid--workflow .ethnic-ai-automation-card h3,
.ethnic-ai-automation-card-grid--use-cases .ethnic-ai-automation-card h3 {
margin-top: 18px;
}
.ethnic-ai-automation-integration-card {
padding: 24px;
border-radius: 28px;
border: 1px solid var(--ethnic-ai-automation-border);
box-shadow: var(--ethnic-ai-automation-shadow);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.96)),
var(--ethnic-ai-automation-surface-strong);
}
.ethnic-ai-automation-integration-card h3 {
margin: 18px 0 0;
color: var(--ethnic-ai-automation-text);
font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
font-size: 22px;
font-weight: 700;
line-height: 1.3;
}
@media (max-width: 1200px) {
.ethnic-ai-automation-card-grid--workflow,
.ethnic-ai-automation-card-grid--use-cases {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 1024px) {
.ethnic-ai-automation-performance {
grid-template-columns: 1fr;
}
}
@media (max-width: 767px) {
.ethnic-ai-automation-card-grid--workflow,
.ethnic-ai-automation-card-grid--use-cases {
grid-template-columns: 1fr;
}
}
CSS;
}
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_body_class' ) ) {
function ethnic_ai_automation_services_page_body_class( $classes ) {
if ( ethnic_ai_automation_services_page_is_target() ) {
$classes[] = 'ethnic-ai-automation-development-target';
$classes[] = 'ethnic-ai-automation-services-target';
}
return $classes;
}
add_filter( 'body_class', 'ethnic_ai_automation_services_page_body_class' );
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_print_head_assets' ) ) {
function ethnic_ai_automation_services_page_print_head_assets() {
if ( ! ethnic_ai_automation_services_page_is_target() ) {
return;
}
$data = ethnic_ai_automation_services_page_data();
?>
<style id="ethnic-ai-automation-services-page-inline-css" type="text/css">
<?php echo ethnic_ai_automation_services_page_styles(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</style>
<meta name="description" content="<?php echo esc_attr( $data['metaDescription'] ); ?>" />
<?php
}
add_action( 'wp_head', 'ethnic_ai_automation_services_page_print_head_assets', 120 );
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_document_title' ) ) {
function ethnic_ai_automation_services_page_document_title( $title ) {
if ( ethnic_ai_automation_services_page_is_target() ) {
$data = ethnic_ai_automation_services_page_data();
return $data['metaTitle'];
}
return $title;
}
add_filter( 'pre_get_document_title', 'ethnic_ai_automation_services_page_document_title', 50 );
}
if ( ! function_exists( 'ethnic_ai_automation_services_page_replace_content' ) ) {
function ethnic_ai_automation_services_page_replace_content( $content ) {
if ( ! ethnic_ai_automation_services_page_is_target() || ! in_the_loop() || ! is_main_query() ) {
return $content;
}
static $rendered = false;
if ( $rendered ) {
return $content;
}
$rendered = true;
return ethnic_ai_automation_services_page_render();
}
add_filter( 'the_content', 'ethnic_ai_automation_services_page_replace_content', 1000 );
}