
Lead Score | Profit Category |
20-40 | Minimal Profit |
40-60 | Average Profit |
60-80 | Good Profit |
80+ | High Profit |
UI - Field Update Creation View{ "field_updates": [ { "name": "Profit Category ", "module": { "api_name": "Leads", "id": "5725767000000002175" }, "type": "static", "feature_type": "workflow", "field": { "api_name": "Profit_Category", "id": "5725767000008570298" }, "value": "High Profit" } ] } |
Key | Explanation |
field_updates
| Holds all details to create a field update. |
name | Field Update name |
module | Specify the module details |
module.api_name | Represents the module API name. In our case, it is "Leads" module. |
module.id | Represents the System ID for the module |
type | Represents the Update type. Usually “static” for fixed-value updates. |
feature_type | Represents that this Field Update is for workflow Rules. |
field | Represents which field should be updated. |
field.api_name | Represents the field API name. |
field.id | Represents the unique ID of the field. |
value | The value to be updated |
{ "field_updates": [ { "code": "SUCCESS", "details": { "id": "5725767000008604002" }, "message": "field update deleted successfully", "status": "success" } ] } |
{ "field_updates": [ { "created_time": "2025-11-15T07:57:39-08:00", "update_type": null, "lock_status": { "locked": false }, "apply_assignment_threshold": false, "editable": true, "module": { "api_name": "Leads", "id": "5725767000000002175" }, "related_module": null, "deletable": true, "source": "crm", "type": "static", "created_by": { "name": "Patricia Boyle", "id": "5725767000000411001" }, "notify": false, "feature_type": "workflow", "modified_time": "2025-11-15T07:57:39-08:00", "field": { "api_name": "Profit_Category", "id": "5725767000008570298" }, "dependent_fields": null, "associated": false, "related_records": null, "name": "Profit Category Leads", "modified_by": { "name": "Patricia Boyle", "id": "5725767000000411001" }, "id": "5725767000008604002", "value": "High Profit" } ] } |
Configuring Workflow and associating the Field Update action{ "workflow_rules": [ { . . . "execute_when": { "details": { "trigger_module": { "api_name": "Leads", "id": "5725767000000002175" }, }, "type": "create_or_edit" }, "module": { "api_name": "Leads", "id": "5725767000000002175" }, "conditions": [ { "instant_actions": { "actions": [ { "name": "Profit Category", "details": { "module": { "api_name": "Leads", "id": "5725767000000002175" } }, "id": "5725767000008604002", //associating the created Field Update with the Workflow. "type": "field_updates" }, { "name": "High Priority Deal", "details": { "module": { "api_name": "Leads", "id": "5725767000000002175" }, "over_write": false, "tags": [ { "name": "High Priority Deal", "id": "5725767000008570458", "color_code": "#63C57E" } ] }, "id": "5725767000008570470", "type": "add_tags" } ] }, "criteria": { "group_operator": "AND", "group": [ { "comparator": "greater_equal", "field": { "api_name": "Entity_Scores__s.Score", //Lead Score's API name "id": "5725767000002324045" }, "type": "value", "value": "80" }, { "comparator": "contains", "field": { "api_name": "Lead_Status", "id": "5725767000000002611" }, "type": "value", "value": "Not Contacted" } ] } } ] . . . } ] } |
{ "field_updates": [ { "name": "Profit Category - Updated", //updated the response "field": { "api_name": "Profit_Category", "id": "5725767000008570298" }, "value": "Good Profit" //updated value } ] } |
{ "field_updates": [ { "code": "SUCCESS", "details": { "id": "5725767000008604002" }, "message": "Field update deleted successfully", "status": "success" } ] } |
Writer is a powerful online word processor, designed for collaborative work.