Dustin Surwill (dsurwill@shield-legal.com)
2024-09-23 13:45:38

{ "clientName": "Custom8736", }

Daniel Schussler (dschussler@shield-legal.com)
2024-09-23 16:27:44
Daniel Schussler (dschussler@shield-legal.com)
2024-10-01 13:10:08
Daniel Schussler (dschussler@shield-legal.com)
2024-10-04 13:00:12

There are two custom fields that will need to be changed here. I wasn't sure how to fix these

Daniel Schussler (dschussler@shield-legal.com)
2024-10-07 18:00:57
Daniel Schussler (dschussler@shield-legal.com)
2024-10-07 18:01:24

mapping of Chowchilla - ACTS - Levinson (TC) - Long Form Interview with both original and longform questions

Daniel Schussler (dschussler@shield-legal.com)
2024-10-07 18:06:39

update

Daniel Schussler (dschussler@shield-legal.com)
2024-10-07 18:06:49
Dustin Surwill (dsurwill@shield-legal.com)
2024-10-08 14:22:47

when you get back can you re send the nec wagstaff tests?

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 14:56:34

Sure

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 14:56:47

Re trigger and signed declined ?

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-08 15:11:42

Yes

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 15:15:42

Ok flipping them now

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 15:16:51

done. Juel test for re triggering and jack tester for signed declined

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 17:54:43

Tywan Saunders-David 24-0329 Kyle Simmers 24-0236 Matthew Wiggins 24-0197

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:51:47

I can flip NEC now

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-08 21:52:24

Please. I will check the logs when I get home in about 2 hours

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:52:40

for sure

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:53:25

Done

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:57:31

something to note.

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:57:33

im not sure which one failed

Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:57:38
Dustin Surwill (dsurwill@shield-legal.com)
2024-10-08 21:58:34

Probably the zapier. Will let you know if it was the gcp imap

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-10-08 21:58:53

see you tomorrow. enjoy your evening

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-09 00:31:33

Only 1 triggered without docs: Our lead id: 570887 Their lead id: 73452

Daniel Schussler (dschussler@shield-legal.com)
2024-10-09 00:57:17

Really? Hmm I wonder if that’s in relation to that failed email from Juel test

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-09 15:28:32

wagstaff ids: 73464, 73463 will need to test once more after I fix a bug and eat lunch

Daniel Schussler (dschussler@shield-legal.com)
2024-10-09 15:34:42

ok

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-09 16:21:56

Juel Test: 73466 Jack Benson Tester: 73465

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-10 13:50:46

You can now reply to Hillel. In addition to your reply ask him to check (Wagstaff) Lead ID 73540 for any issues, it should be a sign decline lead by the name of Stitch Test

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-11 16:32:50

73588

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-11 17:17:03

73589

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-11 17:25:56
Dustin Surwill (dsurwill@shield-legal.com)
2024-10-15 16:04:34

603431

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-15 18:39:58

did you do any paraquat wagstaff triggers today?

Daniel Schussler (dschussler@shield-legal.com)
2024-10-16 00:03:23

No

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-10-16 15:53:09

python .\tools\dumplrquestions.py 401

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-21 11:11:35

[ { "externalid": "73701" }, { "externalid": "73700" } ]

Daniel Schussler (dschussler@shield-legal.com)
2024-10-22 10:21:29

the more recent one, 14

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-24 12:50:21

Can you send an email to Hilil and Carter about the following leads that Carter could not see but we have record of: Name - Wagstaff Lead ID Michael Myers - 73701 Paul Anderson - 73078 Thomas Molino - 73700

Daniel Schussler (dschussler@shield-legal.com)
2024-10-24 12:55:34

sure

Daniel Schussler (dschussler@shield-legal.com)
2024-10-24 12:59:16

can you send me carter's email please?

Daniel Schussler (dschussler@shield-legal.com)
2024-10-24 13:00:01

also what do you want this email to entail? confirmation that we have it with the lead ids or concern that they don't ?

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-24 13:08:21

I think carters email is: cm@gfoamllc.com We need to ask them if the can find those IDs and if they cant to let us know so we can resend

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:20:12

Hey Dustin I'm assuming you saw Hillel's email regarding Paul Anderson's missing custom fields

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 17:20:51

I saw it come in but have not been able to read through it

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 17:21:17

When was that lead sent in LR?

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:21:52

recently

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:21:54

umm

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:23:01

unless you mean created in law ruler?

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:23:09

07/25/2024 08:29:05 PM according to the activity log

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:23:23

but if you mean when did we re trigger?

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 17:23:28

re-trigger

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:23:42

not as recent

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:23:46

9/6

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:24:14

if i remember correctly we might have done it twice due to some issues they were having previously

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 17:25:04

I am then assuming that was sent via MPA since I started 9/9. Go ahead and re-trigger, so it goes through GCP.

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:25:40

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:27:39

done

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 17:28:18

I will get the id for you to send, in a little while

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 17:28:46

ok

Dustin Surwill (dsurwill@shield-legal.com)
2024-10-25 18:01:58

Here is the Wagstaff ID for Anderson: 73748

Daniel Schussler (dschussler@shield-legal.com)
2024-10-25 18:10:40

thank you

Daniel Schussler (dschussler@shield-legal.com)
2024-11-06 18:07:49

Depo-Provera - Crump - Napoli - Shield Legal Updates: Secretary at Napoli has said he will try to get the API key, API URL, and Field Mapping by tomorrow morning.

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-07 14:11:01
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-08 13:24:13
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-11 11:15:03
Daniel Schussler (dschussler@shield-legal.com)
2024-11-11 11:22:14

to get address1 = Contact/Addresses/0/Address1

Daniel Schussler (dschussler@shield-legal.com)
2024-11-11 13:47:38

I am working through our mapping and it seems that I've hit a bit of a snag. Unfortunately our intake questions and your intake questions are pretty different. I have added below both files below. Anything that you see as "string", defaults, or any empty quotations on the main.py file is what we haven't been able to find and I don't think I've been able to find any matching questions from our intake file. How would you like to proceed? Perhaps there is a comment box we can dump all the information in?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-12 11:29:45

Change: data["072.124.073 - Is this a dropped case?"] = "N" if intake["Lead Data"]["StatusId"] != 1074 else "Y" to data["072.124.073 - Is this a dropped case?"] = "No" if intake["Lead Data"]["StatusId"] != 1074 else "Yes"

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-12 11:46:02

550227

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-12 12:04:41

check lr automatino for CA Juv Hall Abuse - Miller - Woods - Shield Legal. looks like it is not setup for signed & declined

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-12 12:29:58

you want me to added the status to a current webhook or just create a new one

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-12 12:30:49

add signed & declined to currect gcp webhook

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-12 13:03:03

Did you retrigger 550227 after adding the status to the webhook?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-12 13:05:35

no , but i'll do it now

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 11:13:33

LA Foster main.py has 072.124.073 - Is this a dropped case? which needs to be 072.126.00 Is this a dropped case?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 14:24:43

When you get back, send a test to Napoli. Get their ID then send them an email talking about the test we sent and that we cannot match their intake since ours was approved by them.

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 15:26:22

"Please pay attention to the required fields and schema of each Post. To send a Test Lead POST, use “Test” as the first or last name of the test. Not only will you receive confirmation (200 Response) from the API but you will receive email confirmation as well. Tests will be discarded and you will receive an additional email that the Test was discarded.

To test an entire sequence of events you need to use a “Mock” client. If you send a client with the name Test, the Lead will be discarded and the remaining posts will fail.

Use, “Mock” as the last name and let me know when you send it so that I can verify everything for you."

according to their information, what should i name the test lead? Test Mock, or Test Test

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 15:28:08

[Anything] Mock Anything cannot be test

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 15:28:17

Thank you

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 15:28:32

got it

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 16:04:26
Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 16:17:29

I sent them an email saying we would send a test later today or tomorrow

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 16:30:20

What does the bottom of that log section show?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 16:33:54
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 16:51:03

Your good to try again, all fixed

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 16:51:52

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 17:05:20

still an error

Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 17:05:23
Daniel Schussler (dschussler@shield-legal.com)
2024-11-13 17:05:33

perhaps main.py wasn't updated on git ?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-13 17:58:19
Daniel Schussler (dschussler@shield-legal.com)
2024-11-14 12:45:02

Let me know if its good to resend the test

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-14 16:52:07
Daniel Schussler (dschussler@shield-legal.com)
2024-11-15 12:18:17

I just wanted to give you a quick update. I have been running tests and debugging all of yesterday and today to attempt to send a test lead over. Here are some SysIDs that we have sent over GetStageBySysId however that endpoint seems to be missing on your webhook index. So the last one we sent over to the GetLeadBySysId endpoint

SYSID CD39FB92C90D91B7 SYSID CA2784BA55D89585 SYSID C6BD44EDFCB49FB7 SYSID CDBE116985F14DF7 SYSID CFCDDB89A33BCFED SYSID C44D6396DD04C828 SYSID C3F7693AB4294BBA SYSID C856515EEE04FD6E0 SYSID C728D1147243605B

They have all of their stages have been set to pending. Can we send docs and other information in the pending stage? Also, I would like to make note for future reference that all of the cases in your API docs are probably out of date. Just an example, it is saying an "s" in "sys" is lower case when it should be upper. Please let me know.

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-15 12:21:06

It looks alright. Also define a comments / notes box and bug Alfredo and Larry about your previous questions on Nov 12

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-15 15:54:50

ashleyf@yourcase.works mary.mick@yourcase.works

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-15 18:04:38

from urllib.parse import **quote** name2 = quote(name)

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:14:57
Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:15:00

same error as last time

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-18 16:19:34

Did you push the changes from earlier to GitHub?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:23:01

yeah i did

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:23:19

though... i will say, i pushed them right as i got my internet fucked

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:23:24

so perhaps they didn't push

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-18 16:23:58

Try again, last commit on GitHub was Friday

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:24:11

but there's no "changes"

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 16:24:16

i'll add a space and push

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-18 16:24:26

git push in the terminal

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 18:02:29
Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 18:02:43

might be a syntax error when we did the copy

Daniel Schussler (dschussler@shield-legal.com)
2024-11-18 18:04:24

the end has to change right?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 11:38:04

no error in main anymore (thank god), though case logs is spitting this out now , along with all the information

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 11:38:05

<Response [500]> There was an error and it was logged. Unable to determine database for endpoint. It is possible you are providing a SYSID that has not posted yet or was a Duplicate. Please check the Client Stage (/api/ClientStage/{leadSourceId}/{leadId}) before posting to SYSID endpoints.

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 11:45:31

Anthony just reachout to saying he is settings up questions and customs for napoli

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 11:45:39

but if they don't get approved they won't add them

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 13:06:32

Hey did anyone response to Napoli?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 13:06:55

I'll ask Anthony

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 13:23:35

update email to napoli

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 13:23:36

Good morning Chris,

Thank you for the response. There was a concern I raised last week because our questions and your questions did not match at all, I will attach our differing questions to this email. I have gotten confirmation of approval to add the below questions to our intake:

• Maiden/Other Name(s) Used: • Social Security No: • Date of Death: • Home Phone: • Work: • Significant Other, if applicable: Name: • Their phone: • Mailing address is not broken up by address, city, state, zip • If completing on behalf of injured party (signer info) entire section • Address, city, state, zip of emergency contact • If the injured party is deceased (entire section) • Reason injured person used Depo-Provera: • Name, address and phone number of the physicians who prescribed Depo-Provera to the injured person: • Name, address and phone number of the pharmacy/pharmacies where injured person purchased Depo-Provera: • Name, address and phone to the doctor(s)/hospital(s) that diagnosed the injuries above: • Phone number of treating physician(s)/facility(s) • Name, address and phone number to your primary care physician(s):

We are working on adding them and I will update you when that is complete. Also, it looks like in our most recent tests the SSN numbers have been pushing through correctly. Here are some more SYSIDs we've received through testing: CDAEE801FF73D4C4 CDA509D383523433 C971CA182BB69886 CED440C464B2AE83 C430691BC2B348F5

Thank you,

Daniel Schussler Shield-Legal Data Engineer

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 13:23:38

sound good?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-19 13:25:24

Double check with Anthony but I think these will only be added to new intakes. If that is the case then make it clear in the email. The rest of the email is good

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 15:58:10

Forgot to mention, in my latest test for napoli, im still getting this error "<Response [500]> There was an error and it was logged. Unable to determine database for endpoint. It is possible you are providing a SYSID that has not posted yet or was a Duplicate. Please check the Client Stage (/api/ClientStage/{leadSourceId}/{leadId}) before posting to SYSID endpoints."

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-19 16:00:07

try this endpoint instead:

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 16:08:52

got it

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 16:24:03

which end point am i replacing?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-19 16:24:35

/api/ClientInjuries/{sysid}

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 16:31:00

Client_injuries = {} Client_injuries["sysid"] = sys_id Client_injuries["hcpid"] = hcP_ID Client_injuries["injury_ID"] = -1

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 16:31:43

inj_response = <a href="http://requests.post">requests.post</a>(url + f"/ClientInjuries/{sys_id}/{}/{hcP_ID}", headers = headers, json = [Client_injuries])

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 16:31:52

can't put -1 in the brackets can i?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 17:15:25

still the same error

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-19 17:19:57

then that endpoint only works when the lead stage is posted which may take up to an hour which our system will not support. Lets remove that endpoint and move the injurydate to the notes field with our full question

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 17:20:43

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 17:22:51

inj_response = <a href="http://requests.post">requests.post</a>(url + f"/v1/ClientInjuries/{sys_id}/{injury_ID}/0", headers = headers, params = {"injuryDate":intake["c-22988"]}) postgres.update_lead_intake_response(intake["Lead ID"], f"{sys_id_response1.__str__()} {sys_id_response1.text}\n {healthcare_response.__str__()} {healthcare_response.text}\n {healthcare_response2.__str__()} {healthcare_response2.text}\n {Residential_response.__str__()} {Residential_response.text}\n {inj_response.__str__()} {inj_response.text}")

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 17:23:10

So i can get rid of the whole thing, or just the inj_response

Daniel Schussler (dschussler@shield-legal.com)
2024-11-19 18:41:11

Yeah I saw that. I’ll update

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:16:29

injury_ID = -1 match intake["c-23383"]: case "Spinal Tumor": injury_ID = 684 case "Meningioma": injury_ID = 685 case "Brain Tumor": injury_ID = 657

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:16:54

looks like this whole snippet at the end either needs to be removed or changed, that question doesn't exist anymore

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:17:26

according to Sunnie the new one, Custom23615, is a drop down

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:18:01

we can just check it against a string say

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:18:36

if (C-23615) = "YES" return ""

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:18:40

or soemthing like that

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 12:20:19

that question still applies for the leads before today

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 12:20:40

you are correct you can check the new question against a string

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:20:55

ah right crap we do need to keep it

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:21:06

which means i still need that questions in the main.py

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 12:21:11

yes

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:21:37

i mean in the mapping

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 12:22:13

maybe? you are using the intake variable which does not depend on the mapping

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 12:24:06

right but that snippet of code relies on the answer from the intake c-23383

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 13:40:37

&lt;Response [201]&gt; {"LeadID":"530321","CCODE":"DPA","Salutation":"","Lname":"Lead","Fname":"Lastname","MI":"m","Address1":"427 E 5th St","Address2":"","City":"Los Angeles","State":"CA","ZipCode":"90013","Country":null,"Province":"","HomePhone":null,"WorkPhone":null,"MobilePhone":"+12132857564","EmailAddress":"<a href="mailto:testtesting123@gmail.com">testtesting123@gmail.com</a>","SSN":"988_98_5414","DOB":"1990-01-16T00:00:00","Injury":"","AdditionalNotes":"{\n \"Is the injured party currently represented by an attorney for this matter? (MUST BE NO)\": \"No\",\n \"S1\": \"849849129\",\n \"Has the injured party spoken to another attorney about this matter?\": \"No\",\n \"ALT ID\": \"779841\",\n \"Has the injured party signed any documents with another law firm about this matter? (MUST BE NO)\": \"No\",\n \"Comments\": \"comments section\",\n \"What is the signer's name?\": \"Test Test\",\n \"What is the injured party's DOB?\": \"01-16-1990\",\n \"Best phone number to reach you?\": \"(213) 285-7564\",\n \"What is your mailing address?\": \"427 E 5th St, Los Angeles, CA 90013\",\n \"What is your email address?\": \"<a href="mailto:testtesting123@gmail.com">testtesting123@gmail.com</a>\",\n \"Do we have permission to communicate with you via email?\": \"Yes\",\n \"Do we have permission to communicate with you via SMS/text messages in order to collect additional information and provide you documents for your potential case?\": \"Yes\",\n \"Do you have an alternate contact number?\": \"(649) 798-4561\",\n \"Whose phone number is this?\": \"Friend\",\n \"What is the name of the friend or relative whose phone number you provided?\": \"someone else\",\n \"Do we have permission to contact this person if we are unable to get a hold of you?\": \"No\",\n \"Do we have permission to reference your case to this person? (We will not discuss your case with anyone without your permission)\": \"No\",\n \"Notes\": \"notes section\",\n \"Did you or loved one receive the Depo-Provera injection:\": \"yes\",\n \"Were you or a loved one diagnosed or developed a Brain, Spinal or Meningioma Tumor after use:\": \"yes\",\n \"Year of diagnosis:\": \"2014\",\n \"State where Depo Provera injection was given:\": \"NV\",\n \"How long was Depo-Provera used:\": \"3 years\",\n \"Do you already have a lawyer:\": \"no\",\n \"Your relation to the injured party:\": \"Claimant is injured party\",\n \"Full name of Claimant (injured Party):\": \"Test Test\",\n \"Did you or a loved one receive Depo-Provera injections? (MUST BE YES)\": \"Yes\",\n \"How many injections did you receive?\": \"5+\",\n \"Note: If the claimant has NOT been diagnosed with a Meningioma they MUST have been experiencing headaches AND vision problems and be willing to see their doctor to seek a Meningioma diagnosis. (MUST BE YES TO AT LEAST ONE OR BOTH QUESTIONS)\": \"\",\n \"Was the injured party diagnosed with Meningioma after receiving Depo-Provera injections for at least one year?\": \"Yes\",\n \"If no, will the injured party be willing to seek a diagnosis of Meningioma? (MUST BE YES)\": \"Yes\",\n \"If not diagnosed, did the injured party regularly experience migraines/headaches AND vision problems?\": \"Yes\",\n \"Are you experiencing any of the following symptoms?\": \"Migraines/Headaches and Vision Problems\",\n \"Please describe in detail the symptoms (this should be a narrative of the symptoms, ie how long did they have symptoms, frequency)\": \"PNC has been experiencing migraines/headaches since 2017. The migraines will come one to two times a week and sometimes they are so severe that PNC has to take the day off from work. During the migraines/headaches, the PNC's vision gets blurry and she begins to see stars and \\\"floating spots\\\".\",\n \"Date of last symptoms:\": \"10-20-2023\",\n \"Date of diagnosis:\": \"03-01-2022\",\n \"If diagnosed, has the injured party undergone surgery or radiation to treat Meningioma?\": \"Yes\",\n \"If yes, did you receive/schedule any of the following treatment after diagnosis?\": \"Surgery\",\n \"If Scheduled to have radiation, the date scheduled:\": \"\",\n \"If Scheduled to have surgery, the date scheduled:\": \"11-03-2015\",\n \"Prior to diagnosis did you experience any of the following symptoms?\": \"Migraines/Headaches and Vision Problems\",\n \"Please describe in detail the symptoms BEFORE diagnosis (this should be a narrative of the symptoms, ie how long did they have symptoms, frequency)\": \"PNC was experiencing severe headaches/migraines to the point she couldn't go to work or perform daily activities. PNC's vision has slowly deteriorated, she is now seeing spots and double vision. PNC does not drive at night due to her vision problems.\",\n \"Age at time of Diagnosis: (Must be 70 or UNDER with a diagnosis)\": \"32\",\n \"Treatments\": \"\",\n \"Treatment 1\": \"Surgery\",\n \"Treatment 1 Date:\": \"10-01-2022\",\n \"Treatment 2\": \"Radiation\",\n \"Treatment 2 Date:\": \"04-12-2018\",\n \"Treatment 3\": \"Radiation AND Surgery\",\n \"Treatment 3 Date:\": \"11-15-2021\",\n \"Additional Treatment:\": \"nope\",\n \"Current age: (Must be 70 or UNDER with a diagnosis)\": \"34\",\n \"Current age: (Must be 70 or UNDER)\": \"34\",\n \"Doctor and Health Insurance Information\": \"\",\n \"Shot 1:\": \"\",\n \"Shot 2:\": \"\",\n \"Shot 3:\": \"\",\n \"Shot 4:\": \"\",\n \"Health insurance carrier:\": \"Blue Cross Blue Shield\",\n \"Health insurance policy number:\": \"1245678910\",\n \"Did the injured party have Depo-Provera injections in 1992 or after? (MUST BE YES)\": \"Yes\",\n \"Date of injection 1:\": \"01-03-2016\",\n \"Date of injection 2:\": \"04-01-2016\",\n \"Date of injection 3:\": \"07-01-2016\",\n \"Date of injection 4:\": \"10-01-2016\",\n \"Date of injection 5:\": \"01-01-2017\",\n \"Date(s) of injection(s) 6+\": \"PNC has been receiving Depo shots every 3 months from 2016 to 2022.\",\n \"If not diagnosed with Meningioma, did the injured party receive Depo-Provera shots within the past 10 years? (MUST BE YES)\": \"Yes\",\n \"Did the injured party receive Depo-Provera injections regularly for at least one year as prescribed? (MUST BE YES)\": \"Yes\",\n \"Diagnosis Questions\": \"\",\n \"Maiden/Other Name(s) Used:\": \"\",\n \"Injured party's SSN:\": \"\",\n \"Home Phone:\": \"\",\n \"Work Phone:\": \"\",\n \"Significant Other, if applicable, Name:\": \"\",\n \"Significant Other, If applicable, their Phone:\": \"\",\n \"Mailing Address Line 1&amp;2: (Ex. 123 Main St, Apt 1)\": \"\",\n \"City:\": \"\",\n \"State:\": \"\",\n \"Zip:\": \"\",\n \"Signer's Maiden/Other Name(s) Used:\": \"\",\n \"Signer Mailing Address Line 1 &amp; 2: (123 Main St, Apt 1)\": \"\",\n \"Signer's City:\": \"\",\n \"Signer's State:\": \"\",\n \"Signer's Zip:\": \"\",\n \"Signer Mobile Phone:\": \"\",\n \"Signer Home Phone:\": \"\",\n \"Signer Work Phone:\": \"\",\n \"Signer DOB:\": \"\",\n \"Signer email address:\": \"\",\n \"Signer SSN:\": \"\",\n \"Emergency Contact Mailing Address Line 1 &amp; 2: (123 Main St, Apt 1)\": \"\",\n \"Emergency Contact City:\": \"\",\n \"Emergency Contact State:\": \"\",\n \"Emergency Contact Zip:\": \"\",\n \"Emergency Contact Work Phone:\": \"\",\n \"Emergency Contact Home Phone:\": \"\",\n \"Emergency Contact Email Address:\": \"\",\n \"What was the cause of Death:\": \"\",\n \"Has an Estate been opened: (If yes, please attach copy of Court papers)\": \"\",\n \"Reason the injured party used Depo-Provera:\": \"\",\n \"Name, address and phone number of the physicians who prescribed Depo-Provera to the injured person:\": \"\",\n \"Name, address and phone number of the pharmacy/pharmacies where injured person purchased Depo-Provera:\": \"\",\n \"Name, address and phone to the doctor(s)/hospital(s) that diagnosed the injuries above:\": \"\",\n \"Phone number of treating physician(s)/facility(s):\": \"\",\n \"Name, address and phone number to your primary care physician(s):\": \"\",\n \"Which condition were you diagnosed with? (MUST BE MENINGIOMA BRAIN TUMOR)\": \"\",\n \"Was the injured party diagnosed with a Brain Meningioma? (MUST BE YES)\": \"\"\n}","Deceased":false,"DateOfDeath":null,"Trade":"","Industry":"","CampaignID":"Depo Provera - Ben Crump - Napoli - Shield Legal","LeadSourceID":296,"ID":187405,"DateEntered":"2024_11_20T14:00:21.8944003_05:00","Processed":false,"ProcessedDate":null,"ActionID":0,"SYSID":"CF0DEDC41F7ECC9D"} &lt;Response [201]&gt; {"HCP_ID":118438,"FacilityName":"Kaiser Permanente West Los Angeles Medical Center","FName":null,"LName":null,"Address1":"6041 Cadillac Ave","Address2":null,"City":"Los Angeles","State":"CA","Zip":null,"PrimaryHCP":false,"InitialVisit":null,"LastVisit":null,"Notes":null,"SYSID":"CF0DEDC41F7ECC9D","ZipPlus4":null,"Phone":null,"FaxNumber":null,"NPI":null,"RoleDetail":null,"SpecialtyDetail":null} &lt;Response [201]&gt; {"HCP_ID":118439,"FacilityName":"Planned Parenthood","FName":null,"LName":null,"Address1":"495 S Ramsey Ave","Address2":null,"City":"Los Angeles","State":"CA","Zip":null,"PrimaryHCP":false,"InitialVisit":null,"LastVisit":null,"Notes":null,"SYSID":"CF0DEDC41F7ECC9D","ZipPlus4":null,"Phone":null,"FaxNumber":null,"NPI":null,"RoleDetail":null,"SpecialtyDetail":null} &lt;Response [201]&gt; {"AddressID":994308,"SYSID":"CF0DEDC41F7ECC9D","Address1":"427 E 5th St","Address2":"","City":"Los Angeles","State":"CA","Zip":"90013","ZipPlus4":"","StartDate":"","EndDate":"","InUtero":true,"WaterSupplyType":0,"PropertyType":0,"TypeDescription":null}

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 13:40:45

