API call as "action" for workflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rinorway
    Senior Member
    • Feb 2016
    • 179

    API call as "action" for workflow

    I see the following use case :
    - anything happens in Espo
    - workflow is triggered
    - API call is needed

    For example :
    - new case is created
    - workflow is triggered
    - we need to issue "curl endpoint payload="{...}" so that we can push the data to any system outside of espo.

    So suppose you would use a ticketing system, the creation of a case would lead to a new ticket in ticketing system with data as filled in.

    Would you recommend creating a custom service action, or have a default "API CALL" as action?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Different services can have different authentication methods. I'd recommend creating a service action for your case.
    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

    • rinorway
      Senior Member
      • Feb 2016
      • 179

      #3
      Thank you, yes, that makes sense and is more flexible as well.

      Comment

      • rinorway
        Senior Member
        • Feb 2016
        • 179

        #4
        Resolved :

        Since Advanced Pack version 2.4.0 it’s possible to send HTTP requests with Workflows and BPM tools.

        example : https://www.espocrm.com/blog/sending...ith-workflows/

        Comment

        Working...