Spaces:
Paused
Paused
Commit
·
7936edc
1
Parent(s):
fd89d01
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,9 +151,10 @@ def create_case(conv_hist):
|
|
| 151 |
'Status': 'New',
|
| 152 |
'Origin': 'Voice Bot',
|
| 153 |
'Voice_Call_Conversation__c': conv_hist ,
|
| 154 |
-
'Voice_Call_Id__c': conversation_id
|
|
|
|
| 155 |
}
|
| 156 |
-
|
| 157 |
|
| 158 |
|
| 159 |
@app.route('/')
|
|
|
|
| 151 |
'Status': 'New',
|
| 152 |
'Origin': 'Voice Bot',
|
| 153 |
'Voice_Call_Conversation__c': conv_hist ,
|
| 154 |
+
'Voice_Call_Id__c': conversation_id,
|
| 155 |
+
'ContactId': '003B000000NLHQ1IAP'
|
| 156 |
}
|
| 157 |
+
sf.Case.create(case_data)
|
| 158 |
|
| 159 |
|
| 160 |
@app.route('/')
|