<?php
/**
 * InboundWebhookGhostTrigger — Pro-only teaser shown in play editor.
 *
 * @package CartCue
 */

namespace CartCue\Triggers;

defined( 'ABSPATH' ) || exit;

final class InboundWebhookGhostTrigger extends GhostTrigger {

	public function get_slug(): string {
		return 'inbound_webhook';
	}

	public function get_label(): string {
		return __( 'Inbound Webhook', 'cartcue-sales-automation' );
	}

	public function get_sentence(): string {
		return __( 'an external app calls your webhook', 'cartcue-sales-automation' );
	}

	public function get_description(): string {
		return __( 'Trigger a CartCue automation from external tools like Typeform, Calendly, Stripe, or your CRM via secure tokenized endpoint.', 'cartcue-sales-automation' );
	}

	protected function get_pro_description(): string {
		return __( 'Create a secure per-play webhook endpoint and fire CartCue automations from external systems with payload data for branching and follow-up actions.', 'cartcue-sales-automation' );
	}
}
