Left over notes to save

This commit is contained in:
Norm Rasmussen
2023-03-06 09:33:03 -05:00
parent 34cdcf15cd
commit 3e9d970f11
5 changed files with 66 additions and 23 deletions

View File

@ -1,10 +1,10 @@
# Crayon
# Crayon
As of tonight
Crayon.co/Academy will no longer have a form
Crayon.co/Academy/Activator-Course - Form to course url
And then the same for architect
These should be course
These should be course
Lets remove groups later
Current experience is press enroll and then start
how to refresh and auto enroll
@ -33,22 +33,46 @@ Salesforce is their main CRM
- But wants this to be on the campaign level
How it is currently setup:
- Hubspot form on website, someone fills out the form
- Form fills associated with campaign in Salesforce
- In SFDC, he only gets when someone is registered for a course, no completed
- Campaign structure is based on course [name](2022-11-21_name.md)
- Form fills associated with campaign in Salesforce
- In SFDC, he only gets when someone is registered for a course, no completed
- Campaign structure is based on course [name](2022-11-21_name.md)
Registration page - embed a hubspot form?
Hubspot is just for marketing
## 10/26/2022
### Contract Convo with Conor
*Two major things they need from our end*:
* December 5 (Monday), new course release
* Tentatively, EOD on the 2nd (Friday), flip the switch to allow people to start the course. If people enter the course over the weekend, that's okay.
* When a new learner accesses the home page, there is the "waiting list" for accelerator course. The waiting list button needs to change to access the course overview page.
* Crayon.co/course pages which all have their own landing/enrollment form.
* Austin set it up so that that page brings them straight to the course overview page.
* The same flow needs to be done for the accelerator course.
* They are currently filming for the accelerator course
* Conor just needs to know right now what me or Austin or I will need to create that special link.
* Do we have Accelerator badges? Norm to look in S3 and confirm with Conor.
*December 5 (Monday), new course release
* Tentatively, EOD on the 2nd (Friday), flip the switch to allow people to start the course. If people enter the course over the weekend, that's okay.
* When a new learner accesses the home page, there is the "waiting list" for accelerator course. The waiting list button needs to change to access the course overview page.
* Crayon.co/course pages which all have their own landing/enrollment form.
* Austin set it up so that that page brings them straight to the course overview page.
* The same flow needs to be done for the accelerator course.
*They are currently filming for the accelerator course
* Conor just needs to know right now what me or Austin or I will need to create that special link.
* Do we have Accelerator badges? Norm to look in S3 and confirm with Conor.
## 03/03/2023
### Shannon, Customer Onboarding
Wants to use Northpass for customer onboarding. Async training is key. But each training might be unique per customer.
When a customer signs up, they identify the "power user" or POC. The academy would be just for the POC. Only 1-2 ppl per account.
Current 60 accounts in implementation. 60 day onboarding. Giving users only access for those 60 days.
Authentication is connected through zendesk.
After they have purchased, they can login through zendesk.
Content - is it all on Shannon? 2/3 ppl were IDs or Curriculum designers.
The manual lift is a concern.
Her main question is "what can we build?"
Learning Paths are important
Certifications
Is NP a one-size fits all? - No, we can customize per customer.
Segmentation would likely be based on their "play" - battle cards vs. boards.
Very few customers want to enable sales.

View File

@ -1,5 +1,6 @@
skuid = "18Zl2NAzWTE09FHbNEBngNOJO"
skuid = "84GO7zb7a990UJrnFJqiYcd0m"
unknown = "SlpQlju219WnWogn94dQUT6Yt"
forcemanager = "3ia7mWFkdeALYQFYoB51yh6Ov"
talkspace_core = "2vfHw6ksqGfT1gUhPM8pXx2wW"
wildhealth = "HWxj6VTNPwbc3WghFTPzr7SjE"
normsandbox = "SlpQlju219WnWogn94dQUT6Yt"

View File

@ -1,18 +1,26 @@
import requests
import json
import Apikeys
# url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths"
url = "https://api.northpass.com/v1/media?limit=1"
# url = "https://api.northpass.com/v1/media?limit=1"
url = "https://api.northpass.com/v1/learning_paths"
# function = sys.argv[1]
apiKey = Apikeys.talkspace_core
apiKey = Apikeys.normsandbox
normuuid = "0b31c435-c18b-4573-984e-32cda57045b4"
# Get Group Memberships:
# url = "https://api.northpass.com/v2/groups/504c4771-223a-447f-9ec6-08e51bc9ca23/memberships"
# Associate a person with a course:
# url = "https://api.northpass.com/v2/people/person_uuid/relationships/courses"
# Associate a person with a Learning Path (Test):
url = f"https://api.northpass.com/v1/people/{normuuid}/relationships/learning_paths"
def putTest(apiKey, url):
payload = {
"data": {
"type": "media",
@ -35,22 +43,32 @@ def getTest(apiKey, url):
response = requests.get(url, headers=headers)
# print(response.text)
jsonResponse = response.json()
jsonResponse = json.dumps(jsonResponse, indent=2)
print(jsonResponse)
# print(jsonResponse["included"][1]["attributes"]["email"])
# print(jsonResponse["data"][1]["attributes"])
def postTest(apiKey, url):
print(url)
# Learning Path ID is for ID and change type to "enrolled-learning-paths"
payload = {"data": [
{
"type": "enrolled-learning-paths",
"id": "6ef5c9db-81d7-427c-846b-babb9a9a2ad1"
}
]}
headers = {
"accept": "application/json",
"content-type": "application/json",
"X-Api-Key": apiKey,
}
response = requests.post(url, headers=headers)
response = requests.post(url, json=payload, headers=headers)
print(response.text)
print(response)
if __name__ == "__main__":
getTest(apiKey, url)
# getTest(apiKey, url)
# putTest(apiKey, url)
# postTest(apiKey, url):
postTest(apiKey, url)

View File

@ -31,14 +31,14 @@ def findlatestExport(currentDash):
def copytoDash(latestdownload, currentDash):
readExport = pd.read_excel(
latestdownload,
latestdownload,
index_col=False,
header=0,
)
readExport.drop(
readExport.filter(
regex="Unname"
),axis=1,
),axis=1,
inplace=True)
def progressFormat(latestdownload, currentDash, readExport):