{
"name":"Agreed to Share Media",
"prompt":"## Parameter to Evaluate:\n**Parameter Name:** `agreed_to_share_media`\n**Type:** Boolean (True/False)\n**Definition:** Identify if the prospect disputes the technician's on-site evaluation and then gives a clear, affirmative response to the agent's suggestion to send photos or videos via whatsapp for a re-evaluation.\n\n## Cues to Detect:\n- Prospect disagrees with the damage/condition report (e.g., \"The screen is not damaged\"\").\n- Agent proposes an email-based review/re-evaluation.\n- Prospect explicitly agrees to send the requested evidence on whatsapp\n\n## INCLUDE:\n- Agent: \"Could you please send some photos to our email?\" Prospect: \"Yes, I will do that.\"\n- \"Okay, tell me the email address. I will send the video right now.\"\n- \"Sure, I can send the pictures to you.\"\n\n## EXCLUDE:\n- Disputing the report but refusing to send images on whatsapp.\n- No requesting of media over whatsapp made by the agent.\n\n## Instructions:\n1. **Analyze the Transcript:** Ensure a dispute exists first, followed by an agent's suggestion for email evidence.\n2. **Determine the Value:** Assign **True** only if the prospect confirms they will send the media/images on whatsapp. Assign **False** if they hesitate, refuse, or if the offer was never made.\n3. **Formulate Reasoning:** Quote the prospect's affirmative agreement to send the photos/videos.\n\n## Output Instructions:\nReturn a dictionary containing exactly two keys. The **\"reason\"** key must come first, followed by the **\"value\"**.\n- 'reason': A short text explanation (String).\n- 'value': The result of the evaluation (Boolean).\n\n### Example Output:\n\n{\n \"reason\": \"The prospect disputed the screen damage report and explicitly agreed to send photos for review by saying 'Yes, I will do that.'\",\n \"value\": true\n}\n",
"type":"CUSTOM_INTERACTION",
"description":"Whether the person agreed to share media or not."
}curl --location --request POST 'https://staging-api.formi.co.in/v2/signals/agents/64/signals' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTQ4N30.5C1-y4YCN6XvBEYXr1oRKLNUXfwbGch9DqyIiplzU70' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"Agreed to Share Media",
"prompt":"## Parameter to Evaluate:\n**Parameter Name:** `agreed_to_share_media`\n**Type:** Boolean (True/False)\n**Definition:** Identify if the prospect disputes the technician'\''s on-site evaluation and then gives a clear, affirmative response to the agent'\''s suggestion to send photos or videos via whatsapp for a re-evaluation.\n\n## Cues to Detect:\n- Prospect disagrees with the damage/condition report (e.g., \"The screen is not damaged\"\").\n- Agent proposes an email-based review/re-evaluation.\n- Prospect explicitly agrees to send the requested evidence on whatsapp\n\n## INCLUDE:\n- Agent: \"Could you please send some photos to our email?\" Prospect: \"Yes, I will do that.\"\n- \"Okay, tell me the email address. I will send the video right now.\"\n- \"Sure, I can send the pictures to you.\"\n\n## EXCLUDE:\n- Disputing the report but refusing to send images on whatsapp.\n- No requesting of media over whatsapp made by the agent.\n\n## Instructions:\n1. **Analyze the Transcript:** Ensure a dispute exists first, followed by an agent'\''s suggestion for email evidence.\n2. **Determine the Value:** Assign **True** only if the prospect confirms they will send the media/images on whatsapp. Assign **False** if they hesitate, refuse, or if the offer was never made.\n3. **Formulate Reasoning:** Quote the prospect'\''s affirmative agreement to send the photos/videos.\n\n## Output Instructions:\nReturn a dictionary containing exactly two keys. The **\"reason\"** key must come first, followed by the **\"value\"**.\n- '\''reason'\'': A short text explanation (String).\n- '\''value'\'': The result of the evaluation (Boolean).\n\n### Example Output:\n\n{\n \"reason\": \"The prospect disputed the screen damage report and explicitly agreed to send photos for review by saying '\''Yes, I will do that.'\''\",\n \"value\": true\n}\n",
"type":"CUSTOM_INTERACTION",
"description":"Whether the person agreed to share media or not."
}'{}