Lead Capture Integration with Activepieces (HTTP Request) Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yuri
    replied
    How it fails? What error the sender receives?
    Last edited by yuri; 12-02-2024, 08:55 AM.

    Leave a comment:


  • shalmaxb
    commented on 's reply
    F12 to inspect comsole logs or server logs in your hosting/server

  • JChambo
    replied
    yuri What's strange is my Lead capture isn't even attempting to gather that field. I believe that log is from a previous test.

    Oddly enough there hasn't been an error in that log since a few days ago but I've since attempted to re-run the Task (that also still fails.)

    Are there other logs I can look at?

    Leave a comment:


  • yuri
    replied
    If you need to send random phone numbers, there are two options:
    • Use a custom varchar field instead.
    • Disable International phone numbers under Administration > Settings.

    Leave a comment:


  • yuri
    replied
    It tells that the phone number is invalid. What value do you send?

    Leave a comment:


  • JChambo
    replied
    yuri Thanks for responding!

    These lines are all I see:

    HTML Code:
    [2024-11-26 07:21:56] WARNING: (400) Field validation failure; entityType: Lead, field: phoneNumber, type: valid. :: POST /Lead

    Leave a comment:


  • yuri
    replied
    Hi,

    Anything in Espo log?

    Leave a comment:


  • Lead Capture Integration with Activepieces (HTTP Request) Help

    Greetings!

    I'm trying to integrate EspoCRM into Activepieces via an HTTP Request step, but the step is failing when testing for some reason and I'm not sure why.

    I'm using the Administration > Lead Capture option within EspoCRM that provides the necessary HTTP Request information (URL, Method, Headers, and Payload) however it fails when testing. Here is my configuration.

    Click image for larger version

Name:	image.png
Views:	78
Size:	117.6 KB
ID:	112682
    Click image for larger version

Name:	image.png
Views:	47
Size:	75.0 KB
ID:	112683

    Here is the Payload:

    HTML Code:
    {
      "website": "{{trigger['body']['WebsiteURL']}}",
      "lastName": "{{trigger['body']['LastName']}}",
      "firstName": "{{trigger['body']['FirstName']}}",
      "accountName": "{{trigger['body']['BusinessName']}}",
      "description": "{{trigger['body']['Whattypesofservicesdoyouneed \n {{trigger['body']['Howsatisfiedareyouwithyourexistingwebsite \n {{trigger['body']['ProjectInformation']}}']}}']}}",
      "emailAddress": "{{trigger['body']['Email']}}"
    }​
    I've also tried without the "description" line item as well without success.

    Any ideas about what I'm doing wrong or why this would fail? I'm capturing form information from Contact Form 7 and trying to assign certain fields to the Lead Capture fields.

    Thanks!
Working...