24374133 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.227
Run Time 00:00.006
Inserted 9d ago
Scheduled 9d ago
Completed
Cancelled
Discarded 9d ago

Args

%{
  "account_id" => "92861",
  "data" => %{
    "account_insight_agent_id" => "90be4626-df05-4c68-ba58-16debe85e051",
    "insights" => [
      %{
        "action_plan" => "Review the list and decide which experiences are still strategically relevant.\n\n1. Unpublish items tied to retired pages, old launches, or outdated workflows.\n2. Keep live only the experiences that still support an active journey or upcoming initiative.\n3. For anything you keep published, verify the targeting and page rules before the next review cycle so inactive content does not keep accumulating.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID c1aac379-53c2-44b7-baf5-1b1cf5397df6 named \"Campaigns Dashboard\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Campaigns Dashboard flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID c1aac379-53c2-44b7-baf5-1b1cf5397df6 named \"Campaigns Dashboard\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 27f6e1e2-e393-4668-8980-16ed25ebc6cf named \"Recruit\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Recruit flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 27f6e1e2-e393-4668-8980-16ed25ebc6cf named \"Recruit\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 27110eb8-b659-4114-8fbb-03473ea4ec79 named \"Off Platform\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Off Platform flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 27110eb8-b659-4114-8fbb-03473ea4ec79 named \"Off Platform\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 0d934e1f-0ecf-4528-8436-ead79f8867ab named \"Outreach\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Outreach flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 0d934e1f-0ecf-4528-8436-ead79f8867ab named \"Outreach\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 5439b7dd-641e-4a2f-913d-76dcee94fa42 named \"Groups\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Groups flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 5439b7dd-641e-4a2f-913d-76dcee94fa42 named \"Groups\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 329cea00-bac9-48a9-a4e9-73aa91436508 named \"Bulletin\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Bulletin flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 329cea00-bac9-48a9-a4e9-73aa91436508 named \"Bulletin\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID b9629478-e6e2-4aef-88a8-870ce1fce903 named \"Reports\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish Reports flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID b9629478-e6e2-4aef-88a8-870ce1fce903 named \"Reports\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID ba88f2aa-2b36-4021-83d2-186bdd424b1d named \"App Relaunch - Userguide\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-20.",
            "title" => "Unpublish App Relaunch guide flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID ba88f2aa-2b36-4021-83d2-186bdd424b1d named \"App Relaunch - Userguide\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 41f6259c-f67f-4f23-a770-457bdc9a745e named \"New Influencer Profiles\". This flow has had 0 seen users in the last 30 days and was published on 2024-03-21.",
            "title" => "Unpublish New Influencer Profiles",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 41f6259c-f67f-4f23-a770-457bdc9a745e named \"New Influencer Profiles\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 9cf79177-30ce-48fc-ac98-3cd4fd9f213a named \"Group Limitation Alert\". This flow has had 0 seen users in the last 30 days and was published on 2022-03-10.",
            "title" => "Unpublish Group Limitation Alert",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 9cf79177-30ce-48fc-ac98-3cd4fd9f213a named \"Group Limitation Alert\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 64db8cee-d128-40fb-942a-2d6dde5a4a01 named \"Copy of Outreach > Brief message: {BriefLink} Tooltip\". This flow has had 0 seen users in the last 30 days and was published on 2022-03-07.",
            "title" => "Unpublish copied Outreach tooltip",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 64db8cee-d128-40fb-942a-2d6dde5a4a01 named \"Copy of Outreach > Brief message: {BriefLink} Tooltip\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID d1caa028-5a53-48fa-aba6-56d8da25e9d0 named \"Outreach > Brief message: {BriefLink} Tooltip\". This flow has had 0 seen users in the last 30 days and was published on 2022-02-18.",
            "title" => "Unpublish Outreach tooltip flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID d1caa028-5a53-48fa-aba6-56d8da25e9d0 named \"Outreach > Brief message: {BriefLink} Tooltip\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID e21efe29-d394-4b06-89ce-73a7d15e8041 named \"Ambassadors > New Signups\". This flow has had 0 seen users in the last 30 days and was published on 2021-08-27.",
            "title" => "Unpublish Ambassadors New Signups",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID e21efe29-d394-4b06-89ce-73a7d15e8041 named \"Ambassadors > New Signups\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 13ab7fe4-4462-49c1-8c8a-16ad73ae799a named \"Ambassadors>Opportunities - demo flow\". This flow has had 0 seen users in the last 30 days and was published on 2021-08-27.",
            "title" => "Unpublish Ambassadors Opportunities flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 13ab7fe4-4462-49c1-8c8a-16ad73ae799a named \"Ambassadors>Opportunities - demo flow\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner with ID 57935101-cfc8-4efe-8f32-0b0a59880953 named \"Groups V2\". This banner has had 0 seen users in the last 30 days and was published on 2026-02-24.",
            "title" => "Unpublish Groups V2 banner",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 57935101-cfc8-4efe-8f32-0b0a59880953 named \"Groups V2\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with ID eddc04f2-2e42-4127-9181-1c91af466f9d named \"UI pins\". This pin has had 0 seen users in the last 30 days and was published on 2023-10-25.",
            "title" => "Unpublish UI pins experience",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID eddc04f2-2e42-4127-9181-1c91af466f9d named \"UI pins\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should reduce maintenance overhead, lower the risk of outdated messaging resurfacing, and keep your live Appcues inventory focused on current activation and adoption journeys.",
        "finding" => "I reviewed published **flows, banners, pins, and checklists** that were published **before 2026-03-31** and looked for **0 seen events / enrollments in the last 30 days**.\n\nThese **16 published experiences** met that inactivity threshold:\n- [Campaigns Dashboard](https://studio.appcues.com/flows/c1aac379-53c2-44b7-baf5-1b1cf5397df6/settings)\n  - Type: Flow\n  - Designed to introduce the campaigns dashboard for **Brand** users on **/campaigns**, highlighting campaign setup, briefing, contracts, and review workflows.\n- [Recruit](https://studio.appcues.com/flows/27f6e1e2-e393-4668-8980-16ed25ebc6cf/settings)\n  - Type: Flow\n  - Designed to promote creator recruiting on **/ambassadors/review** for **Brand** users.\n- [Off Platform](https://studio.appcues.com/flows/27110eb8-b659-4114-8fbb-03473ea4ec79/settings)\n  - Type: Flow\n  - Designed to announce adding off-platform creators on **/collaborators/campaigns** for **Brand** users.\n- [Outreach](https://studio.appcues.com/flows/0d934e1f-0ecf-4528-8436-ead79f8867ab/settings)\n  - Type: Flow\n  - Designed to introduce bulk creator messaging and outreach analytics on **/outreach** for **Brand** users.\n- [Groups](https://studio.appcues.com/flows/5439b7dd-641e-4a2f-913d-76dcee94fa42/settings)\n  - Type: Flow\n  - Designed to promote pre-populated creator groups on **/groups** for **Brand** users.\n- [Bulletin](https://studio.appcues.com/flows/329cea00-bac9-48a9-a4e9-73aa91436508/settings)\n  - Type: Flow\n  - Designed to explain how to cast opportunities with Bulletin on **/bulletins** for **Brand** users.\n- [Reports](https://studio.appcues.com/flows/b9629478-e6e2-4aef-88a8-870ce1fce903/settings)\n  - Type: Flow\n  - Designed to announce reporting and campaign insights on **/reports** for **Brand** users.\n- [App Relaunch - Userguide](https://studio.appcues.com/flows/ba88f2aa-2b36-4021-83d2-186bdd424b1d/settings)\n  - Type: Flow\n  - Designed as a multi-step relaunch tour on **/home** for **Brand** users, covering search, campaigns, bulletin, off-platform creators, and notifications.\n- [New Influencer Profiles](https://studio.appcues.com/flows/41f6259c-f67f-4f23-a770-457bdc9a745e/settings)\n  - Type: Flow\n  - Designed to announce upgraded influencer profiles to a targeted segment on **/home**.\n- [Group Limitation Alert](https://studio.appcues.com/flows/9cf79177-30ce-48fc-ac98-3cd4fd9f213a/settings)\n  - Type: Flow\n  - Designed as a tooltip reminding users to keep groups under **250 creators** on influencer/media pages.\n- [Copy of Outreach > Brief message: {BriefLink} Tooltip](https://studio.appcues.com/flows/64db8cee-d128-40fb-942a-2d6dde5a4a01/settings)\n  - Type: Flow\n  - Designed to remind segmented users how to personalize outreach messages with **{FirstName}** and **{BriefLink}** on message edit pages.\n- [Outreach > Brief message: {BriefLink} Tooltip](https://studio.appcues.com/flows/d1caa028-5a53-48fa-aba6-56d8da25e9d0/settings)\n  - Type: Flow\n  - Designed for the same outreach message-personalization use case on message edit pages.\n- [Ambassadors > New Signups](https://studio.appcues.com/flows/e21efe29-d394-4b06-89ce-73a7d15e8041/settings)\n  - Type: Flow\n  - Designed to guide users triggered by interested ambassadors toward reviewing new signups and approvals.\n- [Ambassadors>Opportunities - demo flow](https://studio.appcues.com/flows/13ab7fe4-4462-49c1-8c8a-16ad73ae799a/settings)\n  - Type: Flow\n  - Designed to guide ambassador users through opportunities, briefs, and bulletin workflows.\n- [Groups V2](https://studio.appcues.com/banners/57935101-cfc8-4efe-8f32-0b0a59880953/settings)\n  - Type: Banner\n  - Designed to announce the Groups V2 experience on **/groups-v2** in a preview environment.\n- [UI pins](https://studio.appcues.com/pins/eddc04f2-2e42-4127-9181-1c91af466f9d/settings)\n  - Type: Pin\n  - Designed as a persistent pin set on the home area to explain dashboards, ambassadors, discovery, management, activation, and reporting.\n\nThis looks like normal content hygiene work rather than a configuration mistake: these experiences are still published, but they have not generated any seen activity " <> ...,
        "outcomes" => ["activation", "adoption", "engagement"],
        "priority" => "medium",
        "title" => "16 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "e1902afe-78c1-478a-8d63-39e7ed1df7d3",
  ...
}

Meta

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

Errors

Attempt 5—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+a640f45e) 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