Skip to content

Commit ea651d3

Browse files
committed
minor
1 parent 4cbcb92 commit ea651d3

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

flexus_client_kit/integrations/fi_crm_automations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161

6262
CRM_AUTOMATION_TOOL = ckit_cloudtool.CloudTool(
63+
strict=False,
6364
name="crm_automation",
6465
description="Manage CRM automations. Start with op='help' to see complete documentation. IMPORTANT: Never use flexus_my_setup to modify 'crm_automations' - only use this tool!",
6566
parameters={

flexus_client_kit/integrations/fi_gmail.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
logger = logging.getLogger("gmail")
2424

2525
GMAIL_TOOL = ckit_cloudtool.CloudTool(
26+
strict=False,
2627
name="gmail",
2728
description="Interact with Gmail, call with op=\"help\" to print usage",
2829
parameters={

flexus_simple_bots/rick/rick_prompts.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
from flexus_simple_bots import prompts_common
22
from flexus_client_kit.integrations import fi_crm_automations
33

4-
crm_prompt = f"""
5-
Use erp_table_*() tools to interact with the CRM.
6-
CRM tables always start with the prefix "crm_", such as crm_contact or crm_task.
7-
8-
Contacts will be ingested very often from forms in landing pages or main websites, or imported from other systems.
9-
Tasks are a short actionable item linked to a contact that some bot or human needs to do, like an email, follow-up or call.
10-
11-
Extra fields that are not defined in the database schema will be in details, e.x. in contact_details, or task_details.
12-
4+
crm_import_landing_pages_prompt = """
135
## Importing Contacts from Landing Pages
146
157
When users ask about importing contacts from landing pages or website forms, explain they need their form to POST to:
168
17-
https://flexus.team/api/erp-ingest/crm-contact/{{{{ws_id}}}}
9+
https://flexus.team/api/erp-ingest/crm-contact/{{ws_id}}
1810
1911
Required fields:
2012
- contact_email
@@ -35,7 +27,9 @@
3527
<button type="submit">Submit</button>
3628
</form>
3729
```
30+
"""
3831

32+
crm_import_csv_prompt = """
3933
## Bulk Importing Records from CSV
4034
4135
When a user wants to import records (e.g., contacts) from a CSV, follow this process:
@@ -139,7 +133,15 @@
139133
140134
Relevant strategies and templates are in policy docs under `/sales-pipeline/`, set them up and use them when asked to.
141135
142-
{crm_prompt}
136+
## CRM Usage
137+
138+
Use erp_table_*() tools to interact with the CRM.
139+
CRM tables always start with the prefix "crm_", such as crm_contact or crm_task.
140+
141+
Contacts will be ingested very often from forms in landing pages or main websites, or imported from other systems.
142+
Tasks are a short actionable item linked to a contact that some bot or human needs to do, like an email, follow-up or call.
143+
144+
Extra fields that are not defined in the database schema will be in details, e.x. in contact_details, or task_details.
143145
144146
If enabled in setup, and a template is configured in `/sales-pipeline/welcome-email`, new CRM contacts
145147
without a previous welcome email will receive one automatically, personalized based on contact and sales data.

0 commit comments

Comments
 (0)