for napoli

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 13:40:53

i think thats good yeah

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 13:41:58

yes

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 13:45:32

lets go!

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 13:45:59

they have to approve that they are receiving everything first

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 13:46:14

yeah I'm sending that email now

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-20 16:09:45

Do you mind me giving the LegaFi integration to @Dwight Thomas ?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-20 16:10:21

no not at all

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 12:31:53

you should always include the name and client's id when asking them to review data

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 12:36:14

ok. I didn't in the original email because chris already had access to the tests and could see them.

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 12:36:20

But I will for future emails

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 15:33:47

your casetype will now run integrations

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 15:35:29

fantastic

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 15:36:14

thanks im going to do another test

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 15:45:40

email still hasn't sent

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 15:45:46

been like 10ish minutes

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 15:57:48

leadid?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 15:59:07

612031

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:15:58

Leave the lead in API TEST for a few minutes. I do not think the automation can trigger in the 5 seconds you gave it

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:16:19

Such as leave it until you see the email

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 16:16:58

okk

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:28:28

napoli did not reply all, they only replied to you

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 16:29:06

oh I didn't even notice

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 16:29:10

why ....

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:41:31

can you forward the napoli email?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 16:43:22

yeah sure

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:55:42

lastname and firstname were flipped on the napoli mapping. why is us highlighted?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-21 16:56:23

everything else looks good to me

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 17:35:22

logs still empty with no info

Daniel Schussler (dschussler@shield-legal.com)
2024-11-21 17:35:42

for FFF

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-22 12:16:41
Daniel Schussler (dschussler@shield-legal.com)
2024-11-22 12:18:14

Yeah i saw your email, fixing it now. thanks

Daniel Schussler (dschussler@shield-legal.com)
2024-11-22 12:19:24

I'll send a test again

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-22 12:33:17

404, Looks like caseworks has not updated their sa in a while. copy the code from the smartadvocate template to your main.py and change the following urls: f"https://{hostname}/SAService/sawebservice.svc/Receiver/officecalls/{key}" & f'https://{hostname}/saservice/SAWebservice.svc/Receiver/UploadDocument' to the urls in the casework's document

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-22 12:37:31

Also see if you can remove the definition.json & filename & getstate files from your MR

Daniel Schussler (dschussler@shield-legal.com)
2024-11-22 17:10:36

another test, same error

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-22 17:11:13

add import requests to the top of the file. let me check for other issues

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-22 17:12:24

I think that is the only thing that needs to be done at this time

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-22 17:12:31

import request or import requests

Daniel Schussler (dschussler@shield-legal.com)
2024-11-22 17:12:41

Import request is already there

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:08:03
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-25 12:12:07

BQ says: <Response [200]> Empty Email/Phone will not generate case.

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:12:56

huh... i see that. what does that mean

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:14:16

I don't know if thats insinuating that the phone/email fields are empty

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:14:27

but they aren't and they are mapped

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-25 12:30:05

Looking through your mapping is see the following that need changes: • L3: Firm ID should be FirmID • L7: acquiringLawFirm needs to be deleted • L8: source needs to be deleted • L9: caseType needs to be deleted • L10: firstName needs to be FirstName • L 11: lastName needs to be LastName • L13: address needs to be Address • L17: email needs to be Email • L18: dob needs to be DoB • L20: Prefix needs to be deleted (not required) • Add MiddleName • Add Referral_LawFirm of The Nations Law Firm • All Provider3 fields need to be deleted (not required) • Before send_info in main.py (L142) we need to change the filenames according to page 6 of integration docs • They give us example information to use for testing starting on page 7

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:30:55

I put them the other way because thats how smart advocate usually does it

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 12:31:18

but if that's whats messing it up, it makes sense

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 13:27:34

i am a bit confused by that page 6. They want us to change the name of the document we are sending to "format to upload" based on what type of document we are sending?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 13:35:08

and how is the best way to create this? Have a list comprehension with the document types and then create a for loop to check against and change the file name based on the document?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 13:35:34

set it after line 41 , in the def upload_doc

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-25 13:55:01

check the upload_doc function for an example: subcategory = [cat for search, cat in SUBCATEGORY_MAP.items() if search in filename] subcategory = subcategory[0] if subcategory else 'Other' print(f'Uploading: "{filename}" as "{subcategory}"')

Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 15:24:30

no i've seen this, we had to hard code it into the main.py remember? do we have recorded somewhere the type of document it is?

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-25 15:24:55

I can help after 2:45

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-11-25 18:04:58
Dustin Surwill (dsurwill@shield-legal.com)
2024-11-25 18:09:59
Daniel Schussler (dschussler@shield-legal.com)
2024-11-26 10:36:35

so its fine?

Daniel Schussler (dschussler@shield-legal.com)
2024-11-26 10:37:32

it looks like everything got filled out correctly

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-26 11:10:35

L130 state needs to be State in main.py

Dustin Surwill (dsurwill@shield-legal.com)
2024-11-27 16:14:53

Case Type Name: Gaming Addiction - Ben Crump Law - Meadow Law - Shield Legal Retrigger all esign finals. do not retrigger 630331

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 11:47:16

We need to reach out to napoli again. We still have no response to our latest test lead

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 11:47:35

Ok.

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 12:00:12

From larry "Your test submission seems to be in order. Is there any way that you can send us the first 5 leads so that we can verify the live system?" Should I just retrigger 5 leads to them?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 12:04:19

Hold for now

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 12:05:08

ok

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 13:25:32

Please add a signed retainer to your test lead for napoli: 530321

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 13:48:55

Hey man, can you send me direct me to the full payload for the last test we sent to caseworks? Ashley is asking for it

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 13:51:10

I will get it to you after lunch

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 13:51:19

sounds good thank you

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 14:57:51

Looks like we forgot to do data['Case Details'] = json.dumps(data['Case Details'], indent=4)

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 15:16:03

New retainer for napoli has been uploaded. Please us that one instead if possible

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:26:43

Ok

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:36:23

You mean for caseworks? I'll add it in

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 15:36:49

meant for napoli but yes, should always include a retainer in the tests

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:37:20

oh sorry, i didn't want to make a thread because its a terrible feature here

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:37:42

but I meant for this snippet of codedata['Case Details'] = json.dumps(data['Case Details'], indent=4)

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 15:38:00

yes that is for case works

Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:38:07

ok. I'll add it in

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:38:47

goes into the def main correct?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-02 15:39:31

yes before L194 but after L169

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-12-02 15:40:45

done

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 12:03:19

Deleting the fields did not work either. I will email ashley for next steps

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 12:06:49

Before emailing let me take a look

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 12:07:02

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 13:31:30

hey man, you find anything yet in the code that i might able to change for testing FFF ?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 13:31:57

Yes, got side tracked on my way to talk

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 13:32:02

no worries

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 14:16:23

send a test with those mapping updates

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 14:24:11

I did before I left for lunch. I’ll see the results when I get back.

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 15:27:44

still the same issue

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 15:28:33

I will look after I take care of another issue

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 15:30:13

sounds good

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 15:54:09

wanted to double check with you. about to do a cure for wagstaff. I wanted to make sure that GCP didn't change any operations for cures and i can just do it same as before through postman

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 16:01:18

Just need to change status to re-triggered, then it will send via GCP

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 16:01:56

for a cure?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 16:02:18

Im guess the GCP has changes for updated documents

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-03 16:02:29

Let me check

Daniel Schussler (dschussler@shield-legal.com)
2024-12-03 16:02:38

ok

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-04 13:59:55

AFFF Nations (Caseworks) [1810] has been pushed and is currently deploying. Send test after 12:01

Daniel Schussler (dschussler@shield-legal.com)
2024-12-04 14:00:05

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-12-04 15:38:29

Did you turn FFF nations off? email sent but test didn't trigger

Daniel Schussler (dschussler@shield-legal.com)
2024-12-04 15:38:43

GCP case has not updated

Daniel Schussler (dschussler@shield-legal.com)
2024-12-04 16:09:12

went through again, but back to the original error

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-05 12:52:30

id 529616 530436 531108 532070 534324 535328 535510 537738 538197 538280 538762 556650 557385 557762 559894 560824 560871 561478 563439 563818 564665 564984 566251 567583 568824 570168 572370 583721 585873 586064 587106

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-05 15:28:23

Can you take this task? https://tortintakeprofessionals.monday.com/boards/5053948403/pulses/7994662260

tortintakeprofessionals.monday.com
Daniel Schussler (dschussler@shield-legal.com)
2024-12-05 15:30:03

Probably, if I can figure out how to do so. Is there specific case type or all of them?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-05 15:43:54

Firefighting Foam - Crump - ELG - BLX / Firefighting Foam - Crump - ELG - Shield Legal where statuses are Signed eSign% and have not been sent (matched back to the sheet above) to BCL SA system.

Daniel Schussler (dschussler@shield-legal.com)
2024-12-05 15:52:22

from the file that you attached? so just to confirm, you want someone to go through all the plaintiffs from the spread sheet you attached and just report on which ones are still in in signed eSign?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-05 15:55:29

This is a task from Ryan. We need a report of our leads that are in any status that starts with signed esign and are not in the attached file

Daniel Schussler (dschussler@shield-legal.com)
2024-12-05 16:00:43

OK i think i can do this by building a report. I'll start working on it and get back to you

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2024-12-05 17:49:59
Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 11:04:16

Morning. Mind letting me know when you get get a chance to read Larry's follow up?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 11:04:18

thanks

Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 16:06:46

Larry says we are basically good to go. He did mention that they want the LeadSourceID needs to be 358. Right now its 296 but not hard coded. This is what the map looks like now. "leadSourceID": "Lead Data/Source/Id"

Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 16:07:40

though the main.py has the leadsource part of the response lead_source_id = sys_id_response["LeadSourceID"]

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-06 16:12:17

go ahead and hard code it: "leadSourceID": 358. Also i see somehow the @ was removed from the begininning of functions_framework.http which should be @functions_framework.http on L87

Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 16:13:42

Ok.

Daniel Schussler (dschussler@shield-legal.com)
2024-12-06 16:13:50

I will send one more test.

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 11:30:59

can you remove 1 last file from your PR napolidpaininjuries.json? Then it should be good to merge in

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:34:15

Hey man, yeah i just deleted them. if you want to confirm

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 11:53:55

> Great news. Once I get confirmation, I can turn it on. We got confirmation. I believe a better sentence would be something along the lines of > Thank your for the confirmation, we move this integration to production shortly.

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:53:57

haha I was literally about to change the status of the depo provera automation

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 11:54:10

Only re-triggered for now

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:54:35

Yeah I went on there and saw you changed it 2 before I did. Beat me

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:54:55

actually it still says API test, I'll get rid of that

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 11:55:03

you can leave that

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:55:19

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 11:55:48

Mind letting me know when I can do the LR dump please?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 12:05:02

do the following command then you should be good to lr dump: git rebase origin/main

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 12:13:50

ok thanks

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 12:56:10

Please set a few signed e-sign qa and signed e-sign final for depo napoli to signed e-sign re-triggered. 5 of each as a test

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 12:58:41

ok

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 13:01:47

Done

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 14:42:36

when your back from lunch please re-trigger the rest of signed e-sign qa and signed e-sign final for depo napoli then add those statuses to trigger the email automation

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 15:13:37

I will retrigger them they want to be automated for those status' too?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-09 15:14:16

I think so, can you clarify?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 15:14:24

yeah sure

Daniel Schussler (dschussler@shield-legal.com)
2024-12-09 17:24:23

Hey umm we need to stop automations for depo for a second. the sign esigned finals were not suppose to be triggered

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-10 12:08:42
Dustin Surwill (dsurwill@shield-legal.com)
2024-12-13 11:32:32

Here is the nations id I got: 30085460~SL~612031

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-16 12:42:37

Add a retainer to 612031 and git pull your branch

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-16 12:44:00

Here are the changes I made: https://github.com/shield-legal/gcp-integrations/pull/57/commits/a57696a71f63aee5cb7eed278f6d1236ded19eb2 I also made it up to date with origin/main to pull the USSTATESFLIPPED from gcp_utils

Daniel Schussler (dschussler@shield-legal.com)
2024-12-16 12:44:07

do we have a fake retainer?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-16 12:44:32

Click Sign Now

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-16 13:07:19

git pull to get my changes

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-17 16:18:56

retrigger 611542 please

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-19 14:30:03

We need to make a change to the code for caseworker before we send anything

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2024-12-19 15:12:12

still nothing from the oxbryta test BTW

Daniel Schussler (dschussler@shield-legal.com)
2024-12-20 10:42:06

Hey heads up, a dude just came into the office and said that Joe said to turn off any processes. Something about law ruler

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-20 10:42:40

He called me. I have paused integrations and lr-data dump

Daniel Schussler (dschussler@shield-legal.com)
2024-12-20 10:42:52

ok

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-20 14:14:21

Did you trigger 650389? The email processing broke on it

Daniel Schussler (dschussler@shield-legal.com)
2024-12-20 15:01:38

no

Daniel Schussler (dschussler@shield-legal.com)
2024-12-23 13:49:27
Dustin Surwill (dsurwill@shield-legal.com)
2024-12-26 12:08:00

Here is the mapping: { "firstName": "tester", "lawrulerid": "99999", "lastName": "last tester 1", "email": "<a href="mailto:test@test.com">test@test.com</a>", "phone": "<tel:222-222-1122|222-222-1122>", "websource": "Website", "intakeStatus": "Working", "caseType": "NEC" }

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-27 15:36:26

Did you test https://github.com/shield-legal/gcp-integrations/pull/79? and is it ready to merge?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 11:47:34

From McFadden: > Alan sent me this: > > PLEASE PLEASE PLEASE - Secondary Interviews must be in Secondary Interview -Retrigger and not Signed E-sign Retrigger. That is a status for Intake only. Examples... 546838 > 552128 > 545730 > 557680 > 555728 > 562000 > 562004 > 539501 > 559882 > 545141 > 539494 > 539508 > 539474 > 539468 > 539366 > 551087 > 545924 > 539459 > 544636 > 539444 > 546837 > 543176 > 539512 > 556287 > 556195 > 553630 > 540335 > 539320 > 539525 > 558734 > 539360 > 542776 > 560670 > 539477 > 539484 > 543868 > 543720 > 539370 > 563334 > 539460 > 544056 > 539450 > 543872 > 539524 > 557677 > 539325 > 556238 > 554201 > 539513 > 550153 > 559879 > 560460 > 542472 > 541957 > 541882 > 554202 > 562331 > 543177 > 539489 > 553059 > 546804 > 544634 > 539481 > 548411 > 547235 > > If we move them to that status make sure no automation pushes them again but we will need to have that established to trigger moving forward if not already

  1. Please move those lead ids to secondary re-triggered status
  2. Update the automation to trigger on secondary re-triggered (must be after moving the leads to prevent dups with the firm).
  3. Trigger 1 of the secondary complete to make sure the integration works
  4. Upon confirmation that it works trigger all secondary complete to secondary re-triggered then add secondary complete to the automation
Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 11:47:45

Chowchilla - Van - Long Form Interview

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 12:43:35

Check the automation for chowchilla - van - long form interview gcp webhook, there is more than just the lead id in the email body

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 12:51:15

once that is done you need to re-trigger 539320

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 13:04:16

looks like a bunch of the chowchillas got triggered. did you set the automation to trigger off the new status before setting the old status to the new status?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:12:47

by new triggered do you mean the ones you just told us to do?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:13:10

if so you also stated it must be AFTER moving the leads ?

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 13:14:11

did you set the automation to trigger on the secondary retriggered status before moving the lead ids from above to secondary retriggered? did you trigger more than 1 secondary complete to secondary retriggered?

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:14:43

no.

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:14:54

you said to updated after.

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:16:07

And I did not trigger any secondary complete because I knew we were backlogged with integrations turned off

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:16:18

but now that its on i can

Dustin Surwill (dsurwill@shield-legal.com)
2024-12-30 13:16:46

check the automation email body and wait

Daniel Schussler (dschussler@shield-legal.com)
2024-12-30 13:17:26

ok yeah i saw that and fixed it.

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-03 11:51:33

Run the following command in Terminal: winget install PostgreSQL.pgAdmin Spam ESC when the Admin permissions popup appears

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 12:19:55

What is the status of NEC DL?

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 12:21:16

I sent you a new pull request before the end of friday. I think we spoke about that. If there is nothing that you deem needs to be changed or fixed. I can start testing

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 12:34:37

It looks like there is duplicate code sending attachments

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 12:35:31

line 68-71 and line 80-84 ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 12:36:18

59-71 & 79-85

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 12:37:02

ok I'll comment out the second piece for now

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 12:37:54

