Chubb, Sandata, Skuid notes. Updated Anthology's get courses from groups since we hit the API per-page limit. Sendgrid for Sandata.

This commit is contained in:
Norm Rasmussen
2024-04-25 19:43:20 -04:00
parent 11972796a4
commit 05fbcfad0e
7 changed files with 95 additions and 29 deletions

View File

@ -136,3 +136,13 @@ FYI and any collateral for Steve:
* They don't recall why someone was enrolled in a group.
* Learner Full Name is blank if First OR Last name is blank. Their SSO is only bringing over Last name.
* Steve would like the product to change that as soon as the auth page is opened, it reverts the SSO strategy.
## 04-25-2024
Employee Access Updates:
* Transitioned employee auth to Azure
* Steve can get in using SSO, but then can also switch to admin view.
* Is this normal functionality?
* They have not been able to have non-admin learners to SSO in
* They will be using qualtrics soon and passing parameters.
* Grateful for the recent MCA name changes.

View File

@ -6,4 +6,12 @@
* Nothing from Gary on implementation
* Using this time to find a guide star for how design will work.
*
## 04-25-2024
Gary meeting with entire team today to "wrap everything up".
Wants to show us everything that he's showing the team.
Norm to send new sendgrid sectors for sender email domain.
May 10th launch with first few groups.
Will make a gameplan with Gary on what state will be launched on which date, etc.
Norm and Austin to run "resend invitation" API script

View File

@ -385,3 +385,16 @@ Cadence Call with Anna
* LearnUpon contract expires in 2025, but CE is expiring in September of 2024.
* Asked Anna for a G2 Review and she agreed.
* Hard to get a good pulse on if Nintex will keep CE or LearnUpon, Anna said she's really unsure of Sam's opinions right now. No new initiatives are happening with CE though, as Anna is unsure the direction of the content and/or if the content fits in with Nintex's overall Ed. Strategy.
## 04-25-2024
Anna considering leaving the enablement and training team. She wants to move to product.
Nintex is actually trying to grow their Enablement and Education team! There are some jobs posted.
Practical:
* They are changing away from the authorize.net and need to get Stripe (which is what Nintex) up and running for selling their cert program.
* Timeline is closer to Q3 or Q4.
* If eCommerce feature is ready, we tie the payment to the prep courses that are gated.
* Anna to intro Norm to Patrick. Paul Dillingham already involved.
FEAT: Branching within course (at any activity). It's less about completions, but more like opening a new tab and sending the person there. Her point was that it is in the UI instead of remember IDs.

View File

@ -33,9 +33,6 @@ def group_ids():
Get the group Ids from a list of named groups.
"""
url = "groups"
df = pd.DataFrame()
count = 0
courses = []
ids = []
for group in GROUPS:
filter = f"?filter[name][cont]={group} - ("
@ -49,35 +46,66 @@ def group_ids():
group_tupe = (id1, group)
ids.append(group_tupe)
get_courses(ids)
def get_courses(ids):
df = pd.DataFrame()
courses = []
for tupe in ids:
count += 1
id = tupe[0]
print(id)
group = tupe[1]
url2 = f"groups/{id}/courses?limit=100?page={count}"
url2 = f"groups/{id}/courses?limit=100"
courseurl = f"{BASEURL}{url2}"
coursereq = requests.get(courseurl, headers=HEADERS)
coursedata = coursereq.json()
for cdata in coursedata["included"]:
if cdata["attributes"]["status"] == "live":
name = cdata["attributes"]["name"]
courseid = cdata["attributes"]["share_course_link"].split("/")[5]
enrollments = cdata["attributes"]["enrollments_count"]
created = cdata["attributes"]["created_at"]
updated = cdata["attributes"]["updated_at"]
coursedict = {
"group": group,
"name": name,
"id": courseid,
"enrollments": enrollments,
"created at": created,
"updated at": updated,
}
courses.append(coursedict)
nextlink = coursedata["links"]
count = 0
while "next" in nextlink:
for count in range(10):
print(f"Next link for {group} and page {count}")
coursereq2 = requests.get(f"{courseurl}&page={count}", headers=HEADERS)
coursedata2 = coursereq2.json()
next = coursedata2["links"]
coursedict = parse_data(coursedata2, group)
print(f"While Coursedict --> {coursedict}")
if coursedict is None:
pass
else:
courses.append(coursedict)
if "next" not in next:
break
else:
print(f"Else Statement for {group}")
coursedict = parse_data(coursedata, group)
print(f"Else Coursedict --> {coursedict}")
if coursedict is None:
pass
else:
courses.append(coursedict)
pddata = df.from_records(courses)
pddata.to_csv("~/Downloads/Anthology_Course_IDs_Names.csv")
def parse_data(coursedata, group):
for cdata in coursedata["included"]:
if cdata["attributes"]["status"] == "live":
name = cdata["attributes"]["name"]
courseid = cdata["attributes"]["share_course_link"].split("/")[5]
enrollments = cdata["attributes"]["enrollments_count"]
created = cdata["attributes"]["created_at"]
updated = cdata["attributes"]["updated_at"]
coursedict = {
"group": group,
"name": name,
"id": courseid,
"enrollments": enrollments,
"created at": created,
"updated at": updated,
}
if coursedict is not None:
return coursedict
if __name__ == "__main__":
group_ids()

View File

@ -1,5 +1,6 @@
import tmp
data = webhook_payload:
webhook_payload:
[
{

View File

@ -2,11 +2,11 @@ import requests
import sys
sys.path.insert(0, "./API_Tests/")
import Apikeys
apikey = Apikeys.CIN7
apikey = Apikeys.SANDATA
url = "https://api.northpass.com/v2/email_domains"
header = { "x-api-key": apikey, "Content-Type": "application/json" }
payload = {"domain": "cin7.com", "custom_dkim_selector": "n"}
payload = {"domain": "sandata.com", "custom_dkim_selector": "g"}
response = requests.post(url, headers=header, json=payload)

View File

@ -203,10 +203,10 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
- [X] Big Ideas/Larson Texts
- [X] OneNetwork
- [X] Mizuno
- [ ] MATTR
- [X] MATTR
- [ ] StopItSolutions
- [ ] Swift Medical
- [ ] TripleSeat
- [X] Swift Medical
- [X] TripleSeat
- [X] Artera (WellHealth)
- [ ] Terminus
- [X] G2 - Get group booking link for me and Nergis
@ -251,3 +251,9 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
- [ ] Add logic for partner property to Partner category --> Catalog
- [ ] Ensure logic for both omni and core already works
- [ ] Can we do specific badges to groups, but from the same course.
## 04-25-2024
- [X] Chubb - Check if SSO logged in learner can get to admin view without logging in again?
- [X] Sandata - New sandata.com sender domain with different sectors
- [ ] Skuid/Nintex - Ask Charles about two selling points for Nintex --> Migration & eCommerce