Retrieving data from 3rd party API - Workflows/BPM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xsign
    Junior Member
    • Apr 2020
    • 6

    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
  • yuri
    Member
    • Mar 2014
    • 8440

    #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
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • xsign
      xsign commented
      Editing a comment
      Thank you Yuri for the pointers.
      Will give it a go!
  • rinorway
    Senior Member
    • Feb 2016
    • 179

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

    Comment

Working...