Hello, can anyone help me how to capture leads from Gravity forms please?
Gravity Form to Leads please?
Collapse
X
-
Thanks Iazovic, I checked but there is an issue with the Date field. Is this field required by default? The problem is that if I do not put the date in the Gravity form, the lead will not be captured. Although I do not tick the "required" box in both Gravity form and Espocrm. The date format is the same DD/MM/YYYY in both Gravity form field and Espocrm. I always need to put the date, without putting it, the lead will not be captured. I think somehow this field is required by default in your system? What can be the problem please?Comment
-
HiNth20,
In EspoCRM, fields aren’t required by default. Check Administration > Entity Manager > Lead > Fields to ensure the Date field isn’t marked "Required" or "Read-only." Confirm the date format (DD/MM/YYYY) matches in both Gravity Forms and EspoCRM (Administration > Settings > Date Format). Let me know if you need help!Comment
-
It should not be the problem with the Date format because if the format is not matched, the date field should not be captured. The date is still captured correctly but if I do not put the date, the entire lead form will not be captured. If I put the date field only, the lead is still captured. so it seems that the date field is required by somehow when I have this field in the form.Comment
-
Nth20, Have you test the API manually?- Use a tool like Postman to simulate the API request that Gravity Forms sends to EspoCRM. Refer to the EspoCRM API documentation for details: https://docs.espocrm.com/development/api/
- Analyze the Responses:
- Check the API response for request. Look for:
- HTTP status code (e.g., 200 OK, 400 Bad Request).
- 400 bad request: When you create or update a record, this error can mean that you didn't pass a required field or it has an empty value. Check the response message or see data/log for more details.
- Share these details on the forum to get further assistance.
- Check the API response for request. Look for:
​Comment
-
Debug mode:
In some cases it can be reasonable to enable debug mode for the logger. It will print more information into the log.
To enable debug mode for the logger, edit the file data/config-internal.php (or data/config.php) and set the value of the logger.level parameter to DEBUG:
'logger' => [
...
'level' => 'DEBUG',
]
Don't forget to revert the mode back after the problem is solved (to WARNING or ERROR).
Comment
-
Yes, I did before and I got the following (long so just copied some newest):
[2025-07-31 00:00:08] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 00:00:08] DEBUG: BPM: processTriggeredSignals
[2025-07-31 00:15:07] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 00:15:07] DEBUG: BPM: processTriggeredSignals
[2025-07-31 00:30:07] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 00:30:07] DEBUG: BPM: processTriggeredSignals
[2025-07-31 00:45:07] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 00:45:07] DEBUG: BPM: processTriggeredSignals
[2025-07-31 01:00:08] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 01:00:08] DEBUG: BPM: processTriggeredSignals
[2025-07-31 01:15:07] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 01:15:07] DEBUG: BPM: processTriggeredSignals
[2025-07-31 01:30:07] DEBUG: BPM: processPendingFlows (all)
[2025-07-31 01:30:07] DEBUG: BPM: processTriggeredSignals
[2025-07-31 01:43:16] DEBUG: Schema\Builder - Start
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ActionHistoryRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AddressCountry
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AppLogRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AppSecret
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ArrayValue
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Attachment
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AuthLogRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AuthToken
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity AuthenticationProvider
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Autofollow
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Currency
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity DashboardTemplate
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Email
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailAccount
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailAddress
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailFilter
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailFolder
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailTemplate
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity EmailTemplateCategory
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Export
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Extension
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ExternalAccount
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity GroupEmailFolder
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Import
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ImportEntity
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ImportError
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity InboundEmail
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Integration
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Job
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity KanbanOrder
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity LayoutRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity LayoutSet
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity LeadCapture
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity LeadCaptureLogRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity MassAction
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity NextNumber
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Note
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Notification
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity OAuthAccount
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity OAuthProvider
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity PasswordChangeRequest
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity PhoneNumber
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Portal
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity PortalRole
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Preferences
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Role
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ScheduledJob
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity ScheduledJobLogRecord
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity Sms
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity StarSubscription
[2025-07-31 01:43:16] DEBUG: Schema\Builder: Entity StreamSubscription
Comment
-
Nth20,
The date field in EspoCRM takes a value in the following format: 2025-08-04 (yyyy-mm-dd)
What is configured in the date format settings (Administration > Settings > Date Format) is simply a display setting.Comment
Comment