should comment out the first one. documents normally need to come after intake to be able to use the external id

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 12:38:50

sending changes over

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 12:55:11

what is the purpose for lines 73-78?

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 13:05:12

to send a post request to the URL, and grab the matter ID for later

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-06 13:06:15

doesnt that already happen 50-55? also the post on line 73 uses the uploadurl vs intakeurl

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 13:07:13

oh shit did I do that twice

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 13:08:15

damn I did haha sheesh

Daniel Schussler (dschussler@shield-legal.com)
2025-01-06 13:16:57

ok i commented that part out as well

Daniel Schussler (dschussler@shield-legal.com)
2025-01-07 11:40:02

Expected response?

Daniel Schussler (dschussler@shield-legal.com)
2025-01-07 11:40:12

I did use this as a reference

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-07 11:42:06

you are missing FileName and ParentId from the post and you have to use the url you get from the post to do a put to upload the attachment

Daniel Schussler (dschussler@shield-legal.com)
2025-01-07 12:16:01

working the fix

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-07 14:03:27

Here is what Ryan asked Desiree and she responded with the fields I put in Monday

Ryan Vaspra (https://themedialaboratory.slack.com/team/UJF2W0EB1)
Daniel Schussler (dschussler@shield-legal.com)
2025-01-07 15:47:20

Ok you got the customs from her? I'll follow up with Desiree. Thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-01-08 16:57:28

"Thanks for getting back to me. I reviewed your email with the team and Daniel does have a concern. It's looking like the token for the injury endpoint on your end is resetting too quickly. By the time our system is getting access, the token resets. We're exploring solutions on our end, but we did want to let you know that we're encountering that issue. We are working quickly to find a resolution."

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-08 17:16:10

Based on what I can recall from the depo-provera testing the injury endpoint gave errors based on the lead post status even when we gave it 10 minutes to reach the desired status before sending the injury

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-13 19:35:57

case type id: 1855 your pr has a syntax error

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 10:07:40

On my way to the office I’ll fix it when I get there

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:21:12

These are the changes I think should happen in the depo napoli branch

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:38:44

In this file, • white means the same • green means add • orange means remove ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:39:42

yes. green + orange right next to each means something changed in that line

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:39:52

do the changes make sense?

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:40:38

Once I add them in I'll be able to understand them more clearly

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:40:42

thank you

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:41:29

if you are on the correct branch you can run git apply depo.patch to apply the changes

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:45:18

oh you already made the changes

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:46:41

terminal or python?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:47:04

terminal at the root of the project with the depo.patch file in the root of the project as well

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:48:10

ok

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:51:50

I'm assuming that the file name has to be in the command somewhere as well?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:52:14

git apply [patch file name]

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:52:39

PS C:\Users\Daniel\git_code\gcp-integrations\intake_1855&gt; git apply depo.patch error: No valid patches in input (allow with "--allow-empty")

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:52:47

cd ..

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:53:14

the file is located in intake_1855

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:53:57

> terminal at the root of the project with the depo.patch file in the root of the project as well

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:54:18

root of the project is gcp-integrations

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:54:44

i moved it to gcp-integrations , same issue

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:54:52

PS C:\Users\Daniel\git_code\gcp-integrations> git apply depo.patch error: No valid patches in input (allow with "--allow-empty")

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 15:54:59

let me finish this meeting

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 15:55:03

for sure

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 16:15:58

Here are the 2 reports for AFFF Crump ELG. Please make a report that shows any leads that are in our system (Firefighting-Foam-Crump-ELG-Shield-Legal-All Fields All Time-2025-01-12.xlsx) but not in Crump's system (webDGCase (7).xlsx). Once the report is compiled and approved we will re-trigger them (to send).

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 17:04:31

386 , 396

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-14 17:06:08

all good in bq

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 17:08:29

same in lawruler

Daniel Schussler (dschussler@shield-legal.com)
2025-01-14 17:08:52
Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 11:00:12

Any not billable declined by firm for wagstaff will need a cure and to be put into signed & declined retriggered. Per Nick M, to prevent duplicate sends to wagstaff when they decline a lead.

Daniel Schussler (dschussler@shield-legal.com)
2025-01-15 11:03:59

Ok, do we know which those are specific?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 11:18:12

no at the moment i think. but it will be the process moving forward

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 14:37:23

I pushed to GCP manually. not sure why github is not triggering but dont have time to find out today

Daniel Schussler (dschussler@shield-legal.com)
2025-01-15 15:26:51

ok, should be good to test ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 15:44:17

yes

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 17:51:29

2500665

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 17:53:57
Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 17:55:41

[ [ "530321-Lead middlename Mock-IntakeForm.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96665,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":64,\"Description\":\"530321-Lead middlename Mock-IntakeForm.pdf\",\"UploadDate\":\"2025_01_15T18:30:22.1609817_05:00\",\"ExecutionDate\":null,\"FileName\":\"530321-Lead middlename Mock-IntakeForm\",\"FileType\":\".pdf\"}" ], [ "Affidavit.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96666,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":50,\"Description\":\"Affidavit.pdf\",\"UploadDate\":\"2025_01_15T18:30:22.3883007_05:00\",\"ExecutionDate\":null,\"FileName\":\"Affidavit\",\"FileType\":\".pdf\"}" ], [ "HIPAA.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96667,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":50,\"Description\":\"HIPAA.pdf\",\"UploadDate\":\"2025_01_15T18:30:22.5447029_05:00\",\"ExecutionDate\":null,\"FileName\":\"HIPAA\",\"FileType\":\".pdf\"}" ], [ "HITECH.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96668,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":50,\"Description\":\"HITECH.pdf\",\"UploadDate\":\"2025_01_15T18:30:22.626748_05:00\",\"ExecutionDate\":null,\"FileName\":\"HITECH\",\"FileType\":\".pdf\"}" ], [ "530321-Lead middlename Mock-IntakeForm.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96663,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":64,\"Description\":\"530321-Lead middlename Mock-IntakeForm.pdf\",\"UploadDate\":\"2025_01_15T17:30:29.5167713_05:00\",\"ExecutionDate\":null,\"FileName\":\"530321-Lead middlename Mock-IntakeForm\",\"FileType\":\".pdf\"}" ], [ "Lead-530321-SignedContract.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":96664,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":50,\"Description\":\"Lead-530321-SignedContract.pdf\",\"UploadDate\":\"2025_01_15T17:30:29.8195605_05:00\",\"ExecutionDate\":\"2025_01_15T17:30:29.566686_05:00\",\"FileName\":\"Lead_530321_SignedContract\",\"FileType\":\".pdf\"}" ], [ "530321-Lead middlename Mock-IntakeForm.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":95715,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":64,\"Description\":\"530321-Lead middlename Mock-IntakeForm.pdf\",\"UploadDate\":\"2024_12_19T18:32:45.8070903_05:00\",\"ExecutionDate\":null,\"FileName\":\"530321-Lead middlename Mock-IntakeForm\",\"FileType\":\".pdf\"}" ], [ "Lead-530321-SignedContract.pdf", "&lt;Response [201]&gt;", "{\"UploadId\":95716,\"SysID\":\"CCA6B77CFE80F581\",\"LockCode\":1,\"LockID\":0,\"TypeCode\":50,\"Description\":\"Lead-530321-SignedContract.pdf\",\"UploadDate\":\"2024_12_19T18:32:46.665443_05:00\",\"ExecutionDate\":\"2024_12_19T18:32:45.940998_05:00\",\"FileName\":\"Lead_530321_SignedContract\",\"FileType\":\".pdf\"}" ] ]

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-15 17:56:38

CCA6B77CFE80F581

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-16 11:08:31

subType

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-16 14:04:02

else: injury_ID = 685

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-16 14:04:36

^ goes on L151 of main.py

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-16 14:14:24

Nov 19 2024: Daniel Schussler [1:58 PM] Forgot to mention, in my latest test for napoli, im still getting this error "<Response [500]> There was an error and it was logged. Unable to determine database for endpoint. It is possible you are providing a SYSID that has not posted yet or was a Duplicate. Please check the Client Stage (/api/ClientStage/{leadSourceId}/{leadId}) before posting to SYSID endpoints."

Dustin Surwill [2:00 PM] try this endpoint instead: image.png

Daniel Schussler [2:08 PM] got it

Daniel Schussler [2:24 PM] which end point am i replacing?

Dustin Surwill [2:24 PM] /api/ClientInjuries/{sysid}

Daniel Schussler [2:31 PM] Client_injuries = {} Client_injuries["sysid"] = sys_id Client_injuries["hcpid"] = hcP_ID Client_injuries["injury_ID"] = -1 [2:31 PM] Daniel Schussler

inj_response = <a href="http://requests.post">requests.post</a>(url + f"/ClientInjuries/{sys_id}/{}/{hcP_ID}", headers = headers, json = [Client_injuries]) [2:31 PM] Daniel Schussler

can't put -1 in the brackets can i?

Daniel Schussler [3:15 PM] still the same error

Dustin Surwill [3:19 PM] then that endpoint only works when the lead stage is posted which may take up to an hour which our system will not support. Lets remove that endpoint and move the injurydate to the notes field with our full question (edited)

Daniel Schussler [3:20 PM] ok [3:22 PM] Daniel Schussler

inj_response = <a href="http://requests.post">requests.post</a>(url + f"/v1/ClientInjuries/{sys_id}/{injury_ID}/0", headers = headers, params = {"injuryDate":intake["c-22988"]}) postgres.update_lead_intake_response(intake["Lead ID"], f"{sys_id_response1.__str__()} {sys_id_response1.text}\n {healthcare_response.__str__()} {healthcare_response.text}\n {healthcare_response2.__str__()} {healthcare_response2.text}\n {Residential_response.__str__()} {Residential_response.text}\n {inj_response.__str__()} {inj_response.text}") [3:23 PM] Daniel Schussler

So i can get rid of the whole thing, or just the inj_response

Daniel Schussler (dschussler@shield-legal.com)
2025-01-16 16:58:13

case id 1810

Daniel Schussler (dschussler@shield-legal.com)
2025-01-16 16:58:41

591397 Lane, Jeffery 652377 Griffin, Jacky

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-16 16:59:31

"c-4762": "Civilian",

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-20 11:44:38
Daniel Schussler (dschussler@shield-legal.com)
2025-01-20 12:42:44

547740

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-22 10:50:28

Can you review https://github.com/shield-legal/gcp-integrations/pull/93 and if you approve squash and merge please

Daniel Schussler (dschussler@shield-legal.com)
2025-01-22 10:52:39

yeah sure

Daniel Schussler (dschussler@shield-legal.com)
2025-01-22 10:56:43

done

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-22 10:57:00

Thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-01-22 10:57:07

no problem

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-23 17:34:31
Daniel Schussler (dschussler@shield-legal.com)
2025-01-24 12:55:41

Desiree just confirmed with me that birth injury will not need an integration

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-24 17:27:47

Contact/Age

Dustin Surwill (dsurwill@shield-legal.com)
2025-01-28 13:25:12

select ** from lr_data.lead_history where leadid in (select id from lr_data.lead where casetypeid=1855 and statusid=1073) and comment like '%Signed e-Sign QA' order by date

Daniel Schussler (dschussler@shield-legal.com)
2025-01-28 15:54:32

File Upload Endpoint: Shield Legal Files

Endpoint URL (multipart/form-data): https://dmamt.leaddocket.com/opportunities/uploadfiles?opportunityId=YOUR_OPPORTUNITY_ID&CreatedBy=Opportunity%20API

Rules: Endpoint is available for 10 minutes after an opportunity is created. If the Opportunity was auto converted to a lead, the uploaded files will attach to the lead.

Parameters:OpportunityId ◦ The returned opportunityId returned from a successful opportunity creation ◦ Data Type: numeric • CreatedBy ◦ Name of the file uploader (optional) ◦ Data Type: text • Files ◦ List of files to upload ◦ Data Type: File

Daniel Schussler (dschussler@shield-legal.com)
2025-01-28 17:29:02

```def sendnapolidocs(session: Session, attachments: Iterable[tuple[str, bytes]], sysid: str, url: str) -> list[list[str]]: newattachments = [] for name, content in attachments: if name.endswith(".pdf") and "SignedContract" in name: splitresult = splitpdfifneeded(content) if splitresult: # Ensure it's not None or empty newattachments.extend(splitresult) else: print(f"Warning: splitpdfifneeded returned None or empty for '{name}'") else: new_attachments.append((name, content))

document_response = []
for name, content in new_attachments:
    if name.endswith(".csv"):
        continue
    subcategory = [cat for search, cat in SUBCATEGORY_MAP.items() if search in name]
    subcategory = subcategory[0] if subcategory else 50

    document_body = {
        'SysID': sys_id,
        'TypeCode': subcategory,
        'Description': name
    }
    if "signed" in name.lower():
        document_body["ExecutionDate"] = datetime.now(UTC).isoformat()

    try:
        doc_response = <a href="http://session.post">session.post</a>(
            f"{url}/FileUpload",
            data=document_body,
            files={"File": (name, content)}
        )
        document_response.append([name, str(doc_response), doc_response.text])
    except Exception as e:
        print(f"Error uploading file '{name}': {e}")

return document_response```
Dustin Surwill (dsurwill@shield-legal.com)
2025-01-29 15:11:19

Double check the LR automation for chowchilla miller flanagan and set it to trigger on final. send anything that is already in final (re-trigger)

Daniel Schussler (dschussler@shield-legal.com)
2025-01-29 15:30:18

its not set to re-trigger yet, im assuming set it to trigger on re-trigger as well

Daniel Schussler (dschussler@shield-legal.com)
2025-02-05 11:22:57

Oxbryta is turned on

Daniel Schussler (dschussler@shield-legal.com)
2025-02-05 11:45:57
Daniel Schussler (dschussler@shield-legal.com)
2025-02-05 12:56:37

Desiree confirmed with me Birth injury can be removed

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-02-07 18:39:01
Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 11:17:02

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:44:44

Hey Dustin, Darrell is in. He is asking about that error for NEC baby formula that we got when we initially started testing. I went into GCP and the error logs and could not find it. there are no errors there. Is there any where else it could be ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-10 12:46:34

Big query

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:46:44

the entry is empty

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:46:55

gcp error logs?

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-10 12:48:19

What case type number?

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:48:38

1799

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-10 12:54:49

Not sure . Try sending another test

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:55:01

seems easy enough ok.

Daniel Schussler (dschussler@shield-legal.com)
2025-02-10 12:55:28

thanks anyway

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-11 17:11:09

You dont have any integrations in progress. What are you working on?

Daniel Schussler (dschussler@shield-legal.com)
2025-02-11 17:18:44

outside of NEC baby formula, which Darrell and I suppose to work on at some point this week, I've been creating test leads for Dwight. There was also mention of a salesforce project nick wanted me to work on with Darrell but that might be in regards to the campaign as well. I asked you about those matchings for the flatirons stuff, so I'm available for that if you need assistance. Did some stuff for VSS and their reporting and also waiting for the ACTS campaigns to be available so i can help Dwight Complete those quickly. Outside of that I have open availability for assistance.

Daniel Schussler (dschussler@shield-legal.com)
2025-02-11 17:20:15

we might get those api docs for the AFFF campaigns sitting in on deck tomorrow. I will gladly create those integrations if so.

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-11 17:20:52

What about the Crumps on deck? You are assigned to 1

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-12 16:38:04

Please create a custom report layout with all the fields from the campaigns with "DL Check" == "DL" and "Intake" == "Y"

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-12 19:08:20
Dustin Surwill (dsurwill@shield-legal.com)
2025-02-18 12:42:13
Daniel Schussler (dschussler@shield-legal.com)
2025-02-18 12:43:45

Seems good. Squash and merge?

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-18 12:43:51

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-02-18 12:44:00

done

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-18 12:44:11

thank you

Daniel Schussler (dschussler@shield-legal.com)
2025-02-18 12:44:16

no problem sir

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-18 14:45:18

is 215 ready to merge?

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-20 15:44:56

https://console.cloud.google.com/cloudscheduler?project=integrations-tip

accounts.google.com
Dustin Surwill (dsurwill@shield-legal.com)
2025-02-24 15:51:59

<Response [400]> {"error":"invalid_client","error_description":"invalid client credentials"}

Dustin Surwill (dsurwill@shield-legal.com)
2025-02-27 19:14:38

Sorry about the Monday mixup, apparently those tasks were already created.

Daniel Schussler (dschussler@shield-legal.com)
2025-02-28 10:27:52

oh no worries man

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-04 14:33:34

Try testing with my changes: https://github.com/shield-legal/gcp-integrations/pull/80/commits/29fb3b39b0b73e0826b66b7d7ce8cf2785693ed5 run git pull --ff-only to download my changes

Daniel Schussler (dschussler@shield-legal.com)
2025-03-04 14:39:05

Sounds good

Daniel Schussler (dschussler@shield-legal.com)
2025-03-04 14:39:15

Thanks for checking it out

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-05 15:27:52

Please mark the error from gcp for 1927 as resolved

Daniel Schussler (dschussler@shield-legal.com)
2025-03-05 15:28:44

ok

Daniel Schussler (dschussler@shield-legal.com)
2025-03-06 16:39:29

https://www.coursera.org/professional-certificates/google-it-automation

Coursera
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-12 12:32:16

delete lines 85 and 53

Daniel Schussler (dschussler@shield-legal.com)
2025-03-12 13:42:39

``` # Check to see who is the signer parent1 = data['Parent1']['item/litifypmFirstNamec'].lower().replace(" ", "") signer = intake['c-25782'].lower().replace(" ", "")

# Compare values and update data dictionary accordingly
if parent1 == signer:
    data['Parent1']['item/SL_Automations__c'] = True
else:
    data['Parent2']['item/SL_Automations__c'] = True ```
Daniel Schussler (dschussler@shield-legal.com)
2025-03-12 13:42:45

this snippet look good ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-12 13:43:01

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-03-12 13:48:36

then i think its good now

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-13 12:40:12

Dont forget that for 1799 you will probably need to duplicate or loop over line 66 for each person in the mapping

Daniel Schussler (dschussler@shield-legal.com)
2025-03-13 12:41:10

oh right because they want 4 different "instances" right ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-13 12:41:29

yes, i believe they call them accounts

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-13 12:42:13

maybe get Darrell to sign off on the logic (maybe make a diagram?) before testing

Daniel Schussler (dschussler@shield-legal.com)
2025-03-13 12:43:00

assuming i'll have to change the json as well every time? json = data[Child], json = data[Parent1] , etc.

✅ Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-03-13 12:43:24

I wasn't planning on testing it without Darrell here but if its urgent then probably should

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-13 17:18:37

Build diagram that shows all the views and the original tables for the table matviewfinancialdetails

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-13 17:19:01

Build on https://www.drawio.com/ and share with me

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-14 13:14:49
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-19 12:51:01

formatted from darrells export

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-19 13:28:05

git reset origin/NEC-baby-Formula\-\-\-DL\-\-\-Flatirons\-\-\-Shield-Legal

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-19 13:30:32

This is where I got the intake url from: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/walkthrough_using_curl.htm better version: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_curl.htm

developer.salesforce.com
developer.salesforce.com
Daniel Schussler (dschussler@shield-legal.com)
2025-03-20 11:05:34

Hey, looks like Zek's car didn't get fixed so hes dropping his car off again and im going to go grab him

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-20 11:05:57

Ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-20 15:12:11
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-20 19:16:20

I have finished my version of the diagram (Page-3). Attached is the text used to generate it (https://mermaid.js.org/syntax/stateDiagram.html). Can you try adding color to help visually see the lines in Color of Page-3? Pick a color per box (can reuse if they do not connect anywhere) and then color the lines from that box to the other boxes the same color (only lines going right should match the color of the box)

mermaid.js.org
👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:36:24

Every push to SA generates a new ID. The current logs override

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:36:59

logs showed the same lead id

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:37:28

same lead id should be different externalid and intakeresponse

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:37:46

showed the same external id**

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:37:59

unless it didn't update but there were no errors

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:38:54

then i would say that the new one did not run. check the logs on the function or in lawruler activity log

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:40:14

activity log says email delivered

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:40:42

what is the leadid and the case type id?

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:40:52

1838 case type id

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:40:54

lead id

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:41:01

701090

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:44:18

They might have the dup checker enabled. try new contact info

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:45:43

ugh a whole new lead? ok that might take a little

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-21 16:46:06

copy with new contact. I can show you how after this meeting

Daniel Schussler (dschussler@shield-legal.com)
2025-03-21 16:47:22

oh i .... i think showed me already, give me a sec helping out Zek

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-24 15:46:32

https://github.com/restforce/restforce

Stars
822
Language
Ruby
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-24 15:50:22

Did we every try using? https://pypi.org/project/simple-salesforce/

PyPI
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-24 16:23:23

Troy Maxwell <tmaxwell@elglaw.com>, Jonathan Sharp <Jonathan@elglaw.com>, "Treven J. Pyles" <Treven@elglaw.com>,

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-25 12:45:31

<Response [200]> {"response":{"scriptResult":"{\"idEntity\":\"270869\",\"idRepresentation\":\"113001\",\"statusCode\":\"200\"}","scriptError":"0","recordId":"109781","modId":"0"},"messages":[{"code":"0","message":"OK"}]}

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-26 19:37:17

They both failed: DL: [["Child", "&lt;Response [400]&gt;", "{\"message\":\"Illegal assignment from String to Boolean\",\"logId\":\"a0EVT00000BAgHP2A1\",\"isSuccess\":false,\"intakeId\":null,\"accountId\":null}"]] Seeger: &lt;Response [400]&gt; {"message":"{\"message\":\"Invalid date: 1990\",\"logId\":\"a7OUd0000001HI9MAM\",\"isSuccess\":false,\"intakeId\":null,\"accountId\":null}","logId":null,"isSuccess":false,"intakeId":null,"accountId":null}

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-27 12:52:41

Child was created successfully for NEC but incorrect logic on line 93, we need to check for status code 200 not 201

Daniel Schussler (dschussler@shield-legal.com)
2025-03-27 12:53:12

yeah i saw that it was a 200 and got excited for a second lol \

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-27 12:53:52

Depo Seeger worked as well. I will push the changes in a minute and you can review if you wish

Daniel Schussler (dschussler@shield-legal.com)
2025-03-27 12:54:48

OK i'll take a look

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-27 17:23:49
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-27 17:26:12

https://console.cloud.google.com/bigquery/scheduled-queries?invt=AbtMAQ&project=tort-intake-professionals Add a filter of destination dataset=Financial_Log_Dataset

accounts.google.com
Daniel Schussler (dschussler@shield-legal.com)
2025-03-31 16:44:04

how does this look

Daniel Schussler (dschussler@shield-legal.com)
2025-03-31 16:44:05

https://mermaid.live/edit#pako:eNqtU8lu2zAQ_ZWAZ1uw9uXQS4wgAXLIoYeiEDAYi2OLAEUqXJy4hv[…]qjxfsANr0jyJslWaJmmZZnVRJ8VpwX5MvquoqOOqSotVFZd5URbp6Sc8Dmzh

mermaid.live
Dustin Surwill (dsurwill@shield-legal.com)
2025-03-31 16:47:45

Looks good. Did you get the scheduled queries from BQ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-03-31 16:48:26

I know that most of the tables in FinancialLogDataset are views or scheduled queries of other tables

Daniel Schussler (dschussler@shield-legal.com)
2025-03-31 16:48:53

oh no i dont think so . probably need to make those adjustments

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-04-01 12:59:23

here is the chart

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-01 17:33:11

instead of account["Name"]: do account.get('lastName', '').strip():

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-08 11:16:38

good to test 638 from the gcp/bq side

Daniel Schussler (dschussler@shield-legal.com)
2025-04-08 11:18:39

thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 11:16:34

Good morning! Paraquat 12 should be good to merge

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 11:16:41

Good morning! Paraquat 12 should be good to merge

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 11:20:18

I dont know if that would affect things, but im going to retrigger a lead

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 11:20:36

for that campaign

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 13:56:11

AFFF DL flatirons also good to merge

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 13:56:17

tested and works

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-04-10 13:57:43

Both are merges

Daniel Schussler (dschussler@shield-legal.com)
2025-04-10 13:57:47

thank you

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 11:45:41

1674 Illinois Juvenile Hall Abuse - Dicello - Flatirons NC (TIP) - Shield Legal. Next campaign im working on for your reference so you can add it to monday when you get a chance

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 11:52:35

also might need assistance. my python commands aren't working in the terminal.

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 11:52:48

"unable to create process using"

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 11:53:27

Screenshot?

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 11:54:49
Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 12:00:25

Looks like it could be a permissions thing after an update. Did you any updates recently?

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 12:03:06

Does python --version work when you are not in the virtual environment?

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:03:55

No updates that I’m aware of. I went look for a way to update before I messaged you

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:04:13

I’ll check in a normal cmd terminal once I get out of the meeting

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:25:18

no does not work on the terminal

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 12:48:52

Then your python install seems broke. It will either need and update or reinstall

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:49:20

how does that even happen

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:49:27

weird

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:49:33

well, i can't install it because joe

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 12:49:55

Blame windows. Try this in a normal terminal window: winget upgrade --id Python.Python.3.12

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:50:23

No installed package found matching input criteria

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:50:33

message from terminal

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 12:51:44

For now get someone else to run the dump tool and give you the files. I can you repair python on Monday

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 12:51:57

sounds good. thank you sir

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:44:48

Hey dustin we are ready to test 1674.

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:48:09

You are good to test

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:48:46

Also Darrell just told me that paraquat DL legafi is intermittently missing docs

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:48:53

Also Darrell just told me that paraquat DL legafi is intermittently missing docs

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:49:04

Yes me and mcfadden are aware

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:49:09

the only one of the paraquats

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:49:09

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:49:25

Do you mean the docs we send or docs from dl to legafi

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:50:40

apparently when we send a lead to DL only sometimes does it also come with docs

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:50:57

What about our BQ logs?

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:51:01

What about our BQ logs?

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:51:14

im double checking now

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:53:25

Google doesn't seem to be working for me

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:53:31

im asking Dwight

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:54:06

There is only 1 lead in our logs

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:54:25

yeah im confused

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:54:34

but he said 12 has come through

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:55:19

I think @Darrell posted them in before we had our system running

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:55:25

yeah

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:55:31

thats what i think we are putting together

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 15:55:39

the lead he gave me was pushed on the 2nd

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 15:56:16

And our integration was started and approved the 7th

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 16:00:27

yeah. so we are working on a solution, its going to be some combination of retriggering and deleting dups i'll keep you updated

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 16:13:36

intake 1674 (Illinois Juvenile Hall Abuse - Dicello - Flatirons NC (TIP) - Shield Legal) confirmed working

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 16:13:47

can be merged

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-11 16:15:13

merged

Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 16:15:30

thanks. I am now re-triggering said leads for Darrell

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-04-11 17:04:41

and all came through successfully

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-04-14 16:55:08

Ok great, yeah i wasn't sure if we were allowed send it and i didn't want to make any promises

Daniel Schussler (dschussler@shield-legal.com)
2025-04-14 16:55:30

Ok great, yeah i wasn't sure if we were allowed send it and i didn't want to make any promises

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-14 16:55:33

That is their docs.

Daniel Schussler (dschussler@shield-legal.com)
2025-04-14 16:55:40

got it

Daniel Schussler (dschussler@shield-legal.com)
2025-04-14 16:55:50

oh their docs? so we already have them?

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-14 16:56:00

You can send the API docs that Anthony's team creates and attaches to Monday

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-14 16:56:15

Will need to download from sheets then attach in an email

Daniel Schussler (dschussler@shield-legal.com)
2025-04-16 17:41:36

NJ Juvenile Hall Abuse - DL - Flatirons - Shield Legal 1806

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-17 15:13:09

https://github.com/shield-legal/gcp-integrations/pull/66/commits/b856fe7170f2cff771a01f0ef223ab040bf33f95 It was silly and treated the folder renames as creating a new main.py...

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-18 11:44:46

Please open the Google meet for Dwight. I will be a little late to the 10

Daniel Schussler (dschussler@shield-legal.com)
2025-04-18 11:50:14

for sure no worries.

Daniel Schussler (dschussler@shield-legal.com)
2025-04-21 13:48:37

MD Juv Hall Abuse - DL/BG - Flatirons - Shield Legal

Daniel Schussler (dschussler@shield-legal.com)
2025-04-23 12:56:10

Los Padrinos Juv Hall Abuse - DL - Flatirons - Shield Legal

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-23 13:06:24

Please give me screen of what shows up when you go to: https://shieldlegal.dev/

Daniel Schussler (dschussler@shield-legal.com)
2025-04-23 13:06:46

connection not private still

Daniel Schussler (dschussler@shield-legal.com)
2025-04-23 13:07:11
Dustin Surwill (dsurwill@shield-legal.com)
2025-04-23 13:07:32

does advanced let you go somewhere?

Daniel Schussler (dschussler@shield-legal.com)
2025-04-23 13:07:44

no

Daniel Schussler (dschussler@shield-legal.com)
2025-04-23 13:08:02
👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-04-24 10:36:57

Michigan Juvenile Hall Abuse - DL - Flatirons - Shield Legal another one to add to the monday board

Daniel Schussler (dschussler@shield-legal.com)
2025-04-24 11:31:10

i guess since those questions aren't ready yet PA Juvenile Hall Abuse - DL - Flatirons - Shield Legal

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-24 14:08:15

Well theres one of them

monday.com (https://themedialaboratory.slack.com/services/B04V6661H4N)
Daniel Schussler (dschussler@shield-legal.com)
2025-04-24 15:18:25

awesome

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-29 15:56:35

2015 is enabled in GCP for testing

Daniel Schussler (dschussler@shield-legal.com)
2025-04-29 15:59:26

great thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-04-30 11:37:48

can you make 1807 available for testing please

Daniel Schussler (dschussler@shield-legal.com)
2025-04-30 11:38:38

and can you add 1915 Chowchilla Womens Prison Abuse - DL - Flatirons - Shield Legal to monday, if you can find it lol

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-30 11:43:14

1807 already available for testing. I enable it when I see the PR created. You can check by looking at the integration active column of integrations-tip.gcp_integrations.api_case_types

Daniel Schussler (dschussler@shield-legal.com)
2025-04-30 11:44:39

ok cool thanks

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-30 11:44:46

1915 should be in backlog

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-30 11:58:59

Can you log in to the meeting so Ahsan can join us?

Dustin Surwill (dsurwill@shield-legal.com)
2025-04-30 13:31:42

1915 available for testing

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-05 15:54:53

Look at using https://pypi.org/project/simple-salesforce/ to push the intake questionnaires over. Start writing the code for pushing the intake questionnaires over. Attached is a report with all questions from all campaigns.

PyPI
Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 12:35:11

looks like the changes made to 1997 worked. i can be merged

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:57:17

Exception on / [POST] Traceback (most recent call last): File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(****view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/execution_id.py", line 106, in wrapper return view_function(**args, ****kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/__init__.py", line 142, in view_func return function(request._get_current_object()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/__init__.py", line 121, in wrapper return func(**args, ****kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/main.py", line 182, in main response = requests.put(signed_url, data=attachment[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/api.py", line 130, in put return request("put", url, data=data, ****kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, ****kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/sessions.py", line 575, in request prep = self.prepare_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/sessions.py", line 484, in prepare_request p.prepare( File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/models.py", line 367, in prepare self.prepare_url(url, params) File "/layers/google.python.pip/pip/lib/python3.12/site-packages/requests/models.py", line 438, in prepare_url raise MissingSchema( requests.exceptions.MissingSchema: Invalid URL '': No scheme supplied. Perhaps you meant https://?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:57:35

File "/workspace/main.py", line 182, in main response = requests.put(signed_url, data=attachment[1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:57:45

that line there specifically is interesting

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 16:57:55

Without looking at the code, I think it has to do with the document upload

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:58:05

yeah that's my worry

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:58:14

which is odd for just one lead

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 16:58:35

We should look at BQ and the function logs

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 16:58:56

I'll see what i can find

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:02:49

[["all", "&lt;Response [200]&gt;", "{\"=?UTF-8?b?NzIzODg4LVph4oCZTGF5bHlubiBKYWNraWVhIFRob21hcy1JbnRha2UuY3N2?=\":{\"SignedUrl\":\"<https://09af2598-5435-4a4c-b8a5-163617620137-us-east-2-documents.s3.us-east-2.amazonaws.com/a1eVT000004DAX7YAO?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential=ASIAY4ZFPUF6EH2ILR5A%2F20250506%2Fus-east-2%2Fs3%2Faws4_request&amp;X-Amz-Date=20250506T213108Z&amp;X-Amz-Expires=3600&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKX%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMiJHMEUCIQDXMXq3uHKM1E54Du4ud6mmac2qrEUqed2EXtjWJjOSzQIgI4SmAKyaWiWkljvhoJrr9ddyFRNdC3%2F5O7HuechmWFIqwwMITxABGgw2MTE1NzQ1ODc3NzIiDIFLdEIyCXBEVpqtTSqgA%2FK9l7Nmza1S0Drot3upS0EASWOzz%2FEPnEg6O%2FUBLAxUtzRd1knfXaTni1qc6OumzhAL3aly7cqw3u6a1UOuTeNk7DFXioG7iVP4FggWdVU0jlMxqRhRE4jttNiF9kVnvix%2BDkVi0rnA8iVFPweR8iurdjH3NjsCvXSRKnOo2JJhiGUsYCTUgqU98f0FX4kvsWVqSxDiC2VoBunLwbDnQ6uH39foVdLRCsfByKdizZVKptiLj1Lc%2B7We3j%2BKLWH3Jk8B6UJpgY%2BjgOO6iJaXwFcTHb0qb1j%2Bix3oF3k9mPtT1gXS2vX6sVOtsSxVGUjy%2FZgz4SUcXvMSrBtvGZzLqD4Tnwv6%2FnENxOeECkCzY7K0hI9VbCS4wl8rj0QqEsErxV1%2F2iPB%2BDfhOQVkA7eLNX0JljcnHsVeVgnR5kV8vJpb0zXOPi7TRiN5cfxAxch0eu9SYMd7sOZmmaDTUFHkGbYzU44EQTMFtELTSlJR3OlFCpronsp8lWQkPrcJNqU2DpvZvcnt82T5qfBXFHJqbehDWAAdbWhvk8DQK6k6HaJJMI3%2F6cAGOp4BmV2ZdxH5N7pMDaXgD0oh5ODlhLZBj%2F76TFb5CZanH32mGi8P3SB41RgCSagX%2FhtPPbXJuQK%2F0dBAV9K97hGNqu0EVou3u5415r9U5O5dx0R7aQTU1Z9TOEZdlTEBqpm8qu5VbC%2FV%2B%2FCzBZhlwBC%2BRczGpqLI%2Bf6xt0qtJLUoxucrsyiycmuPYHwmTWw%2FmQSgyYeqDUQgu6Kg42s%2FzEg%3D&amp;X-Amz-Signature=8e6718e934c821f2f97344d954e21a4e8b904546c4dd049902f759d3bef8ab3b&amp;X-Amz-SignedHeaders=host&amp;x-id=PutObject>\",\"Expires\":\"2025_05_06T22:31:08.696Z\",\"Id\":\"a1eVT000004DAX7YAO\",\"Name\":\"=?UTF_8?b?NzIzODg4LVph4oCZTGF5bHlubiBKYWNraWVhIFRob21hcy1JbnRha2UuY3N2?=\",\"litify_docs__Related_To__c\":\"a0CVT00004cnMgt2AE\",\"litify_docs__External_ID__c\":\"723888\"},\"=?UTF-8?b?NzIzODg4LVph4oCZTGF5bHlubiBKYWNraWVhIFRob21hcy1JbnRha2VGb3Jt?= =?UTF-8?b?LnBkZg==?=\":{\"SignedUrl\":\"\",\"Expires\":\"\",\"Name\":\"=?UTF-8?b?NzIzODg4LVph4oCZTGF5bHlubiBKYWNraWVhIFRob21hcy1JbnRha2VGb3Jt?= =?UTF-8?b?LnBkZg==?=\",\"litify_docs__Related_To__c\":\"a0CVT00004cnMgt2AE\",\"litify_docs__External_ID__c\":723888},\"Za_Laylynn-723888-SignedContract.pdf\":{\"SignedUrl\":\"<https://09af2598-5435-4a4c-b8a5-163617620137-us-east-2-documents.s3.us-east-2.amazonaws.com/a1eVT000004DAX9YAO?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential=ASIAY4ZFPUF6EH2ILR5A%2F20250506%2Fus-east-2%2Fs3%2Faws4_request&amp;X-Amz-Date=20250506T213108Z&amp;X-Amz-Expires=3600&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKX%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMiJHMEUCIQDXMXq3uHKM1E54Du4ud6mmac2qrEUqed2EXtjWJjOSzQIgI4SmAKyaWiWkljvhoJrr9ddyFRNdC3%2F5O7HuechmWFIqwwMITxABGgw2MTE1NzQ1ODc3NzIiDIFLdEIyCXBEVpqtTSqgA%2FK9l7Nmza1S0Drot3upS0EASWOzz%2FEPnEg6O%2FUBLAxUtzRd1knfXaTni1qc6OumzhAL3aly7cqw3u6a1UOuTeNk7DFXioG7iVP4FggWdVU0jlMxqRhRE4jttNiF9kVnvix%2BDkVi0rnA8iVFPweR8iurdjH3NjsCvXSRKnOo2JJhiGUsYCTUgqU98f0FX4kvsWVqSxDiC2VoBunLwbDnQ6uH39foVdLRCsfByKdizZVKptiLj1Lc%2B7We3j%2BKLWH3Jk8B6UJpgY%2BjgOO6iJaXwFcTHb0qb1j%2Bix3oF3k9mPtT1gXS2vX6sVOtsSxVGUjy%2FZgz4SUcXvMSrBtvGZzLqD4Tnwv6%2FnENxOeECkCzY7K0hI9VbCS4wl8rj0QqEsErxV1%2F2iPB%2BDfhOQVkA7eLNX0JljcnHsVeVgnR5kV8vJpb0zXOPi7TRiN5cfxAxch0eu9SYMd7sOZmmaDTUFHkGbYzU44EQTMFtELTSlJR3OlFCpronsp8lWQkPrcJNqU2DpvZvcnt82T5qfBXFHJqbehDWAAdbWhvk8DQK6k6HaJJMI3%2F6cAGOp4BmV2ZdxH5N7pMDaXgD0oh5ODlhLZBj%2F76TFb5CZanH32mGi8P3SB41RgCSagX%2FhtPPbXJuQK%2F0dBAV9K97hGNqu0EVou3u5415r9U5O5dx0R7aQTU1Z9TOEZdlTEBqpm8qu5VbC%2FV%2B%2FCzBZhlwBC%2BRczGpqLI%2Bf6xt0qtJLUoxucrsyiycmuPYHwmTWw%2FmQSgyYeqDUQgu6Kg42s%2FzEg%3D&amp;X-Amz-Signature=527f3bff62476d85f87580e187461db2adec9f4e89a72b1c96ebee309e8be640&amp;X-Amz-SignedHeaders=host&amp;x-id=PutObject>\",\"Expires\":\"2025_05_06T22:31:08.696Z\",\"Id\":\"a1eVT000004DAX9YAO\",\"Name\":\"Za_Laylynn_723888_SignedContract.pdf\",\"litify_docs__Related_To__c\":\"a0CVT00004cnMgt2AE\",\"litify_docs__External_ID__c\":\"723888\"}}"], ["=?UTF-8?b?NzIzODg4LVph4oCZTGF5bHlubiBKYWNraWVhIFRob21hcy1JbnRha2UuY3N2?=", "&lt;Response [200]&gt;", ""]]

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:03:04

well it stops short of finishing , ends on a 200

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:03:08

as the others don't

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:04:58

{\"Message\":\"Files successfully uploaded.\",\"Successes\":[{\"litify_docs__Version_Id__c\":\"MACUeP5JEyPqAQkihgWZsLAp9Es0LRn3\",\"litify_docs__Source__c\":\"Docrio Api\",\"litify_docs__File_Type__c\":\"text/csv\",\"litify_docs__File_Size__c\":2009,\"litify_docs__Do_Not_Archive__c\":false,\"SKCH_Is_Private__c\":false,\"litify_docs__Has_Attachments_Legacy__c\":false,\"litify_docs__Delete__c\":false,\"litify_docs__Updated_By_Name__c\":\"Darrell McCraken\",\"litify_docs__Updated_On__c\":\"2025_05_06T21:01:35.599Z\",\"litify_docs__Updated_By__c\":\"005VT0000039p6QYAQ\",\"litify_docs__Folder_Path_Last_255__c\":\"[]\",\"litify_docs__Folder_Path_First_255__c\":\"[]\",\"litify_docs__Latest_Version__c\":0,\"litify_docs__Related_To__c\":\"a0CVT00004co7o02AA\",\"litify_docs__Related_To_Api_Name__c\":\"litify_pm__Intake__c\",\"litify_docs__OCR_Compatible__c\":false,\"litify_docs__Latest_Version_Formula__c\":0,\"litify_docs__Folder_Path__c\":\"[]\",\"litify_docs__File_Link__c\":\"/lightning/r/litify_docs__File_Info__c/a1eVT000004D8ez/view\",\"litify_docs__External_ID__c\":\"723844\",\"litify_docs__Complete__c\":true,\"SystemModstamp\":\"2025_05_06T21:01:32.000Z\",\"LastModifiedById\":\"005VT0000039p6QYAQ\",\"LastModifiedDate\":\"2025_05_06T21:01:32.000Z\",\"CreatedById\":\"005VT0000039p6QYAQ\",\"CreatedDate\":\"2025_05_06T21:01:32.000Z\",\"Name\":\"723844-Paislee Pugh-Intake.csv\",\"IsDeleted\":false,\"OwnerId\":\"005VT0000039p6QYAQ\",\"Id\":\"a1eVT000004D8ezYAC\"},{\"litify_docs__Version_Id__c\":\"_E58tM9UAodA2TWYarFmG080DvkBY0vs\",\"litify_docs__Source__c\":\"Docrio Api\",\"litify_docs__File_Type__c\":\"application/pdf\",\"litify_docs__File_Size__c\":73178,\"litify_docs__Do_Not_Archive__c\":false,\"SKCH_Is_Private__c\":false,\"litify_docs__Has_Attachments_Legacy__c\":false,\"litify_docs__Delete__c\":false,\"litify_docs__Updated_By_Name__c\":\"Darrell McCraken\",\"litify_docs__Updated_On__c\":\"2025_05_06T21:01:35.601Z\",\"litify_docs__Updated_By__c\":\"005VT0000039p6QYAQ\",\"litify_docs__Folder_Path_Last_255__c\":\"[]\",\"litify_docs__Folder_Path_First_255__c\":\"[]\",\"litify_docs__Latest_Version__c\":0,\"litify_docs__Related_To__c\":\"a0CVT00004co7o02AA\",\"litify_docs__Related_To_Api_Name__c\":\"litify_pm__Intake__c\",\"litify_docs__OCR_Compatible__c\":false,\"litify_docs__Latest_Version_Formula__c\":0,\"litify_docs__Folder_Path__c\":\"[]\",\"litify_docs__File_Link__c\":\"/lightning/r/litify_docs__File_Info__c/a1eVT000004D8f0/view\",\"litify_docs__External_ID__c\":\"723844\",\"litify_docs__Complete__c\":true,\"SystemModstamp\":\"2025_05_06T21:01:32.000Z\",\"LastModifiedById\":\"005VT0000039p6QYAQ\",\"LastModifiedDate\":\"2025_05_06T21:01:32.000Z\",\"CreatedById\":\"005VT0000039p6QYAQ\",\"CreatedDate\":\"2025_05_06T21:01:32.000Z\",\"Name\":\"723844-Paislee Pugh-IntakeForm.pdf\",\"IsDeleted\":false,\"OwnerId\":\"005VT0000039p6QYAQ\",\"Id\":\"a1eVT000004D8f0YAC\"},{\"litify_docs__Version_Id__c\":\"QujOAairONdyPcGc.JFtfMPcywHfagkr\",\"litify_docs__Source__c\":\"Docrio Api\",\"litify_docs__File_Type__c\":\"application/pdf\",\"litify_docs__File_Size__c\":828103,\"litify_docs__Do_Not_Archive__c\":false,\"SKCH_Is_Private__c\":false,\"litify_docs__Has_Attachments_Legacy__c\":false,\"litify_docs__Delete__c\":false,\"litify_docs__Updated_By_Name__c\":\"Darrell McCraken\",\"litify_docs__Updated_On__c\":\"2025_05_06T21:01:35.603Z\",\"litify_docs__Updated_By__c\":\"005VT0000039p6QYAQ\",\"litify_docs__Folder_Path_Last_255__c\":\"[]\",\"litify_docs__Folder_Path_First_255__c\":\"[]\",\"litify_docs__Latest_Version__c\":0,\"litify_docs__Related_To__c\":\"a0CVT00004co7o02AA\",\"litify_docs__Related_To_Api_Name__c\":\"litify_pm__Intake__c\",\"litify_docs__OCR_Compatible__c\":false,\"litify_docs__Latest_Version_Formula__c\":0,\"litify_docs__Folder_Path__c\":\"[]\",\"litify_docs__File_Link__c\":\"/lightning/r/litify_docs__File_Info__c/a1eVT000004D8f1/view\",\"litify_docs__External_ID__c\":\"723844\",\"litify_docs__Complete__c\":true,\"SystemModstamp\":\"2025_05_06T21:01:32.000Z\",\"LastModifiedById\":\"005VT0000039p6QYAQ\",\"LastModifiedDate\":\"2025_05_06T21:01:32.000Z\",\"CreatedById\":\"005VT0000039p6QYAQ\",\"CreatedDate\":\"2025_05_06T21:01:32.000Z\",\"Name\":\"Paislee-723844-SignedContract.pdf\",\"IsDeleted\":false,\"OwnerId\":\"005VT0000039p6QYAQ\",\"Id\":\"a1eVT000004D8f1YAC\"}],\"Failures\":[]}"]]

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 17:05:04

Looks like 2 of docs got bad names and 1 didnt get a url to upload to because of that

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:05:06

^ not part of the info

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:05:32

hmmm ok so what do we do about that?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:05:34

ask anthony?

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 17:05:51

are the names correct in GCS?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:06:16

GCS?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:06:20

GCP?

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 17:06:23

cloud storage

Daniel Schussler (dschussler@shield-legal.com)
2025-05-06 17:07:50

looks like it is

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-06 17:08:19

weird. I will look more after this meeting

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-05-07 12:47:49

hey man can you add Private Boarding School Abuse - DL - Flatirons - Shield Legal to monday please

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-08 13:25:28

1860 set for testing

Daniel Schussler (dschussler@shield-legal.com)
2025-05-08 13:25:48

thank you sir

Daniel Schussler (dschussler@shield-legal.com)
2025-05-09 12:37:26

are you available

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-09 12:37:47

im in a meeting, whats up?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-09 12:37:56

im currently in a meeting with dicello

Daniel Schussler (dschussler@shield-legal.com)
2025-05-09 12:38:07

and i couldn't nick

Daniel Schussler (dschussler@shield-legal.com)
2025-05-09 12:38:53

its fine we are postponing

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-05-21 16:05:03

select sum(case when ssn not like '%0000' and ssn is not null then 1 else 0 end) as count_has_ssn, count(ssn) as count_rows from contact c left join lead l on l.contactid=c.id where casetypeid in (select id from case_type where name like '%DiCello%' or name like '%DL%' or name like '%DLG%') and statusid in (1075, 3063);

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-21 16:05:33

Output: count_has_ssn,count_rows 13540,16187

Daniel Schussler (dschussler@shield-legal.com)
2025-05-23 11:03:27

https://console.cloud.google.com/run/detail/us-west4/test-intake-1791/logs?inv=1&invt=AbyGBg&project=integrations-tip

accounts.google.com
Daniel Schussler (dschussler@shield-legal.com)
2025-05-23 15:31:25

would you like me to put both LA Wildfire Flyer and LA wildfires in the same pull request ?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-23 15:31:30

they are exactly the same

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-23 15:51:06

Sure

Daniel Schussler (dschussler@shield-legal.com)
2025-05-23 15:54:16

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-27 12:35:46

lead_id 706605 737432

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-27 17:18:20

tabs = {tab['Name']: {q['LawrulerField']: [i['Name'] for i in q['Items']] for q in lr.get_intake_form(579340, tab['Id'])['Questions']} for tab in d['Tabs']}

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-27 17:19:50

tabs = {} for tab in d['Tabs']: for q in lr.get_intake_form(579340, tab['Id']): tabs[tab['Name']][q['LawrulerField'] = [i['Name'] for i in q['Items']]

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-27 17:22:00

152481,What brought you to the treatment center?,False,Drop Down,c-27510,383,True,Suicidal Ideations|Suicide Attempt|Substance Overdose|Substance Detox/Withdrawals/Treatment|Mental Health|DFS Placement|Foster Care,Intake Form

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-27 17:24:44

152481,What brought you to the treatment center?,False,Drop Down,c-27510,383,True,Suicidal Ideations|Suicide Attempt|Substance Overdose|Substance Detox/Withdrawals/Treatment|Mental Health|DFS Placement|Foster Care,Intake Form

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-28 17:20:48

Make a PR on the integrations project adding this script to the tools folder. Modify this script to all a user to pass in the lead id then grab the case type id to get the lrquestions.json for that case type before running the rest of the code. Should also call the dumplrquestions tool for that case type id before grabbing the lrquestions.json.

Daniel Schussler (dschussler@shield-legal.com)
2025-05-29 16:02:30

had to make adjustment to case type id 599 (MD Juv Hall Abuse - DL/BG - Flatirons - Shield Legal)

Daniel Schussler (dschussler@shield-legal.com)
2025-05-29 16:02:55

Dicello gave me the wrong case type id, which is why we got that error 30 minutes ago

Daniel Schussler (dschussler@shield-legal.com)
2025-05-29 16:03:11

Dicello gave me the wrong case type id, which is why we got that error 30 minutes ago

Daniel Schussler (dschussler@shield-legal.com)
2025-05-29 16:03:21

you can merge it you get a second, that should fix it

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-29 16:33:51

merged

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:47:02

"Intake creation failed: On person InjuredParty, 400, {"message":"Insert failed. First exception on row 0; first error: CANNOTEXECUTEFLOWTRIGGER, We can't save this record because the “SL Matter Automation” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: FIELDINTEGRITYEXCEPTION: Fee Arrangement for This Matter: id value of incorrect type: a0LVT000008WJ692AG. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1085314757-138533 (1942535077)k up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1085314757-138533 (1942535077): []","logId":"a0EVT00000D3Qcn2AF","isSuccess":false,"intakeId":null,"accountId":null}"

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:49:31

the error for 1955

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-30 13:50:07

Fee Arrangement for This Matter: id value of incorrect type: a0LVT000008WJ692AG

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-30 13:50:18

incorrect fee arrangement

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:50:32

thats what they provided me

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:51:23

sounds like Zahir provided the wrong ones?

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:51:29

Case Type: a03VT00000QyRWEYA3 Parent Matter: a0LVT000008WJ692AG Fee Arrangement: a0LVT000008WJ692AG

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-30 13:52:03

was this the campaign that had the wrong case type? if so then yes

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 13:52:23

yep

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 18:04:38

Please Merge 2064 When you get a chance, DL had to create a whole new campaign for instant cup so nick had me rush it

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-05-30 19:47:18

Merged

Daniel Schussler (dschussler@shield-legal.com)
2025-05-30 20:01:31

Thank you sir, enjoy your weekend

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-30 20:01:58

You too

Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 10:45:09

good morning, 1955 can be merged

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-02 10:45:59

Merged

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-02 14:36:58

updated file, sorted by name with case type ids

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-02 14:55:06

When I get back from lunch, I will have those csvs for you

Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 15:04:31

thank you sir

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-02 16:34:45
Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 18:03:02

Did you and Nick discuss the mapping draft they sent us?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-02 18:03:17

Not yet

Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 18:03:31
Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 18:05:02

Ok. I haven’t sent that email with the files yet, per what we discussed. I’m heading out but I can send it when I get home if I need to

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-02 18:05:16

So we can address that

Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 11:30:48
Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 11:30:51
Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 13:04:11

Equitable Financial Life Lawsuit - DiCello Levitt

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-03 14:14:32

Who asked for the 20 more questions for instant soup?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 15:45:18

They did

Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 15:45:49

thats why we had to make a second instant soup cup,

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-03 15:47:44

Was it Abe, Zahier or someone else?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 15:58:04

That i dont know, i think they went straight to cam for it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-03 15:58:12

it happened friday night

Daniel Schussler (dschussler@shield-legal.com)
2025-06-05 10:50:17

are the pull requests good to test right now?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-05 10:53:56

They should be

Daniel Schussler (dschussler@shield-legal.com)
2025-06-05 10:57:41

ok great

Daniel Schussler (dschussler@shield-legal.com)
2025-06-05 10:57:45

just wanted to make sure

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-05 11:55:54

missing docs: 748389 complete error (no send): 746834, 738674, 232231

Daniel Schussler (dschussler@shield-legal.com)
2025-06-05 15:38:45

so i dont know why that lead is missing the but i deleted the lead. 738674 is the lead im teasting for alameda county, 746834 also not located on either log 232231 i could not find in the logs. there was an error at that time but oddly enough at that exact time there is an error for a different lead 746462, I checked a few leads above and below and do not see that ID anywhere on the log

Daniel Schussler (dschussler@shield-legal.com)
2025-06-05 15:53:07

also Alameda is good to merge, let me know when you do i'll let them know

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 11:56:58

select ** from case_type where name like '%DiCello%' or name like '%DL%' or name like '%DLG%'

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 12:50:44

csvs with: leadid, firstname, middlename, lastname, createdate, casetype, status, esigndate

Daniel Schussler (dschussler@shield-legal.com)
2025-06-06 12:51:13

thank you

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 12:54:36

No leads found for case_types=[2060, 2062, 2059, 2063, 2061, 2058, 2046, 2041, 2029, 2027, 2026, 2025, 2024, 2028, 2021, 2020, 1982, 1979, 1978, 1974, 1969, 1960, 1935, 1918, 1822, 1922, 1916, 1808, 1754, 1798, 1820, 1907, 1738, 511, 1869, 148, 139, 138, 198, 597, 1870, 1675, 1723, 1704, 1654, 1832, 1830, 1809, 1821, 1842, 1844, 1819, 1815, 631, 269, 349, 1666, 208] all dl case types: (223, 208, 602, 1666, 258, 257, 605, 270, 271, 349, 240, 249, 269, 268, 266, 265, 604, 611, 631, 1815, 1819, 1844, 1841, 1853, 1859, 1861, 598, 1842, 1821, 1809, 1830, 1832, 1839, 213, 241, 1857, 640, 1654, 1704, 603, 1690, 1723, 1717, 1879, 1686, 1687, 1675, 599, 1676, 600, 614, 1799, 1870, 1791, 1643, 1806, 1807, 597, 109, 198, 638, 138, 139, 148, 207, 298, 1860, 1869, 511, 1738, 606, 1907, 1820, 1798, 1754, 1808, 1915, 1916, 1908, 1922, 1926, 1923, 1822, 1918, 1930, 1935, 1941, 1949, 1955, 1960, 1969, 1974, 1975, 1976, 1977, 1978, 1979, 1982, 1987, 1995, 1998, 2000, 2001, 2009, 2015, 2016, 2020, 2021, 2028, 2024, 2025, 2026, 2027, 2029, 2040, 2044, 2041, 2045, 2042, 2043, 2046, 2058, 2061, 2063, 2059, 2062, 2060, 2064)

Daniel Schussler (dschussler@shield-legal.com)
2025-06-06 12:56:41

some of those i assume haven't started calling yet

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 12:56:53

the new ones probably

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 12:56:57

2000+

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-06 18:19:41

blank last name: leadid,casetypeid,processedat,response 749237,2064,2025-06-05 17:05:12.206473,"[[""SignerAccount"", ""<Response [400]>"", ""{\""message\"":\""Insert failed. First exception on row 0; first error: FIELDCUSTOMVALIDATIONEXCEPTION, (null) cannot have a blank last name.: []\"",\""logId\"":\""a0EVT00000DDnMp2AL\"",\""isSuccess\"":false,\""intakeId\"":null,\""accountId\"":null}""]]"

Daniel Schussler (dschussler@shield-legal.com)
2025-06-07 16:13:49

I’ll check it out Monday

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-09 11:39:59

https://console.cloud.google.com/logs/query;query=resource.type%3D%22cloudrunrevision%22%0Aresource.labels.servicename%3D%22firm-dicello-levitt%22;cursorTimestamp=2025-06-05T17:05:12.258946Z;startTime=2025-06-05T17:00:00.000Z;endTime=2025-06-05T17:10:00.000Z?inv=1&invt=Abzq5w&project=integrations-tip|https://console.cloud.google.com/logs/query;query=resource.type%3D%22cloudrun_revision%2[…]17:10:00.000Z?inv=1&invt=Abzq5w&project=integrations-tip

accounts.google.com
Daniel Schussler (dschussler@shield-legal.com)
2025-06-09 12:20:10

Youth Treatment Center - BG/Dicello - ACTS - Shield Legal

Daniel Schussler (dschussler@shield-legal.com)
2025-06-09 12:20:12

518

Daniel Schussler (dschussler@shield-legal.com)
2025-06-10 13:09:02

that baby formula pull request can get merged if it looks alright

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 10:50:14

Hey man we might be having a big issue

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 10:50:33

with salesforce

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:04:32

ok not as big but still annoyig

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-11 11:22:49

What is it?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:26:36

well from about 9 am Yesterday none of the matters that we are creating have show up in salesforce. Richard and I did some investigating because we could see that the intakes and parties were being created still

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:27:36

turns out someone is reassigning all the matters we create, so Darrell isn't the owner anymore

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:27:45

thats why they aren't showing up on the "my matters" list

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-11 11:28:01

So it's just a matter of filters?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:28:28

kind of , but it make things a little more difficult when errors come through

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:28:52

why did they all of a sudden start doing that

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:28:58

i'd like to know

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:29:06

my ass almost had a heart attack

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-11 11:30:11

Maybe it was when Brittany had to explain to Amanda / Nico that Darrell is no longer with the company. They might have relayed it to the paralegals?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-11 11:30:23

She did that late last week

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:31:11

it could be an automation recently created because the person is the same basically for every lead that comes through

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 11:31:25

its the "it business analyst"

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-11 11:39:28

Probably

Daniel Schussler (dschussler@shield-legal.com)
2025-06-11 16:09:52

518 can be merged

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-12 12:38:04

2042 can be merged

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-13 13:49:07

Hey I'm trying to test 2040 but git seems like it won't make it available

Daniel Schussler (dschussler@shield-legal.com)
2025-06-13 13:49:14

no green check mark

Daniel Schussler (dschussler@shield-legal.com)
2025-06-13 13:50:08

I also made nick a reviewer so whenever needs to be done he can do it (probably)

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-13 13:50:56

merge conflict, I fixed it. nick is one of the owners of the org so is admin and has all permissions

Daniel Schussler (dschussler@shield-legal.com)
2025-06-13 13:51:11

ok thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 10:53:46

Good morning sir , I hope you had an excellent vacation. I am starting to map out the test push that nick cirino asked us to do. I might need help with the main later.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 10:54:00

Do we have a default value for "county"? no right?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 10:56:58

I do not believe so

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 10:57:42

Ok. I guess I'll just leave it empty then

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 10:58:20

I'm mapping to the injured party, not the signer. I believe thats what they wanted. By any chance did you watch or read friday's meeting?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 10:59:21

I do not have the recording

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 11:04:40

let me see if i have something

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 11:18:11

Yeah i thought i might have notes. didn't see anything sorry

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 11:37:03

btw you are working this week remotely Yes? I don't want to message you if you are still on vacation

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 11:37:13

Remote

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:14:40

*Thread Reply:*

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 11:39:13

Ok. I took a look at the information they sent us for the test sandbox. Unless I'm wrong, and lets be honest thats a higher percent chance than we want to admit, it doesn't look like i have to change much in the original main.py for this

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:05:09

Please review all the DL errors

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:08:36

the one that came in over the weekend? fix it already

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:12:43

All of these have been resolved?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:12:47
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:17:24

yeah

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:17:57

i've been resolving them as they came in

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:20:03

Any way to see previous interactions of merged code in git?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:20:37

You can look at the history of a branch (including main) or a pr

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:20:44

You can look at the history of a branch (including main) or a pr

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:21:47

but some of the errors are incorrect data in lr

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:21:59

that then need retriggering

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:22:47

yeah i've been doing as such

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:22:54

yeah i've been doing as much

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:23:10

yeah i've been doing as such

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:23:23

Please mark the error as resolved and in the future mark them before retriggering

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:23:39

i did that too lol

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:23:49

they should all be resolved and retriggered

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:24:36

even in merged branches?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 12:27:30

Yes that is considered prod

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 12:28:44

ah found it, i was looking for the closed branches

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 13:47:13

this is what i have currently.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 13:48:18

this is what i have currently.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 13:48:48
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 14:32:15

Are you also testing 2040, so we can get that merged and then make this a PR?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 14:58:02

its ready to go

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 14:59:43

i just took the docrio stuff out, and replaced the credes and links with the new ones. i figured that it looks like it could just plug and play from the original code we had

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 15:00:37

2040 can be merged? or are you talking about the file you sent me?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:00:47

2040 can be merged

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:00:59

but that last paragraph was about testing the sandbox

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 15:01:21

I have not looked yet

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:01:40

for sure no worries

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:01:48

i added esign final to bard

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:49:41
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 18:05:18

*Thread Reply:* • No username or password is needed (L23/L24) • headers on L55-L58 needs to be removed • L42 Content-Type: application/json can be removed • Remove logs variable (and L61) and replace json.dumps(...) on L62 with f'{intake_response} {intake_response.text}'

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:05:54

*Thread Reply:* really? so it won't need my creds to get it?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:06:01

*Thread Reply:*

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 11:22:52

*Thread Reply:* See the fourth point in my previous message

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:36:11

*Thread Reply:* postgres.update_lead_intake_response(intake['Lead ID']) f'{intake_response} {intake_response.text}')

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:37:07

*Thread Reply:* oh wait "and l61" ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 11:37:20

*Thread Reply:* with that change you can remove L61 and L44

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:37:53

*Thread Reply:* intake_response = <a href="http://requests.post">requests.post</a>(intake_url, headers=headers, json=data) postgres.update_lead_intake_response(intake['Lead ID'] f'{intake_response} {intake_response.text}'

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:39:45

*Thread Reply:* the bottom two lines suggest a "," is missing

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:40:03

*Thread Reply:* or at least thats what pycharm says

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 11:40:09

*Thread Reply:* its a )

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:40:42

*Thread Reply:* ah yes

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:40:44

*Thread Reply:* thank you for that

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 12:35:02

*Thread Reply:* The dicello error that just came through, seems to me like job still finished ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 12:37:34

*Thread Reply:* It failed to get a url to upload docs to. If you check the log table that lead will be missing a docs response

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 12:42:48

*Thread Reply:* nothing from today, i don't see a lead with docs missing on the logs

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 16:01:26

*Thread Reply:* still waiting on them to send ids for the next campaign

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 15:49:45

made some tweaks

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:15:51

how do we go about testing this with the dummy mapping. do we have to send an email to the dataprocessing mail box?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 16:17:07

yes, all testing will be done on a PR with the email from LR

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:17:53

ok so i do have to map the json they gave us, i was hoping just to send as is

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 16:18:24

save it as mapping.json after this test you will have to map it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:18:53

right it is currently as is

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:19:25

how do i trigger the the main.py without LR for this test , is what im asking

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 16:22:04

Not unless you want to fix the run_local.py tool which still requests a lead id and it to have triggered via lr at least once

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:23:04

ok, so i'll have to map the json then and create a test lead

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-16 16:23:10

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-06-16 16:23:15

for sure

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 10:42:07

Morning sir, to start testing the new , we will have to turn off bard powerport dl flatirons

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 10:42:53

Why, that is in prod right? the testing will not be in prod

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-17 10:43:27

Why not a campaign that is not flowing?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 10:43:52

because that's what they wanted. but i guess you are right, i should test something that isn't in prod

Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 10:44:29

I'll reach out for a different campaign

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-17 11:36:24

postgres.update_lead_intake_response(intake['Lead ID']) f'{intake_response} {intake_response.text}')

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:35:34

Good morning dustin. Nick Cirino is suggesting we use their test data

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:35:39
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:35:42
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:35:43

as the end point test

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 10:36:33

I though you were going to do that first?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:37:07

i asked you "how" we could do that

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:37:16

as we need something to trigger the email

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 10:37:49

We need a lead from a campaign after the PR is made to trigger it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:38:16

mind getting on a quick huddle with me?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 10:38:34

I might be getting confused

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 10:38:41

sure

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:01:38

L43 and L49-L51 will cause a problem unless removed

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:02:28

welp i trigger the lead. i'll delete them and send again

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:02:39

thank you for that

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:02:49

Didn't it go into the sandbox?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:03:38

Also nothing should have be add to their system, the code was set to do the auth then check for external id before sending intake which would always fail so then it would not send the intake

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:04:12

i mean delete those lines

🙃 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:05:00

lol. I'll send the test again

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:19:59

Do you want me to handle the test for Nick C?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:21:54

If it doesn't go through in the first time, it might be best

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:29:22

I will use the lead id from the email thread: 752699

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:29:29

I will use the lead id from the email thread: 752699

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:32:29

ok. looks like nothing happened. rip my test

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:36:13

mind showing me what changing you will make to the code?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:36:22

when you are done of course

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:37:50

is it perhaps because i save the file as "sandbox" and not the case type ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:50:33

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:52:53

well thats makes a bit more sense.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:53:21

well i can send another test by changing the file name, but if you are on it already i'll leave it be

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 11:53:44

You are good to work on that, I will work on the test for Nick C

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 11:53:53

ah different test got it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 12:48:29

looks like the error is calling from the main.py in the dicello file

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 12:48:41
Exception on / [POST]
Traceback (most recent call last):
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(****view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/execution_id.py", line 106, in wrapper
    return view_function(**args, ****kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/__init__.py", line 142, in view_func
    return function(request._get_current_object())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/layers/google.python.pip/pip/lib/python3.12/site-packages/functions_framework/__init__.py", line 121, in wrapper
    return func(**args, ****kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/main.py", line 137, in main
    importlib.import_module(f"{obj.log_row['case_type_id']}.main").main(obj, sl_case_type_id_c[case_type_id], sl_co_council_arrangement_id_c[case_type_id])
                                                                             ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 207
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 12:49:13

this code doesn't have a line 137

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 12:57:11

yeah so it is calling on the dicello main.py

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:03:37

Maybe i need to move the file?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:07:23

Was getting lunch, on mountain time.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:07:32

ah my bad

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:08:00

no worries just reach back out whenever you are free

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:09:30

the erro is that 2047 does not exist in the dl/main.py (slcasetypeid, slco_council), you can make them empty unless you create an error in the dl/2047/main.py the dl/main.py will still try to run

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:09:58

the erro is that 2047 does not exist in the dl/main.py (slcasetypeid, slco_council) unless you create an error in the dl/2047/main.py the dl/main.py will still try to run

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:10:14

the erro is that 2047 does not exist in the dl/main.py (slcasetypeid, slco_council), you can make them empty unless you create an error in the dl/2047/main.py the dl/main.py will still try to run

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:10:53

right i figured that it was the case. ok so i have to make the adjustment in there? i have the fields. should i add them?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:11:25

though we aren't doing much if anything with those fields in the sandbox test

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:12:43

add the 2 2047: '' to the dl/main.py at the bottom of the dl/2047/main.py replace return '' with raise ValueError replace the top of dl/2047/main.py to match the other case main pys for dl (L1-L13)

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:12:50

add the 2 2047: '' to the dl/main.py at the bottom of the dl/2047/main.py replace return '' with raise ValueError replace the top of dl/2047/main.py to match the other case main pys for dl (

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:12:54

add the 2 2047: '' to the dl/main.py at the bottom of the dl/2047/main.py replace return '' with raise ValueError replace the top of dl/2047/main.py to match the other case main pys for dl (L

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:13:02

add the 2 2047: '' to the dl/main.py at the bottom of the dl/2047/main.py replace return '' with raise ValueError replace the top of dl/2047/main.py to match the other case main pys for dl (L1-L13)

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 13:19:50

you still have duplicate header vars, should remove the one on L39-42

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 13:20:11

how the f... .

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:06:23

Newest error is above my paygrade lol

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:06:34

i'll definitely need your assistance for it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:36:28

it might be because of the directories.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:37:14

I added postgres: IntegrationPostgres = obj.postgres because of postgres.update_lead_intake_response(intake['Lead ID']) and it needed a directory to work

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:37:23

I might have added the wrong one

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:39:12

unless postgres.update_lead_intake_response(intake['Lead ID']) shouldn't be there at all

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:40:06

which i am leaning towards now

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 16:44:04

remove the common. from the import at the top. Check the function names in common/cloudpostgres.py IntegrationsPostgres, I believe the correct function call is postgres.update_response

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 16:48:26

yeah thats what it looks like

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:34:13

ran other test, postgres.update_response(intake['Lead ID']) still seem to be the location of the error. TypeError: IntegrationPostgres.update_response() missing 1 required positional argument: 'response'

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:34:35

update response takes the log['id'] and f'{intakeresponse} {intakeresponse.text}'

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:35:26

and we don't have log['id'] here do we

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:35:48

obj.log_row['id']

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:36:34

add it to the top ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:37:44

postgres.update(obj.log_row['id'], f'{intake_response} {intake_response.text}')

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:39:23

line 40?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:40:08

yes, just update the id and put the string in the parathesis

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:40:37

is it suppose to be lead id ? or what is in the id a stand in for

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:45:36

id is the column from the integration_log table

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:47:57

ok im then a little unclear on you instructions

intake_response = <a href="http://requests.post">requests.post</a>(intake_url, headers=headers, json=data) postgres.update(obj.log_row['id'], f'{intake_response} {intake_response.text}') f'{intake_response} {intake_response.text}'

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:48:25

remove the 3rd line

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:49:22

ah same, as the end of the second line

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-18 17:58:08

postgres.update_response not postgres.update

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:59:05

ugh... hopefully my adjustment gets implemented before the automation triggers

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 17:59:09

and my guess is not lol

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 18:00:34

yeah the next test is going to come back with an error

Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 18:00:50

so i'll send another test out and check it when i get home tonight

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 18:01:17

but progress

:progress_bar: Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-18 18:01:28

this time it started actually creating it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:37:40

Good morning sir, i believe we are at the basically there. the code now errors at the the end File "/workspace/main.py", line 139, in main importlib.import_module(f"{obj.log_row['case_type_id']}.main").main(obj, sl_case_type_id_c[case_type_id], sl_co_council_arrangement_id_c[case_type_id]) File "/workspace/2074/main.py", line 44, in main raise ValueError ValueError

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:38:14

time to remove or change the last line?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 10:51:14

Yes lets change the raise ValueError to return True and in the dl/main.py store the result of L135 in a variable then check if that variable is true and if it is run a copy of L165 & L166

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:54:47

do it at line 135 ?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:55:25

or under whatever is line 135

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 10:55:32

add variable for the result on L135 then directly after it the rest

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:55:54

right

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:57:42

``` casetypeid = intake["Lead Data"]["CaseTypeId"] check = importlib.importmodule(f"{obj.logrow['casetypeid']}.main").main(obj, slcasetypeidc[casetypeid], slcocouncilarrangementidc[casetype_id])

if check:
    <a href="http://logger.info">logger.info</a>('Finished')
    return ''```
👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 10:58:10

fingers crossed

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 11:33:17

no errors

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 11:34:20

I'm not sure where in the sandbox these will drop. i'm going to let them know

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 11:36:29

&lt;Response [500]&gt; {"timestamp":"2025-06-19 16:30:39","message":"Internal Error Occurred! Error mapping records: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, (Business Name) cannot have a blank last name.: []","matterId":null,"isSuccess":false,"accountId":null}

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 11:36:58

No code errors, does not mean no errors. Also check the DB log

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:32:50

where do you see that error ?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:32:53

i don't have that

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 12:34:02

In the db under that case type when sorted id or triggered at desc

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:35:57

well the business name is not empty

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:36:18
Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:36:31

nothing is actually

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:45:22

this might be something that they'd have to fix on their end then

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 12:45:48

Whats the payload.json?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:46:48

SELECT ** FROM `integrations-tip.gcp_integrations_postgres.lead_data_view` WHERE case_type_id = 2074 ORDER BY intake_processed_at DESC LIMIT 1000

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 12:47:02

im getting any empty query result

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 13:04:27

wrong db and table. in the lr-data db integrations.integrations_log

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:14:47

sorry im looking in lr-data i can't find it

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:14:57
Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:15:00

i have the intake json

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 13:15:05

Its not bigquery

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 13:15:24

payload.json = python tools/payload.py intake.json mapping.json

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:17:39
Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:18:00

i mean its all hard coded so it would be the same as the mapping

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 13:18:51

Maybe its because the 2nd role is missing a business name?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:19:55

hmm maybe?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:20:11

thats what they gave me,

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:20:13

i can add it

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:33:20

still gave the same reponse

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 13:34:07

Attach the error to the Jira ticket and ask for help

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 13:34:25

yeah that was the next step

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 15:34:04

Got a 200

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 15:34:19

had to add first and last name to both roles

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 15:34:24

as well as keep business names

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 16:26:08

one last step now that we know what a success looks like

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 16:27:09

after L40: matter_id = intake_response.json().get('matterId') postgres.update_external_id(obj.log_row['id'], matter_id)

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 16:42:40

adding the matter id to the data base?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-19 16:42:53

as the external id, yes

Daniel Schussler (dschussler@shield-legal.com)
2025-06-19 16:45:27

sounds good

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 10:44:45

Good morning. I am forwarding you an email from litify support.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 10:44:58

also we have confirmation that they have received our test from yesterday

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-20 10:46:28

Nick C sent me that email yesterday which is what I was going to test but I didn't get to it

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-20 10:46:49

With the new endpoint do we have to worry about it?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 10:54:12

I don’t know, but I got that email this morning so my guess is that they are still wanting it

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-20 10:57:24

Looks like that email was originally sent Wednesday but to darrell. Nick C forwarded it to me and you yesterday but did not include Akshay who then forwarded it today

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 11:15:19

Ok i'll ask then

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 11:45:54

looks like it is still a priority

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-20 11:50:05

Do you want to do it?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 11:55:03

i have to get making integrations.

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-20 11:55:24

Change it in the next DL integration?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 11:55:46

lets talk about it on the meeting

Daniel Schussler (dschussler@shield-legal.com)
2025-06-20 13:09:03

Nick and I are almost done

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 11:19:29

Maxwell Henricks, MD, Obstetrics/Gynecology | Ascension Columbia St. Mary's Hospital - Milwaukee Campus

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-23 13:18:33
Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:19:32

thank you

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:29:28

```<Response [403]> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> <head> <title>Attention Required! | Cloudflare</title> <meta charset="UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta name="robots" content="noindex, nofollow" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="stylesheet" id="cfstyles-css" href="/cdn-cgi/styles/cf.errors.css" /> <!--[if lt IE 9]><link rel="stylesheet" id='cfstyles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]--> <style>body{margin:0;padding:0}</style>

<!--[if gte IE 10]><!--> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script> <!--<![endif]-->

</head> <body> <div id="cf-wrapper"> <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enablecookies">Please enable cookies.</div> <div id="cf-error-details" class="cf-error-details-wrapper"> <div class="cf-wrapper cf-header cf-error-overview"> <h1 data-translate="blockheadline">Sorry, you have been blocked</h1> <h2 class="cf-subheadline"><span data-translate="unabletoaccess">You are unable to access</span> n8protect.com</h2> </div><!-- /.header -->

  &lt;div class="cf-section cf-highlight"&gt;
    &lt;div class="cf-wrapper"&gt;
      &lt;div class="cf-screenshot-container cf-screenshot-full"&gt;

          &lt;span class="cf-no-screenshot error"&gt;&lt;/span&gt;

      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;&lt;!-- /.captcha-container --&gt;

  &lt;div class="cf-section cf-wrapper"&gt;
    &lt;div class="cf-columns two"&gt;
      &lt;div class="cf-column"&gt;
        &lt;h2 data-translate="blocked_why_headline"&gt;Why have I been blocked?&lt;/h2&gt;

        &lt;p data-translate="blocked_why_detail"&gt;This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.&lt;/p&gt;
      &lt;/div&gt;

      &lt;div class="cf-column"&gt;
        &lt;h2 data-translate="blocked_resolve_headline"&gt;What can I do to resolve this?&lt;/h2&gt;

        &lt;p data-translate="blocked_resolve_detail"&gt;You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;&lt;!-- /.section --&gt;

  &lt;div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300"&gt;
&lt;p class="text-13"&gt;
  &lt;span class="cf-footer-item sm:block sm:mb-1"&gt;Cloudflare Ray ID: &lt;strong class="font-semibold"&gt;94ea90649b8b99b8&lt;/strong&gt;&lt;/span&gt;
  &lt;span class="cf-footer-separator sm:hidden"&gt;&amp;bull;&lt;/span&gt;
  &lt;span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1"&gt;
    Your IP:
    &lt;button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn"&gt;Click to reveal&lt;/button&gt;
    &lt;span class="hidden" id="cf-footer-ip"&gt;2600:1900:0:4b01::201&lt;/span&gt;
    &lt;span class="cf-footer-separator sm:hidden"&gt;&amp;bull;&lt;/span&gt;
  &lt;/span&gt;
  &lt;span class="cf-footer-item sm:block sm:mb-1"&gt;&lt;span&gt;Performance &amp; security by&lt;/span&gt; &lt;a rel="noopener noreferrer" href="<https://www.cloudflare.com/5xx-error-landing>" id="brand_link" target="_blank"&gt;Cloudflare&lt;/a&gt;&lt;/span&gt;

&lt;/p&gt;
&lt;script&gt;(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&amp;&amp;"classList"in b&amp;&amp;(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&amp;&amp;a.addEventListener("DOMContentLoaded",d)})();&lt;/script&gt;

</div><!-- /.error-footer -->

&lt;/div&gt;&lt;!-- /#cf-error-details --&gt;

</div><!-- /#cf-wrapper -->

<script> window.cftranslation = {};

</script> </body> </html>```

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:29:37

looks like a its some sort of document issue

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-23 13:30:01

when was this?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:30:25

they had three apparently

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:30:50

2025-06-14 01:30:13.802550 2025-06-12 16:00:52.898222 2025-06-11 02:30:24.398419

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-23 13:41:29

case type id?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:44:24

Umm those are AFFF thyroid only …. Maybe 1957?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 13:44:33

Ill check when i get back

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 15:03:40

yeah 1957

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-23 15:07:47

try re-triggering the 3 missing case works

Daniel Schussler (dschussler@shield-legal.com)
2025-06-23 15:11:03

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 11:26:03

The SGGH with blank 200 should be fine

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 11:29:30

hmm i wonder if was just a bug

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 11:30:01

No, the SGGH is us testing with the echo_function so as to not create dups in their system

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 11:30:21

ok but there are also sggh, dicello...etc

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 11:30:53

use this filter in the where box destination &lt;&gt; 'SGGH' and status &lt;&gt; 'API TEST'

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 11:31:10

nvm i know what the issue was

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 11:31:28

the log had the leads sorted by external id ...

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 11:31:32

by default lol.. smh

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 11:31:45

should always sort by triggered_at desc

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 11:31:50

should always sort by triggered_at desc

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 12:01:57

&lt;Response [500]&gt; {"timestamp":"2025-06-26 17:00:19","message":"Internal Error Occurred! Invalid format: \"\" at [line:1, column:29578]","matterId":null,"isSuccess":false,"accountId":null}

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:05:02

753859

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 13:06:12

You need the intake.json file from https://console.cloud.google.com/storage/browser/shield-legal-638/644959/intake

accounts.google.com
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 13:06:19

then run tools/payload.py

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 13:06:25

to generate the payload.json

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:14:04

yeah, thats why i said i stupid lol. though (.venv) PS C:\Users\Daniel\git_code\gcp-integrations&gt; python tools/dump_lr_questions.py 638 Unclosed client session client_session: &lt;aiohttp.client.ClientSession object at 0x0000024DE769A750&gt; Unclosed connector connections: ['deque([(&lt;aiohttp.client_proto.ResponseHandler object at 0x0000024DE7771CD0&gt;, 9241.375), (&lt;aiohttp.client_proto.ResponseHandler object at 0x0000024DE7771BB0&gt;, 9241.39)])'] connector: &lt;aiohttp.connector.TCPConnector object at 0x0000024DE75260C0&gt; (.venv) PS C:\Users\Daniel\git_code\gcp-integrations&gt; python tools/payload.py tools/intake.json firm_DiCello_Levitt/638/mapping.json Waiting up to 5 seconds. Sent all pending logs.

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:14:12

something seems to be off with my terminal

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:14:33

won't generate the files. would a fetch fix this?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 13:27:25

those are logs, there are no issues there. You should have a payload.json file in the root of the project now

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:30:15

.. i'm off my game today

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 13:30:16

clearly

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 13:58:19

which is correct for these caseworks integrations?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:05:26
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 14:06:00

is everything supposed to be commented out?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:07:06

yeah

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:07:12

its just not green, weird lol

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 14:07:28

dont worry about unless you want to restart pycharm

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:07:36

i figured,

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:07:44

what about this caseworks thing? what is that?

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 14:08:18

a diff between 2 campaigns, which question is correct? c-4790 or 91

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:10:39

on 1810, both of those fields point at a date of death question

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:11:07

i guess i would lead toward 4790 to be the better option

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 14:11:12

because its not a default

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 14:12:27

The other diff between the campaigns is attached. do you remember why?

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 16:28:17

https://console.cloud.google.com/run/detail/us-west4/test-firm-dicello-levitt/logs?inv=1&invt=Ab1KTg&project=integrations-tip

accounts.google.com
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-26 16:49:12

I restarted the main func and now its working. Just re-trigger those that got the error

Daniel Schussler (dschussler@shield-legal.com)
2025-06-26 16:59:42

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-27 12:12:42

the csv from the dumplrquestions.py

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-06-27 12:12:50

the csv from the dumplrquestions.py

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-27 16:05:50

commits added. pull your branch and the tools (dumplrquestions & run_local) will be updated

Daniel Schussler (dschussler@shield-legal.com)
2025-06-27 16:06:01

thanks

Daniel Schussler (dschussler@shield-legal.com)
2025-06-27 16:07:38

i dont think it worked ... though that might be because i updated the branch right before you did lol

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-27 16:08:14

I ran into that but made it work for my side at least

Dustin Surwill (dsurwill@shield-legal.com)
2025-06-27 16:08:28

I can help after this meeting

Daniel Schussler (dschussler@shield-legal.com)
2025-06-27 16:08:38

all good man, yeah we wil figure it out later

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-01 11:01:52

With your dl changes, why not do something like if r.get('dob'): r['dob'] = datetime...

Daniel Schussler (dschussler@shield-legal.com)
2025-07-01 12:11:07

sure thats probably better

Daniel Schussler (dschussler@shield-legal.com)
2025-07-01 12:13:18

for r in data["roles"]: if r.get('dob'): r["dob"] = datetime.strptime(r["dob"], "%m-%d-%Y").strftime('%Y-%m-%d')

Daniel Schussler (dschussler@shield-legal.com)
2025-07-01 12:13:47

this should make adjustments to all the dates if a role has it ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-01 12:13:51

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-07-02 16:28:07

"mailingStreet": "c-25852 ; c-25852",

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-02 16:28:37

if ';' in value: # Allows having multiple values in a single field. return '; '.join([_handle_extra_logic(v, intake) for v in value.split(';')]).strip('; ')

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-02 16:30:00

"mailingStreet": "c-25852 ; c-25852", will turn into "mailingStreet": "Addr1 ; Addr2",

Daniel Schussler (dschussler@shield-legal.com)
2025-07-02 17:05:26

for question in data["questionAnswers"]: if question["questionId"] == "a0PVT00000QV5VL2A1": if question["answer"] == "Yes": for role in data["roles"]: if role["roleCategory"] == "Child - MINOR": role["roleCategory"] = "Decedent"

Daniel Schussler (dschussler@shield-legal.com)
2025-07-02 17:05:59

for question in data["questionAnswers"]: if question["questionId"] == "a0PVT00000QV5VL2A1": if question["answer"] == "Yes": for role in data["roles"]: if role["roleCategory"] == "Child - MINOR": role["roleCategory"] = "Decedent"

Daniel Schussler (dschussler@shield-legal.com)
2025-07-03 17:05:45

&lt;Response [500]&gt; {"timestamp":"2025-07-03 22:00:51","message":"Internal Error Occurred! Error mapping records: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [SKCH_Parent_Matter__c]: [SKCH_Parent_Matter__c]","matterId":null,"isSuccess":false,"accountId":null}

Daniel Schussler (dschussler@shield-legal.com)
2025-07-08 11:38:53

for role in data["roles"]: if role["roleCategory"] == "Plaintiff": plaintiff_dob = role["dob"] for role in data["roles"]: if role["roleCategory"] == "CHILD - MINOR": minor_dob = role["dob"] if plaintiff_dob == minor_dob: for role in data["roles"]: if role["roleCategory"] == "CHILD - MINOR": role["roleCategory"] = "Plaintiff"

Daniel Schussler (dschussler@shield-legal.com)
2025-07-09 13:36:42

784159

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-10 13:09:58

Whats the status of KY Organ Donor Investigation Lawsuit - DL - DL - Shield Legal?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-10 13:21:12

we stopped it because they wanted to test on paraquat instead.

Daniel Schussler (dschussler@shield-legal.com)
2025-07-10 13:21:26

it was the campaign we were testing for the new endpoint.

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-10 13:21:40

Then move it out of In Progress and add an update

Daniel Schussler (dschussler@shield-legal.com)
2025-07-10 13:21:51

ok

Daniel Schussler (dschussler@shield-legal.com)
2025-07-10 13:25:56

I saw the slack ping and I was hoping it was Sunnie and the letting me know the questions are ready to go lol

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 11:11:20

760020

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 12:23:35

Make AFFF-PFAS Military Base Exposure - DL - Flatirons - Shield Legal a priority

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:23:51

that'll be the next one i work on

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:24:02

I will have to create a jira ticket.. i hope they realize that

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 12:24:35

there are 291 that they do not have (what Abe was just talking about) that need to sent ASAP

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:24:50

understood. we will see how bad he wants them

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:30:02

jira ticket created

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 12:30:14

Did you mark it urgent?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:30:33

Priority is "highest"

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:32:20

btw i noticed that the "mailingStreet": "c-25852 ; c-25853",

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:32:23

mapping doesn't work

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:32:33

they are getting it as a string rather than a field

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 12:32:57

its the extra spaces around ;

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 12:37:00

got it

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:09:24

this way is better ?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:09:27

"mailingStreet": "c-25852;c-25853",

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 13:09:38

yes, that should work

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:09:41

"mailingStreet": "c-25852;c-25853",

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:09:44

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 13:09:47

you can test it by generating a payload

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:09:54

of course

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:18:04

heads up... it doesn't look like we ask for the signer's phone number here. I think there was a typo because the normal custom field is there but the field is called "Injured Party's Primary Phone Number:"

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 13:20:49

*Thread Reply:* Is there 2 Injured Party Phone Numbers? Or is it in the signer info section in LR?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:18:18

also did you want to bring up the dicello thing where they asked us to turn them all off

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 13:18:23

and then turn them back on ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 13:18:35

Not at this time

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:36:05

I am just realizing now I never flipped the campaign to “test”

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:36:52

I am fixing a bug. You forgot to add the case_type to the list in dl/main.py. I made it so you dont have to anymore

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:37:03

what do you mean by flip to test?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:37:08

Not true I did that

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:37:19

I’m pretty sure I did

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:37:32

For the firm dicello url

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:37:42

On the api table

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:38:10

it is automatically test when a new campaign

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:39:04

also I am seeing more DL leads with random chars

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:39:38

Hmm? Random Chars?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:42:33
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:42:56

It might be something we can fix fro the GCP side, but we will have to look into it

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:45:55

Oh for the docs

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:46:34

I never checked to see if the lead we sent over after changing the name worked

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:46:50

It did. I looked

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 14:50:15

The test for AFFF PFAS was successful after I fixed the bug. I will let @Joe Santana know. You need to ask them to review it when you get back from lunch, if the ask is over email make sure me and @Joe Santana are on it.

🙌:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:50:55

Great I got to change the name back then.

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:50:58

Oh perfect

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:51:13

Sounds good

Daniel Schussler (dschussler@shield-legal.com)
2025-07-11 14:51:26

I will send an email

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-11 16:12:26

go ahead, 100 every 30 minutes

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-12 22:08:37

Did we remove DL's email from the campaign automation we completed friday?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-14 11:26:29

def clean_and_pad(input_str): cleaned = input_str.replace('-', '').replace('_', '') padded = cleaned.zfill(9) return padded

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 12:02:24

for role in data["roles"]: if role["roleDescription"] == "Signer": plaintiff_first = role["firstName"] plaintiff_last = role["lastName"] if not intake["c-25843"]: full_name = intake["c-25843"].strip() parts = full_name.split(" ", 1) # Split on the first space only role["firstName"] = parts[0] role["lastName"] = parts[1]

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 12:02:28

i added it into here

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 12:39:44

``` data["account"]["mailingStreet"] = intake["c-25852"] + intake["c-25853"] data["account"]["ssn"] = format_ssn(data["account"]["ssn"]) <<<<<<< AFFF-PFAS-Military-Base-Exposure-DL-Flatirons-1926-Part4

======= >>>>>>> main

for role in data["roles"]:
    if role["roleDescription"] == "Signer":
        if not intake["c-25843"]:
            full_name = intake["c-25843"].strip()
            parts = full_name.split(" ", 1)  # Split on the first space only
            role["firstName"] = parts[0]
            role["lastName"] = parts[1]
        plaintiff_first = role["firstName"]
        plaintiff_last = role["lastName"]
    if role["roleCategory"] == "Client":
        client_first = role["firstName"]
        client_last = role["lastName"]```
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-15 13:07:37

not L109, L111 instead

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 13:11:26

got it

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 15:38:53

File "/workspace/main.py", line 137, in main check = importlib.import_module(f"{obj.log_row['case_type_id']}.main").main(obj, sl_case_type_id_c.get(case_type_id, ''), sl_co_council_arrangement_id_c.get(case_type_id, '')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/1926/main.py", line 134, in main data["account"]["ssn"] = format_ssn(data["account"]["ssn"]) ~~~~~~~~~~~~~~~^^^^^^^ KeyError: 'ssn'"

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-15 15:45:20

I pushed a change that fixes that error

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 17:37:47

```import csv import json

def buildquestionnairedatafromcsv(csvfile, outputfile="mapping.json"): result = [] with open(csv_file, newline='') as file: reader = csv.DictReader(file) for row in reader: result.append({ "questionId": row["questionId"], "questionnaireId": row["questionnaireId"], "answer": row["answer"], "answerType": "STRING" })```

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 17:40:35

```import csv import json

def buildquestionnairedatafromcsv(csvfile, outputfile="mapping.json"): result = [] with open(csv_file, newline='') as file: reader = csv.DictReader(file) for row in reader: result.append({ "questionId": row["questionId"], "questionnaireId": row["questionnaireId"], "answer": row["answer"], "answerType": "STRING" }) return result```

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 17:41:01

```import csv import json

def buildquestionnairedatafromcsv(csvfile, outputfile="mapping.json"): result = [] with open(csv_file, newline='') as file: reader = csv.DictReader(file) for row in reader: result.append({ "questionId": row["questionId"], "questionnaireId": row["questionnaireId"], "answer": row["answer"], "answerType": "STRING" })```

Daniel Schussler (dschussler@shield-legal.com)
2025-07-15 18:04:11

def format_ssn(input_str): cleaned = input_str.replace('-', '').replace('_', '') padded = cleaned.zfill(9) padded = f"{padded[:3]}_{padded[3:5]}-{padded[5:]}" return padded

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 11:21:16
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 11:23:38
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 13:40:50

```import csv import json

def buildquestionnairedatafromcsv(csvfile, outputfile="mapping.json"): question_answers = []

# Read data from CSV
with open(csv_file, newline='') as file:
    reader = csv.DictReader(file)
    for row in reader:
        question_answers.append({
            "questionId": row["questionId"],
            "questionnaireId": row["questionnaireId"],
            "answer": row["answer"],
            "answerType": "STRING"
        })

# Build final structure
final_data = {
    {
        "matter":
            {
                "caseTypeId": "",
                "recordTypeId": "012VT0000008PR3YAM",
                "practiceArea": "Mass Torts",
                "externalId": "Lead ID",
                "parentMatterId": "",
                "feeArrangementId": "Lead Data/CaseTypeId"
            },
        "account":
            {
                "firstName": "",
                "lastName": "",
                "email": "",
                "dob": "",
                "phone": "",
                "ssn": "",
                "mailingCity": "",
                "mailingState": "",
                "mailingPostal": "",
                "mailingStreet": "",
                "type": "Client",
                "recordTypeId": "012Dn000001Tom7IAC",
                "sl_case_type_id_c": "Lead Data/CaseTypeId",
                "externalId": "Lead ID"
            },
        "questionAnswers":
            [
                question_answers
            ]
        "roles": [
            {
                "roleCategory": "Plaintiff",
                "roleDescription": "Signer",
                "businessName": "",
                "firstName": "",
                "lastName": "",
                "email": "",
                "dob": "",
                "phone": "",
                "ssn": "",
                "mailingStreet": "",
                "mailingCity": "",
                "mailingState": "",
                "mailingPostal": "",
                "recordTypeId": "012Dn000001Tom7IAC",
                "externalId": "Lead ID"
            },
            {
                "roleCategory": "",
                "roleDescription": "",
                "businessName": "",
                "firstName": "",
                "lastName": "",
                "email": "",
                "dob": "",
                "phone": "",
                "ssn": "",
                "mailingCity": "",
                "mailingState": "",
                "mailingPostal": "",
                "recordTypeId": "012Dn000001Tom8IAC",
                "externalId": "Lead ID"
            }
        ]
    }
}

# Write to JSON file
with open(output_file, "w") as json_file:
    json.dump(final_data, json_file, indent=2)```
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 14:09:22

here are the changes. You can apply it to your file or just open in pycharm / vscode to see the changes

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 14:25:15

When you come back, send one of the AFFF-PFAS that has a problem. I already set the case type in api_triggers to the test function (which should be my PR with the endpoint refactor)

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:03:19

did you send in a test ? we just had one ail ?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:03:46

no looks like this just got signed

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:04:17

Did it process correctly?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:04:22

nope error

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:04:48

hold up ill send it to you

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:05:30

File "/workspace/main.py", line 60, in main new_endpoint(obj) File "/workspace/new_endpoint.py", line 22, in new_endpoint importlib.import_module(f"{obj.log_row['case_type_id']}.main").main(obj) File "/workspace/1926/main.py", line 6, in main fix_signer_name(obj, "c-8736") File "/workspace/new_endpoint.py", line 91, in fix_signer_name if role_map['Client']['firstName'].lower().strip() == role_map['Signer']['firstName'].lower().strip() and role_map['Client']['lastName'].lower().strip() == role_map['Signer']['lastName'].lower().strip(): ~~~~~~~~^^^^^^^^^^ KeyError: 'Client'

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:05:47

looks like an issue in one of the loops

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:07:21

Change Client to InjuredParty. Should match roleDescription in the mapping

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:08:25

ok

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:08:53

in all parts?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:09:06

of that instance

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:09:39

In the function in new_endpoint.py that the error happened in L91

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:09:46

yeah

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:09:54

if role_map['Client']['firstName'].lower().strip() == role_map['Signer']['firstName'].lower().strip() and role_map['Client']['lastName'].lower().strip() == role_map['Signer']['lastName'].lower().strip(): data['roles'].remove(role_map['Client'])

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:10:00

line 91 and 92

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:10:05

Yes

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:10:45

if role_map['InjuredParty']['firstName'].lower().strip() == role_map['Signer']['firstName'].lower().strip() and role_map['InjuredParty']['lastName'].lower().strip() == role_map['Signer']['lastName'].lower().strip(): data['roles'].remove(role_map['InjuredParty'])

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:10:52

Yes

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:10:55

sounds good

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 15:17:34

sent test

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 15:32:07

I know what the latest problem is. I will be back in about 10 minutes

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 16:59:30
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 17:08:21

796446

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 18:27:26

Organ donor might have a decedent check

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 18:59:15

*Thread Reply:* I do not see it in the old main.py

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 18:27:46

The other two will need emergency contact name parade

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 18:27:50

Parsed

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:01:29

All 3 have emergency contact fields...

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:14:45

I should show you how to set pycharm to use 4 spaces for json

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:14:47

I was going off of what conflunce said

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:15:01

4 spaces ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:15:23

I added the emergency contact fields and a function to split full name to first & last for any role description

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:15:27

the formatting

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:15:28

Ok

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:15:38

Did I not reformat the code ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:16:13

I think your pycharm is set to 2 spaces for json files not 4 like mine is (4 is also more readable and matches python)

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:16:39

I am starting the payload testing for those 3 campaigns

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:23:09

Ok . Hmm I did have to reformat I noticed it was a bit wide after creating the map.

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:23:20

Maybe I’ll have to make the adjustment in the builder code

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:23:24

thats 4 spaces

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:23:41
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:24:11

Do you know who this Tony dude is from dicello?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:24:17

no

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:24:37

Wow 4 test leads

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:25:06

and 2 are signed but none are filled out properly

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:25:23

can you fill one out properly?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:25:27

can you fill one out properly?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:26:00

Are there really 0 signed leads?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:26:11

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:26:16

I can, but i won’t be home until 9:30 ish

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:26:21

If It can wait until then

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:26:28

If It can wait until then

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:26:56

yes, we will test the 2 others and mention the missing questionids. I may look for a 3rd case type...

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:26:57

I can fill one out and then send a test

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:27:02

Ok

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:27:20

Santa Clara was almost done, did I push any of that?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:28:08

I do not see it

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 19:28:18
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:28:51

Of course not, I must have bailed because of the afff

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:29:34

You could test paraquat 13

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:29:43

I think it’s the same as 12

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 19:29:49

Same questions , map

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 20:12:55

When we sent them the questions, did we send all the tabs? And was it the JSON or CSV files from dumplrquestions?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 20:44:51

Csv

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 20:45:06

I think we sent them everything

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 20:45:56

Though they was never a map for s1 and that junk

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 20:46:24

They have always been in the lr_questions files

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-16 20:47:08

I will send them a list of campaigns that are missing questionids and their respective CSVs

Daniel Schussler (dschussler@shield-legal.com)
2025-07-16 21:35:59

I was going to do that tomorrow morning . Let me know if you decide not to

Daniel Schussler (dschussler@shield-legal.com)
2025-07-17 11:19:25

joe said 3 a day

Daniel Schussler (dschussler@shield-legal.com)
2025-07-17 11:19:30

if you need ot push bck

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-17 14:08:42

I have pushed a fix for the error email

Daniel Schussler (dschussler@shield-legal.com)
2025-07-17 14:33:07

Ok I test both St. George and Nec, only one errored right ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-17 14:33:35

I didnt look

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-17 18:05:47

1799 - nec - should be good to go after removal of mothers middle name field (test needs to be removed and test needs to be removed from apitriggers address) 1805 - st george - test came back good to go (test needs to be removed and test needs to be removed from apitriggers address) 1915 - chowchilla - should be ready for testing. test api needs to be flipped 1949 - paraquat - should be good to go but missing casetype/parent matter ids.

also File "/workspace/main.py", line 61, in main new_endpoint(obj) File "/workspace/new_endpoint.py", line 36, in new_endpoint importlib.import_module(f"{obj.log_row['case_type_id']}.main").main(obj) File "/workspace/1949/main.py", line 9, in main update_mailing_street_name(obj, "InjuredParty", "8", "9") File "/workspace/new_endpoint.py", line 178, in update_mailing_street_name role = find_role_from_description(obj, role_description) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/new_endpoint.py", line 112, in find_role_from_description raise ValueError(f"Role {role_description} not found in roles") ValueError: Role InjuredParty not found in roles" this still needs to be resolved i just removed the injured party functions from the main.py

Daniel Schussler (dschussler@shield-legal.com)
2025-07-17 18:10:32

The addition of the function can be implemented again but removed it so we don’t get that error

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 01:12:38

started working on the chowchilla mapping, i'll finish it up and main py tomorrow morning

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 11:33:40

797053

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 11:56:01

2074 - 773585 638 - 440234 1949 - 721228

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:35:27

they didn't mention anything about reviewing our tests so far right ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 12:35:57

we only mentioned it, we have not sent the ids yet

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:51:50

charls horn is a san bernardino

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 12:52:12

not one of the tests. that was a final

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:52:18

yeah i know

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:52:21

i have the lead open

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:52:28

but chris said hes a paraquat

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 12:52:28

but if he approves then we can backfill

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:54:21

oh... well if thats the case, i'll need to double check the san bernardino case type id

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:54:37

because it came in, according to him, as paraquat

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:56:44

code is fine according to the spread sheet

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 12:56:53

so it might be an error on their end if you want to bring it up

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 13:43:46

sent the emergency contact updates

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 14:39:22

resend the leads that failed the earlier testing when you get back

Daniel Schussler (dschussler@shield-legal.com)
2025-07-18 15:15:17

for the contact issue, that will be 600, 603, 1915, 1805

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 16:50:40

which of these were you? 373279 777419 744431 800664 801638 745826 797053

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-18 18:22:39

re-trigger 724554 750633 799792 796124 787039

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-21 11:05:59

did you remove test and send the following to the firm? 2001 - 801056 1998 - 714613 1977 - 802221 1806 - 802905

Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:07:30

2044 and 1987 have been sent to them

Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:08:45

im looking into errors from 1806 and 2001 right now

Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:08:52

1806 i think is ready to send to richard

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:10:12

1977 umm... give me a sec

Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:11:49

i sent a test , had some fields that weren't c- i'll send again for richard to confirm

Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 11:14:52

richard approved of 1806 so i'll send that to them

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-21 15:04:35

yeah 2001 was missing a case type and parent matter, i added it

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 12:12:38

might need to make more changes, more functions. this questionnaire is horrible

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 12:13:11

or well...

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 12:13:15

just leave it as it

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 12:13:24

its an old integration

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 12:13:29

campaign**

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-22 12:13:41

write the code as needed, ask for assistance as needed. I can review when you generate the test

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-22 13:22:23

next one you, show @Richard Schnitzler so he can start helping. both mapping & main.py

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 13:27:45

you told/asked richard already so he doesn't think im ambushing him

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-22 13:28:33

yes, after i sent you the message he want to take a crack at 1, so he is working on 2046

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 18:11:41

it errored i'll have to check tonight

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 18:12:00

File "/workspace/main.py", line 61, in main new_endpoint(obj) File "/workspace/new_endpoint.py", line 68, in new_endpoint remove_empty_roles(obj) File "/workspace/new_endpoint.py", line 186, in remove_empty_roles role['ssn'] = format_ssn(role['ssn']) ~~~~^^^^^^^ KeyError: 'ssn'

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-22 18:21:26

The roles in 1941 mapping are missing a bunch of the standard fields: businessName email phone ssn

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-22 18:21:39

they need to exist even when blank

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 18:50:01

Ok

Daniel Schussler (dschussler@shield-legal.com)
2025-07-22 18:50:15

When I get home I’ll fix that and send another test

Daniel Schussler (dschussler@shield-legal.com)
2025-07-23 12:54:42

Trinity Private School Abuse - DL - Flatirons - Shield Legal 2009 next for me

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-23 12:54:55

wrong chat?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-23 12:55:06

i mean it can be lol

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:42:20

File "/workspace/main.py", line 61, in main new_endpoint(obj) File "/workspace/new_endpoint.py", line 51, in new_endpoint <a href="http://logger.info">logger.info</a>(f"[{data['Lead ID']} / {data['Lead Data']['CaseTypeId']}] deleted questions: {len(del_questions)}") ~~~~^^^^^^^^^^^ KeyError: 'Lead ID'

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:42:36

looks like that lead id issue is happening

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 12:42:38

already fixed

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:42:40

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 12:42:58

the push with the fix was just pushed a couple of minutes ago

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 12:43:02

it was my mistake

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:43:10

"fix better logging" im assuming

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 12:43:21

correct

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:43:45

figure

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 12:49:02

you see my comment about the missing questionnaire

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 13:05:32

yes, and responded

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 13:09:19

ah was it in a tread? my bad

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 15:29:59

this is the same lead we looked at ?

🤷‍♂️ Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 16:43:15

Carter came in asking about Abe's most recent email

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 16:43:33

asking why we aren't finish baby formula's backfill before jumping to the next one

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 16:43:48

asking why we aren't finish baby formula's backfill before jumping to the next one

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 16:48:38

Did you give him an answer? Or I can stop by when I get back

Daniel Schussler (dschussler@shield-legal.com)
2025-07-24 16:51:21

he wanted someone to answer abe, be it him or you

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-24 16:57:01

I will talk to him when get back

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-28 17:52:14

retrigger 708489

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:03:03

603 errors fixed

👍 Dustin Surwill
Dustin Surwill (dsurwill@shield-legal.com)
2025-07-29 11:13:16

This is because we assumed a clone?

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:16:05

yeah i think thats the case

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:16:11

i've made the fix

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:16:16

my god man...

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:18:53

you want me to resend the san bernardino test

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-29 11:20:05

MD Juv Hall Abuse - DL - Flatirons - Shield Legal - 1675 806462 Porterville Developmental Center Abuse - DL - Flatirons - Shield Legal - 2041 807826 St Paul School Sex Abuse - Dicello - Flatirons - Shield Legal - 1804 808894 New Hampshire YDC Abuse - DL - Flatirons - Shield Legal - 1791 748367 LA Wildfires Flyer - DL - Flatirons - Shield Legal - 1995 733196 Illinois Juv Hall Abuse TV - DL/BG - Flatirons - Shield Legal - 1717 809062

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:20:25

re-trigger all of these and san bernardino?

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-29 11:24:31

yes

Daniel Schussler (dschussler@shield-legal.com)
2025-07-29 11:31:18

done

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-30 16:23:10

1995 - Remove L8 2009 - Remove L8 2015 - Remove L8 2044 - Remove L10 293 - Remove L20 303 - Remove L9 518 - Remove L16 599 - Remove L8 606 - Remove L9 2016 - Remove L8 2040 - Remove L8 2045 - Remove L12 2046 - Remove L8 2064 - Remove L8 2072 - Remove L11 2074 - Remove L15

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-07-30 16:23:27

on it

Daniel Schussler (dschussler@shield-legal.com)
2025-07-31 16:19:47

```def checkphone(obj: IntegrationMappingObject): data = obj.mapping intake = obj.lrfields roles = data["roles"]

re_number = re.compile(r"[^\d]")

if data['account']["phone"].strip() and len(re_number.sub('', data['account']["phone"].strip())) &gt; 10:
    raise ValueError(f'[{intake['Lead ID']} / {intake['Lead Data']['CaseTypeId']}] Phone number invalid')
elif data['account']["phone"].strip() and len(re_number.sub('', data['account']["phone"].strip())) &lt; 10:
    data['account']["phone"] = ""
for role in roles:
    if role["phone"].strip() and len(re_number.sub('', role["phone"].strip())) &gt; 10:
        raise ValueError(f'[{intake['Lead ID']} / {intake['Lead Data']['CaseTypeId']}] Phone number invalid')
    elif role["phone"].strip() and len(re_number.sub('', role["phone"].strip())) &lt; 10:
        role["phone"] = ""```
Daniel Schussler (dschussler@shield-legal.com)
2025-07-31 16:19:54

the updated code

Daniel Schussler (dschussler@shield-legal.com)
2025-07-31 18:01:14

unfortunately did not resolve the issue, still does not see the injured party role

Dustin Surwill (dsurwill@shield-legal.com)
2025-07-31 18:28:25

what was the lead _id?

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-01 13:57:57

SELECT id, contact_id, lead_id, case_type_id, triggered_at, destination, external_id, processed_at, response, document_response, status FROM integrations.integration_log il WHERE external_id IS NOT NULL AND response ~~ '%[20%'::text AND NOT destination_disabled AND (EXISTS(SELECT 1 FROM integrations.integration_log il2 WHERE il2.lead_id = il.lead_id AND il2.destination = il.destination AND (il2.processed_at BETWEEN il.processed_at + interval '1 minute' AND il.processed_at + interval '1 hour') AND il2.external_id IS NOT NULL AND il2.response ~~ '%[20%'::text)) AND document_response NOT ILIKE '%test-%' AND document_response NOT ILIKE '%tester-%' AND document_response NOT ILIKE '%mock-%' AND document_response NOT ILIKE '%-test%' AND document_response NOT ILIKE '%-mock%' ORDER BY triggered_at DESC;

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-01 14:00:29

640 1643 1879

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-04 11:02:59

From Call Center: > 2 new RUSH campaigns to set up: > > DL Flatirons > > Riverside JDC > CAP of 35 > > Sacramento JDC > CAP of 35

Daniel Schussler (dschussler@shield-legal.com)
2025-08-04 11:05:04

any confirmation on whether or not they are getting integrations? if not I'll post a jira ticket and ask

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-04 11:05:33

We can ask @Malissa but I would assume so

Daniel Schussler (dschussler@shield-legal.com)
2025-08-04 11:08:58

ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-04 18:08:58

Abe & Nic C say make sure the data is good and less rushing. Means we wait for their IDs and do not send emails.

Daniel Schussler (dschussler@shield-legal.com)
2025-08-04 21:16:17

Ok

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-05 11:10:03

In the future lets only send the general case questions & maybe form fields tabs and filter out the labels (column G = Single Line Text (Formatting Only))

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-05 13:18:14

Please review https://github.com/shield-legal/gcp-integrations/pull/243

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-06 18:11:32

Lets not include the new upload docs endpoint in this test for 1686

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 10:35:39

ok Then i'll wait till you get in. for you to merge the 1686 branch for me to send the lead

Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 12:28:24

[["569794-Jonathan Tovar-Intake.csv", "&lt;Response [403]&gt;", "{\"Message\":[{\"message\":\"This session could not be mutually authenticated for use with the REST API\",\"errorCode\":\"MUTUAL_AUTHENTICATION_FAILED\"}]}"], ["569794-Jonathan Tovar-IntakeForm.pdf", "&lt;Response [403]&gt;", "{\"Message\":[{\"message\":\"This session could not be mutually authenticated for use with the REST API\",\"errorCode\":\"MUTUAL_AUTHENTICATION_FAILED\"}]}"], ["Jonathan-569794-SignedContract-FullySigned.pdf", "&lt;Response [403]&gt;", "{\"Message\":[{\"message\":\"This session could not be mutually authenticated for use with the REST API\",\"errorCode\":\"MUTUAL_AUTHENTICATION_FAILED\"}]}"], ["Jonathan-569794-SignedContract.pdf", "&lt;Response [403]&gt;", "{\"Message\":[{\"message\":\"This session could not be mutually authenticated for use with the REST API\",\"errorCode\":\"MUTUAL_AUTHENTICATION_FAILED\"}]}"]]

Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 12:28:32

The docs had a 403 error

Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 12:29:22

and I just confirmed that i did flip back to the original upload docs function and test is still on the api url

Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 12:31:15

File "/workspace/new_endpoint.py", line 430, in upload_docs doc = [response for response in signed_responses if filename in response][0][filename] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range

Daniel Schussler (dschussler@shield-legal.com)
2025-08-07 12:32:04

File "/workspace/new_endpoint.py", line 430, in upload_docs doc = [response for response in signed_responses if filename in response][0][filename] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-07 13:09:48

"Jonathan-569794-SignedContract.pdf", "<Response [403]>", "{\"Message\":[{\"message\":\"This session could not be mutually authenticated for use with the REST API\",\"errorCode\":\"MUTUALAUTHENTICATIONFAILED\"}]}"

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-07 13:10:59

2025-08-06 22:00:13.594065 UTC

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-08 11:13:54

review: https://github.com/shield-legal/gcp-integrations/pull/244 you will not be able to approve since you created it. mostly look at the new docs endpoint. maybe we should have @Richard Schnitzler look at it?

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-08 11:14:36

sounds good to me

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:15:04

same issue after retrigger

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:15:21

but now we can see the logs and payload

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:15:31

if the payload is any different

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:15:34

i'll check

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:15:40

File "/workspace/main.py", line 61, in main new_endpoint(obj) File "/workspace/new_endpoint.py", line 97, in new_endpoint check_for_c(obj.mapping) File "/workspace/new_endpoint.py", line 265, in check_for_c check_for_c(value) File "/workspace/new_endpoint.py", line 271, in check_for_c check_for_c(item) File "/workspace/new_endpoint.py", line 267, in check_for_c raise ValueError(f'c-#### detected in data: {g.group(0)}') ValueError: c-#### detected in data: c-4789

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:17:14

payload looks no different

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:17:23

no c-?

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:17:27

that question still isn't there

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:17:30

no custom field

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:17:42

https://ff51234a3133ea34a76ac08021756cd9f796b67ee82f4381d6e148c-apidata.googleusercontent.com/download/storage/v1/b/shield-legal-1976/o/699692%2Fintake%2Fpayload.json?jk=AXbWWmliOLC2yj6CZfHZRuyG3YQ7N6IxbeC9FmISASxvPoQ-GUyZatMqm5FmO8diej584jnX8MPHHHq2iQ9DtySbyLnVbIc7gbo5X7QJgIt2fLtkI7pLrwKrYCpDNCm3qr6leVA2zgFTLSSmWG8YZIXcsmnNJUt76ka-jG4-kbuWd0tzs29y9BH4cE8kzoKbuZn6hY8ZKpXbO35steMIAx4rMrWCE89N9KtEoRoK6B-8j7rSPKYrQqeizQALbBZBYtglBvADNJrytEef5EvVxtlNuTSHvsRl3HsHvKKf7FpHM0rhJvbFq0QtF9gCpR0fv76Q9Laz2pfnBUDkKXDPnfWex3WiVnfVWpXy4aKlF8fXzmtnOOr3a2fi7fr65SEUQXQKI8YdtB-j3763ZOfE8tITuRhRTNUxHbVC8FPVvGB-5QhRHhMAAsEcqQP38INF3aDUaYC0UqOIcPmszsu17HG89DJkjIIWrjVyAzsCD-Tudlw-sRyaxNtafvr4cmWfI6XLOAF-hRvVv3sIj5wSmmW7yTxwlQcMKKQxxzLQ2gFOOwdEZMNcKTvKxmKp5ola4vsouV3NciDuM8WHntYqGHPXJcPF2fqOo7wd6gG0W8oqXri2Fne42NnbXbtMPMWJQLr296t6bKO44Zo4mwexBkXSdPNNYSIRKv6s7z7nfuTEGVRSouX4RbTnIITi5UnPbzB1pbj6QylddcKUMWfwq2sRmv9ldgt3jcG0GOgQU1hLszTW0aOwitNqiDGGF6ZLm9ti5SYK_F-H22rlWuELDIw6-wPIqIZq8cL6SEzvwc5pyey2DuksPa11JbnVOHe0lkjveU9cp7-EQOCf405L4KBjnRrWWY4akFxcZfyIATIlx7563f-xVk1iQifzPkpiFTI7obpkXNv9rS5aVVS9OQrbvbhwaXfV0aqHPirI2tKb05JZMV7E19Pf4uEQvxVoCC5fFIKotcsLUzrl9mVs0nhHI9ysGWdJjl3tWxhZGy7R9K5VfPSiwB33BV03Yurjt6kAljFsy0Hbht8cjV9ijGdrylutIM2saQ3YEvLas1kfUeG7XUVp6LQfIyQCi7Fsm1WUBcMnPGUKNzjxlAMXWXiys46OWzfwfq3Oluhw-DTflrGdZJ-4rNmt8tosj9sNwHki0bc0S6m4JecDlUoRktQnVleUQ&isca=1|https://ff51234a3133ea34a76ac08021756cd9f796b67ee82f4381d6e148c-apidata.googleusercontent.com/download/storage/v1/b/shi[…]m4JecDlUoRktQnVleUQ&isca=1

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:18:30

from mapping.json { "questionId": "a0PVT00000QUv332AD", "questionnaireId": "a0RVT0000073hHJ2AY", "answer": "c-4789", "answerType": "STRING" },

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:18:42

yeah i checked the question id

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:19:02

what would an error look like if it was looking for the custom field and couldn't find it ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:19:12

key error

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:19:19

ah right, hmmmm

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:19:42

let me try running it locally

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:25:06

check that the mapping is correct for that case type. that question does not exist in the questionnaire builder on any tab

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:30:02

I thought that might be the case. well if we had wrong questionnaire, custom fields would be showing up

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:30:15

it could be just that quesiton, they might have just removed it

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:30:36

could be

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:31:03

lr dump still has that question

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:31:11

though i can't find it in the form settings

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:31:39

lr_dump pulls from db. db dump does not delete questions when removed from lr.

Daniel Schussler (dschussler@shield-legal.com)
2025-08-11 11:32:20

ah ew... well, i can delete the question from the map then

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-11 11:32:43

yes

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-12 15:55:12

Confluences is updated for all of them

Daniel Schussler (dschussler@shield-legal.com)
2025-08-12 17:05:55

data["matter"]["status"] = postgres.query('SELECT name FROM lead_status WHERE id=%s', (intake['Lead Data']['StatusId'])[0]

Daniel Schussler (dschussler@shield-legal.com)
2025-08-13 11:09:33

can you bring up sacramento please?

Daniel Schussler (dschussler@shield-legal.com)
2025-08-14 11:03:49

sac was added by sahil this morning

Daniel Schussler (dschussler@shield-legal.com)
2025-08-14 11:04:01

im ready to test now

Daniel Schussler (dschussler@shield-legal.com)
2025-08-14 11:41:19

FileNotFoundError: [Errno 2] No such file or directory: '2138/mapping.json'

Daniel Schussler (dschussler@shield-legal.com)
2025-08-14 15:59:38

2066 2067 have the same error as above

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-14 16:09:44

all fixed in a few minutes

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:36:13

he said these were sent twice

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:36:18

and on the second time they were null

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:37:33

you said these had two automations

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 11:38:17

the dates in the log are a day different. if you used a prod lead for testing then it would have been sent again when i sent the backfill

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:39:17

right, but my curiosity is that the first time they sent fine, but on the second sent they were sent with null values

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:39:32

but.... it shouldnt matter right? because it can't be overlapped

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 11:39:47

correct, and I cannot find null in the most recent payload

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 11:39:59

maybe its something on their side doing a comparison

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:40:39

yeah when he comes back i want to ask about that

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:41:27

because if it gets sent again, nothing is going to change so its kind of a moot point

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 11:55:25

Can you verify that LR just did not send the email for the following leads and retrigger if that is the case: 426639 429504 500122 513863 618392 709104 420364

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 11:55:53

yeah i'll check these

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:01:31

429504 got sent via email but errored

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:02:48

429504 got sent via email but errored

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:03:34

513863 sent but errorred

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:05:08

618392 errorred

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:05:15

618392 errorred

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:06:09

709104 never got signed declined retriggered

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:07:47

709104 never got signed declined retriggered

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 12:47:46

add signed declined to Illinois Juv Hall Abuse TV - DL/BG - Flatirons - Shield Legal

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 12:47:54

I retriggered 709104

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 12:49:01

you did both or you want me to do both

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 12:54:08

add status to campaign I retriggered lead

Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 16:13:24

let me know when you can merge that so i can finish retriggering 640

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-19 16:21:46

done, how is 601 going?

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 16:23:27

richard is doing it

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-08-19 17:29:58

```def normalizephonenumber(s: str) -> str: # Strip all non-digits digits = re.sub(r"\D", "", s)

if len(digits) &gt;= 11 and digits[0] == "1":
    # Remove first digit (the leading 1), keep only 10 digits
    return digits[1:11]
elif len(digits) == 10:
    return digits
else:
    raise ValueError(f'[{intake['Lead ID']} / {intake['Lead Data']['CaseTypeId']}] [{role["roleDescription"]}] Phone number invalid: {role["phone"]}')
    return ""```
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-20 13:01:43

Lets try to get all 30 DL errors taken care of today

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 13:02:44

yeah working on 598 now, there a billable decline. you want me to add it just for this lead and remove it ?

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-20 13:03:50

yes, and let @deleted-U04GG7BCZ5M know that it is a re-trigger

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 15:47:00

https://tortintakeprofessionals.lawruler.com/update-lead.aspx?lead=455742 this lead is erroring ValueError: [455742 / 604] Injured Party is a Decedent and cannot be the signer

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 15:47:13

but there is nothing on the lead that is saying they are deceased

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 15:47:40

there are questions but they are not answered

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 15:48:26

empty fields

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-20 15:48:59

did you check the form95 tab?

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 15:49:29

and that would do it

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 16:59:34

im starting to see a tread where the injured party is the signer when signed but eventually the signer/injured party has passed since

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 16:59:37

what do you want to do about that

Daniel Schussler (dschussler@shield-legal.com)
2025-08-20 17:36:03

https://tortintakeprofessionals.lawruler.com/update-lead.aspx?lead=519028 here is a lead where the signer IS actually a minor with no other information

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 13:47:30
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 18:01:11

Add the following to the main.py before the handle_elg function call if 'test' in data: obj.postgres.update_response(obj.log_row['id'], f'&lt;Response [000]&gt; {json.dumps(data, indent=4)}') return ''

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 18:03:31

Also look through the email thread with the subject of REQUEST: AFFF PFAS Military Base Exposure - Levinson - ELG - MC CA - Shield Legal Test Lead Sent

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 18:04:29

I also think they have a test endpoint...

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 18:05:43

Here are most of the options for representationtype

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-21 18:06:14

dont forget to add "test": "true" to the mapping

Daniel Schussler (dschussler@shield-legal.com)
2025-08-21 19:17:57

Cool I was going to ask about that.

Daniel Schussler (dschussler@shield-legal.com)
2025-08-22 10:47:07

Looks like no test end point, unless im missing it on the email chain. made the adjustments

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-22 11:07:34

Stage is the test url

👍:skin_tone_3: Daniel Schussler
Daniel Schussler (dschussler@shield-legal.com)
2025-08-22 12:32:10

426639 500122

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-22 18:09:18

for ELG the url should still be Stage since we have not sent to their sandbox yet

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-22 18:09:26

for ELG the url should still be Stage since we have not sent to their sandbox yet

Daniel Schussler (dschussler@shield-legal.com)
2025-08-22 19:21:37

Ah yeah I switched it back for some reason

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-25 13:29:30
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-25 13:29:32
Daniel Schussler (dschussler@shield-legal.com)
2025-08-25 15:32:47

activity log

Daniel Schussler (dschussler@shield-legal.com)
2025-08-25 15:32:55

this is the lead i was testing ELG

Daniel Schussler (dschussler@shield-legal.com)
2025-08-25 15:33:07

i was trying to send them a staging test but... the email wont go out

Daniel Schussler (dschussler@shield-legal.com)
2025-08-25 15:33:16

and no there is no reason it should be in spanish

Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 14:27:22

https://github.com/shield-legal/gcp-integrations/pull/271

works and can be merged

✅ Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 16:10:21

```def checkdecedentobj(obj: IntegrationMappingObject, objwithname: dict[str, str], question: str, valid: str = 'yes', dodfield: str = None): intake = obj.lrfields data = obj.mapping roles = data["roles"]

is_deceased = True
if dod_field:
    dod = intake[dod_field].strip()
    if dod:
        dod = datetime.strptime(dod, '%m-%d-%Y').date()
        open_date = datetime.strptime(data['matter']['openDate'], '%Y-%m-%d').date()
        is_deceased = dod < open_date

for role in roles:
    if role['roleDescription'] == 'InjuredParty':
        injured_first = role['firstName']
        break


if intake[question].lower().strip() == valid and is_deceased and injured_first != data['account']['firstName']:
    obj_with_name["roleCategory"] = "Decedent"```
Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 16:11:18

the code was running into an error where the date of death was before the lead was signed and I think it was erroring because of taht

Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 16:12:08

so i added the clause to check the first names of injured party and signer to make sure that it wouldn't break

Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 16:12:16

```def checkdecedentobj(obj: IntegrationMappingObject, objwithname: dict[str, str], question: str, valid: str = 'yes', dodfield: str = None): intake = obj.lrfields data = obj.mapping roles = data["roles"]

is_deceased = True
if dod_field:
    dod = intake[dod_field].strip()
    if dod:
        dod = datetime.strptime(dod, '%m-%d-%Y').date()
        open_date = datetime.strptime(data['matter']['openDate'], '%Y-%m-%d').date()
        is_deceased = dod < open_date

for role in roles:
    if role['roleDescription'] == 'InjuredParty':
        injured_first = role['firstName']
        break


if intake[question].lower().strip() == valid and is_deceased and injured_first != data['account']['firstName']:
    obj_with_name["roleCategory"] = "Decedent"```
Daniel Schussler (dschussler@shield-legal.com)
2025-08-26 16:45:44

also elg says that the test is good and they are ready to go live wheneve r

Daniel Schussler (dschussler@shield-legal.com)
2025-08-27 16:01:50
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-27 16:40:32

See comment in github

Daniel Schussler (dschussler@shield-legal.com)
2025-08-27 16:45:43

it worked when i changed it to obj vs name

Daniel Schussler (dschussler@shield-legal.com)
2025-08-27 17:07:09

i changed it

Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 10:42:09

601 can be merged, turned on, and backfilled

Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 10:42:12

per sahil

Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 11:12:45

back fill can be started

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-28 11:45:05

started

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-28 15:00:47
Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 15:50:52

601 worked

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-28 15:51:31

merged

👍:skin_tone_3: Daniel Schussler
Dustin Surwill (dsurwill@shield-legal.com)
2025-08-28 15:51:48

and PR #268?

Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 15:51:59

ill re trigger the rest once i finish that

👍 Dustin Surwill
Daniel Schussler (dschussler@shield-legal.com)
2025-08-28 15:52:06

ill re trigger the rest once i finish that

Dustin Surwill (dsurwill@shield-legal.com)
2025-08-29 16:06:24

dont forget updating api_triggers

Daniel Schussler (dschussler@shield-legal.com)
2025-08-29 16:08:15

yep already done

👍 Dustin Surwill