25354494 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.287
Run Time 00:00.008
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "105269",
  "data" => %{
    "account_insight_agent_id" => "349e6c63-30c2-475d-a462-a79c3319d621",
    "insights" => [
      %{
        "action_plan" => "Use this as a routine cleanup pass:\n1. Unpublish experiences that support retired pages, deprecated onboarding paths, or old product behavior.\n2. Keep any experience that is intentionally seasonal or reserved for low-volume traffic, but review its targeting to confirm it can still trigger.\n3. If an item is still strategically important, validate the URL/domain targeting and triggering rules before leaving it published.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 9d8d64d7-862d-45e7-ba68-4b50e9bf6250 named 'Set Your Schedule'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Set Your Schedule flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 9d8d64d7-862d-45e7-ba68-4b50e9bf6250 named 'Set Your Schedule' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID f0427f56-61bd-4113-8494-d21c389e4fce named 'Save Settings'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Save Settings flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID f0427f56-61bd-4113-8494-d21c389e4fce named 'Save Settings' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID dea462c4-9367-4f8c-8b81-98fed044db35 named 'K.me SignUp - Connect Account'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Connect Account flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID dea462c4-9367-4f8c-8b81-98fed044db35 named 'K.me SignUp - Connect Account' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 2f732afc-b80b-4c7c-a3d9-e91601f770d0 named 'Confirm Timezone'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Confirm Timezone flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 2f732afc-b80b-4c7c-a3d9-e91601f770d0 named 'Confirm Timezone' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 77e86996-b44d-4272-ae76-d68e52984a65 named 'Connect Meeting Link'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Meeting Link flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 77e86996-b44d-4272-ae76-d68e52984a65 named 'Connect Meeting Link' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID ded303a5-7b0e-4553-acef-2dd485d6f32b named 'K.me SignUp - Sync Contacts'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Sync Contacts flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID ded303a5-7b0e-4553-acef-2dd485d6f32b named 'K.me SignUp - Sync Contacts' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 006b91bb-0aac-43cb-b66f-4573db3154fa named 'K.me SignUp - Manage Settings'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Manage Settings flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 006b91bb-0aac-43cb-b66f-4573db3154fa named 'K.me SignUp - Manage Settings' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID d7d87728-a3e0-4f62-9b9b-65c86f753aa8 named 'K.me SignUp - Launch Meeting'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Launch Meeting flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID d7d87728-a3e0-4f62-9b9b-65c86f753aa8 named 'K.me SignUp - Launch Meeting' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID ad850897-4b90-4b44-8183-ff16d9af12ce named 'K.me New User - Templates Tour'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Templates Tour flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID ad850897-4b90-4b44-8183-ff16d9af12ce named 'K.me New User - Templates Tour' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 98f02fef-9620-4bb8-8ceb-441145dac229 named 'K.me SignUp: Welcome'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Welcome signup flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 98f02fef-9620-4bb8-8ceb-441145dac229 named 'K.me SignUp: Welcome' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 50fc236b-3380-4ac8-a7a4-111baf1152a2 named 'Get help - Prod'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Get help pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 50fc236b-3380-4ac8-a7a4-111baf1152a2 named 'Get help - Prod' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 5a1cdedf-bbd1-4c8f-b3ab-5fca231a9efe named 'Kronologic Invite Pin'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish Invite pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 5a1cdedf-bbd1-4c8f-b3ab-5fca231a9efe named 'Kronologic Invite Pin' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID 1c34a6d0-d21c-463c-9e2f-f061a3303563 named 'Welcome to K.ME. Let's get started.'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish welcome checklist",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 1c34a6d0-d21c-463c-9e2f-f061a3303563 named 'Welcome to K.ME. Let's get started.' again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID ea76eb6b-0760-44ef-ba2f-a21e906f8268 named 'Settings Set Up'. This experience has had zero activity in the last 30 days and is being cleaned up as inactive published content.",
            "title" => "Unpublish settings checklist",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID ea76eb6b-0760-44ef-ba2f-a21e906f8268 named 'Settings Set Up' again."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should reduce clutter in your live experience inventory and make it easier to focus on experiences that still drive activation and engagement.",
        "finding" => "Routine hygiene check: **14 published experiences** that were all published more than **3 weeks ago** had **0 seen events and 0 completions in the last 30 days**.\n\nReview these inactive items for cleanup:\n- [Set Your Schedule](https://studio.appcues.com/flows/9d8d64d7-862d-45e7-ba68-4b50e9bf6250/settings)\n  - Type: Flow\n  - Designed to guide users on **/settings/accounts/1** to set availability.\n- [Save Settings](https://studio.appcues.com/flows/f0427f56-61bd-4113-8494-d21c389e4fce/settings)\n  - Type: Flow\n  - Designed to remind users on **/settings/accounts/1** to save account settings.\n- [K.me SignUp - Connect Account](https://studio.appcues.com/flows/dea462c4-9367-4f8c-8b81-98fed044db35/settings)\n  - Type: Flow\n  - Designed for signup users on **/settings/accounts** to connect their calendar/account.\n- [Confirm Timezone](https://studio.appcues.com/flows/2f732afc-b80b-4c7c-a3d9-e91601f770d0/settings)\n  - Type: Flow\n  - Designed to prompt timezone confirmation on **/settings/accounts/1**.\n- [Connect Meeting Link](https://studio.appcues.com/flows/77e86996-b44d-4272-ae76-d68e52984a65/settings)\n  - Type: Flow\n  - Designed to help users connect a meeting-link provider on **/settings/accounts/1**.\n- [K.me SignUp - Sync Contacts](https://studio.appcues.com/flows/ded303a5-7b0e-4553-acef-2dd485d6f32b/settings)\n  - Type: Flow\n  - Designed to encourage syncing contacts on **/contacts**.\n- [K.me SignUp - Manage Settings](https://studio.appcues.com/flows/006b91bb-0aac-43cb-b66f-4573db3154fa/settings)\n  - Type: Flow\n  - Designed to direct users to configure scheduling, conferencing, and signature settings on **/settings/accounts**.\n- [K.me SignUp - Launch Meeting](https://studio.appcues.com/flows/d7d87728-a3e0-4f62-9b9b-65c86f753aa8/settings)\n  - Type: Flow\n  - Designed to prompt users to create their first meeting across the app.\n- [K.me New User - Templates Tour](https://studio.appcues.com/flows/ad850897-4b90-4b44-8183-ff16d9af12ce/settings)\n  - Type: Flow\n  - Designed to guide new users through meeting templates on **/meeting-templates**.\n- [K.me SignUp: Welcome](https://studio.appcues.com/flows/98f02fef-9620-4bb8-8ceb-441145dac229/settings)\n  - Type: Flow\n  - Designed as a welcome modal for new users, pointing them to the onboarding checklist on **/settings/accounts**.\n- [Get help - Prod](https://studio.appcues.com/pins/50fc236b-3380-4ac8-a7a4-111baf1152a2/settings)\n  - Type: Pin\n  - Designed as a persistent help/feedback pin linking users to submit a support ticket across app pages.\n- [Kronologic Invite Pin](https://studio.appcues.com/pins/5a1cdedf-bbd1-4c8f-b3ab-5fca231a9efe/settings)\n  - Type: Pin\n  - Designed as a persistent pin on **/meeting-templates** for invite-related guidance.\n- [Welcome to K.ME. Let's get started.](https://studio.appcues.com/checklists/1c34a6d0-d21c-463c-9e2f-f061a3303563/edit)\n  - Type: Checklist\n  - Designed to onboard new users through calendar connection, settings configuration, and sending a first meeting.\n- [Settings Set Up](https://studio.appcues.com/checklists/ea76eb6b-0760-44ef-ba2f-a21e906f8268/edit)\n  - Type: Checklist\n  - Designed to walk users through meeting-link setup, timezone confirmation, availability, and saving settings.\n\nNo goals were attached to the reviewed items in their published rules.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "14 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "089a4c92-9b61-4861-9347-05f3a9675fa8",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777557190651254, "structured" => true}

Errors

Attempt 5—2h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 4—2h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 3—2h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 2—2h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 1—2h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4