Announcement

Collapse
No announcement yet.

Retrieving data from 3rd party API - Workflows/BPM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Retrieving data from 3rd party API - Workflows/BPM

    Hello,
    what would be the best approach to be able to retrieve data from 3rd party API and implement it as part of BPM or Workflow?

    For example what we would like to do as part of the process to send a GET request on 3rd party API and then work with the results returned, e.g. save them into specific fields of a contact that we are working with as part of the process.

    We have http POST/PUT now in processes which is great, but that won't work with returned data if I am not mistaken?

    Would this be best to implement as a custom module with action exposing the 3rd party call?

    Thank you

  • #2
    Hi,

    I think you will need to create a custom service action for workflow (or bpm). It will require writing PHP code that will make a request. https://docs.espocrm.com/administrat...service-action

    Comment


    • xsign
      xsign commented
      Editing a comment
      Thank you Yuri for the pointers.
      Will give it a go!

  • #3
    xsign If you got that working could you share here? Thank you!

    Comment

Working...
X