{"id":116316,"plugin_id":"plugin_asdk_app_6af4987925088191b9b1d0e197b5476c","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:16:43.613Z","digest":"328d7964efecd74f7e45c82021584d5c52435864300a1325091b02c89380c130","against":null,"payload":{"description":"Create, edit and design Poptin email campaigns, review launch readiness, send approved tests, send or schedule with confirmation, and manage existing campaigns. Use for campaign work, not popup design or unsupported automated email journeys.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":446},{"relative_path":"references/design-and-upload.md","size_in_bytes":4510}],"name":"manage-poptin-email-campaigns","skill_md_contents":"---\nname: manage-poptin-email-campaigns\ndescription: Create, edit and design Poptin email campaigns, review launch readiness, send approved tests, send or schedule with confirmation, and manage existing campaigns. Use for campaign work, not popup design or unsupported automated email journeys.\n---\n\n# Manage Poptin email campaigns\n\nWork within the user's requested goal and the account authorized by the Poptin connection. A request for content, a preview or a draft does not authorize a send. Follow the user's explicit limits and the host's permissions as well as the server's required confirmations. Never request passwords or tokens in chat; use the host's OAuth connection flow if reconnecting is needed.\n\n## Find the campaign and available tools\n\nUse `list-campaigns` and `get-campaign` to resolve an existing campaign and its current state. Clarify ambiguous matches before changing anything. Reuse the returned `campaign_uid` throughout a workflow; do not create another draft just because a later step failed.\n\nFor operations not directly advertised, call `search_tools` with the intended operation, then `execute_tools` with the exact discovered tool name and live arguments. Discovery does not waive prerequisites or approval. Inspect current schemas and follow entitlement or state restrictions; do not invent a tool, field or ID.\n\n## Create or update a draft\n\n1. Establish the campaign goal, offer/content, audience, sender, subject and requested outcome. For an on-brand design, use supplied brand assets, colors, typography or an appropriate existing template. Ask for missing material details rather than inventing brand standards, offers or commitments.\n2. Read `poptin://account/settings`, `poptin://account/sending-domains` and `poptin://docs/campaigns/merge-tags/subject-preheader`. Check timezone and company-address readiness. Sender and reply-to addresses must use active verified sending domains; do not invent addresses or configure account infrastructure as a side effect.\n3. Call `save-campaign-setup` with the authorized name, subject, optional preheader, sender name, sender email and reply-to. This saves a mutable draft; it does not send or schedule. Pass an existing `campaign_uid` for an update. When creating, a client UUID `idempotency_key` can protect identical retries for 24 hours. Preserve it for the same attempt. If the result reports duplicate candidates, ask whether to reuse one or create another; set `confirm_create=true` only after the user confirms the new duplicate draft.\n4. Read the relevant live `poptin://docs/segments/filters/*` resources before building the audience. Use canonical `include` and optional `exclude` expressions with `match: all|any`. Every leaf rule needs a valid category, property and operator from those resources. Campaign audiences cannot use `subscription_status`. Empty `include.items` targets all eligible subscribed contacts, so never use it as a fallback for an unclear audience. Resolve saved-segment filters instead of guessing or attaching a nested segment.\n5. Run `preview-campaign-audience`, inspect deliverable/include/excluded counts, then use `save-campaign-audience` for the authorized selection. At least one eligible subscribed contact is required. If the preview materially differs from the intended audience, clarify before saving. This is a counts workflow, not a contact export. The server compiles recursive groups and detaches shared/reusable segment links before writing the campaign's own rules.\n6. Complete design only after setup and audience are saved. Read [design-and-upload.md](references/design-and-upload.md) for the template-versus-edited-HTML flow. Read `poptin://docs/campaigns/merge-tags/body` before design work. Preserve valid merge tags, unsubscribe requirements and the user's approved content; do not make up unsupported tags.\n7. Read `get-campaign-launch-summary` and report the draft's readiness and missing steps. If the user requested only a draft, stop here without sending a test or scheduling delivery.\n\n## Tests, immediate sending and scheduling\n\n- Before any test or launch, check the latest launch summary and the exact attached design. Setup, audience, design and required company-address readiness must be satisfied; never bypass content review or anti-spam checks.\n- For `send-campaign-test-email`, confirm 1–5 distinct recipient addresses with the user first. Optional `contact_email` selects an existing subscribed, unrestricted contact for merge-tag personalization; it does not add that contact as a recipient. Use it only with authorization to share that personalized content with the selected test recipients. Report test acceptance without claiming delivery.\n- For a requested send or schedule, summarize the campaign, sender, audience/count, content and timing. Obtain explicit approval for that actual launch before setting `confirm_send=true`. A draft/create request is not approval. Calling `send-campaign-now` or `schedule-campaign` with `confirm_send=false` obtains the server's confirmation response without launching.\n- For scheduling, resolve the user's date and timezone, ask if ambiguous, and pass future `run_at` as RFC 3339 with `Z` or an explicit offset. The server normalizes and returns UTC; explain the local time requested as well as any material conversion.\n- Use `send-campaign-now` only for approved immediate delivery, or `schedule-campaign` for the approved future time. If content, sender, audience or timing materially changes, obtain approval for the changed launch. A queued or scheduled result is not proof of inbox delivery. Re-read campaign state after the operation. If the outcome is uncertain, inspect state before considering a retry; do not blindly issue another send.\n\n## Manage existing campaigns\n\n- Use `pause-campaign` only for a requested pause of a sending or queued campaign; already paused is unchanged. Under-review campaigns cannot be paused.\n- Use `resume-campaign` only for a requested resumption of a paused or errored campaign. Already sending, queued or scheduled is unchanged; under-review campaigns cannot be resumed. Make clear that resuming may restart delivery.\n- For `delete-campaign`, treat the initial delete request as intent only. First call with `confirm_delete=false`, explain that deletion is permanent and identify the campaign, then ask for fresh explicit approval. Set `confirm_delete=true` only after that approval. The server permits deletion of non-sending campaigns, including queued or under-review campaigns; do not confuse deletion with pausing.\n- Verify changes through `get-campaign` or the relevant returned state. Report missing access, validation errors or incomplete results honestly. Do not imply campaign creation tools can build popup designs or multi-step behavioral email automations.\n\nUse plain business language in the result. Show useful names, the draft/send/schedule state, audience and timing, plus material warnings. Keep tool names, IDs, resource URIs and upload details internal unless the user requests technical information.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}