__( 'Counted from your own data: your leads, visits and ad costs.', 'dealroot' ),
)
);
if ( Ai::enabled() ) {
Ai_View::ask_panel( true );
} else {
?>
abilities();
Shell::close();
}
/**
* What the assistant does on its own, with where to find it.
*/
private function abilities() {
$items = array(
array(
'icon' => 'dashicons-filter',
'title' => __( 'Reads every enquiry', 'dealroot' ),
'text' => __( 'Sorts out spam and job applications, notes what the person asks about and writes a short summary, so you see at a glance what matters.', 'dealroot' ),
'link' => __( 'All leads', 'dealroot' ),
'url' => Shell::url( Admin::LEADS_PAGE ),
),
array(
'icon' => 'dashicons-edit-page',
'title' => __( 'Writes the first answer', 'dealroot' ),
'text' => __( 'A draft in your own style on every lead, with your prices and quick replies. You read it, change what does not fit and send it.', 'dealroot' ),
'link' => __( 'New leads', 'dealroot' ),
'url' => Shell::url( Admin::LEADS_PAGE, array( 'status' => 'new' ) ),
),
array(
'icon' => 'dashicons-translation',
'title' => __( 'Translates', 'dealroot' ),
'text' => __( 'Enquiries in another language are translated for you, and your answer goes back in the language of the customer.', 'dealroot' ),
'link' => '',
'url' => '',
),
array(
'icon' => 'dashicons-camera',
'title' => __( 'Turns a photo or a chat into a lead', 'dealroot' ),
'text' => __( 'A business card, a screenshot or a conversation copied from WhatsApp: the assistant fills in the name, contact and what the person wants.', 'dealroot' ),
'link' => __( 'Add lead', 'dealroot' ),
'url' => Shell::url( Admin::PAGE, array( 'lead' => 'new' ) ),
),
array(
'icon' => 'dashicons-lightbulb',
'title' => __( 'Advice every week', 'dealroot' ),
'text' => __( '“Your week in short” on the overview: what changed against the week before and the one thing worth doing next.', 'dealroot' ),
'link' => __( 'Overview', 'dealroot' ),
'url' => Shell::url( Admin::PAGE ),
),
array(
'icon' => 'dashicons-admin-page',
'title' => __( 'Ideas for your website', 'dealroot' ),
'text' => __( 'Topics many people ask about that no page of your site answers yet, with their questions, and details your forms should ask for.', 'dealroot' ),
'link' => __( 'Overview', 'dealroot' ),
'url' => Shell::url( Admin::PAGE ),
),
array(
'icon' => 'dashicons-smartphone',
'title' => __( 'On your phone, in Telegram', 'dealroot' ),
'text' => __( 'Send a voice message after a call, ask for numbers or say “Müller won, 1,500 euros” – the same as here, on the way.', 'dealroot' ),
'link' => current_user_can( 'manage_options' ) ? __( 'Set up Telegram', 'dealroot' ) : '',
'url' => Shell::url( Admin::SETTINGS_PAGE ) . '#dealroot-section-telegram',
),
);
/**
* Filters what the assistant does on its own, shown below the questions, e.g. by Dealroot Pro.
*
* @param array[] $items Each dashicon, title, text, link label and URL.
*/
$items = (array) apply_filters( 'dealroot_ai_abilities', $items );
?>