Skip to content

Automating Call To Action Delivery (Repo XP Report) #196

@0x4007

Description

@0x4007

We envision that on our upcoming landing page for the XP product, we need to have a call to action that will convince users to pay for the product.

The idea is to have them input a repository URL and then we can send them an XP report of the last month for their team. Ideally this would be in the form of a link to the dashboard so they can see everything.

I imagine that we can leverage the tech from https://github.com/0x4007/travel-stipend/ to trigger a run using text-conversation-rewards https://github.com/ubiquity-os-marketplace/text-conversation-rewards/actions/workflows/compute.yml @gentlementlegen please add any necessary details like what branch its on and how to make this all work together.

Details on running text-conversation-rewards action

  • we need to run this securely either through the kernel or calling directly by providing the proper signature
  • there should be a way to know if that was previously run on this repo to avoid running it multiple times
  • we can ignore private repositories
  • at the end of the run, we can send the results via email to the user
  • XP is based on priority / rewards combination, we need a way to define what the labels would have been, theoretically

Safety

We must only allow this to work once per organization. This is so they can only get this free report one time. In theory this can be circumvented if they transfer repos to new orgs but that seems like a lot of headache and unlikely for established orgs to do.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions