Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ sf = Salesforce(
|
|
| 27 |
|
| 28 |
def push_to_salesforce(data: dict) -> str:
|
| 29 |
try:
|
| 30 |
-
response = sf.
|
| 31 |
"Deal_Amount__c": data.get("amount"),
|
| 32 |
"Stage__c": data.get("stage"),
|
| 33 |
"Industry__c": data.get("industry"),
|
|
|
|
| 27 |
|
| 28 |
def push_to_salesforce(data: dict) -> str:
|
| 29 |
try:
|
| 30 |
+
response = sf.qualification_engine__c.create({
|
| 31 |
"Deal_Amount__c": data.get("amount"),
|
| 32 |
"Stage__c": data.get("stage"),
|
| 33 |
"Industry__c": data.get("industry"),
|