External API call from "API before save script" script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wtconseil
    Active Community Member
    • Apr 2015
    • 335

    External API call from "API before save script" script

    Hi

    i'd like to do an api-call to an external Saas tool from EspoCRM.
    I would like to do it through "API before save script"

    Do you have an example of how to do that?
    i check in the doc: https://docs.espocrm.com/administrat...e-save-script/
    but it's only internal functions.

    No example of how to call an external system and pass attributes from the current entity.
    thanks for your help ?
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    Probably because it not possible and was never design for external? You have to do coding yourself for this or use the Advanced Pack (paid extension) for it.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8454

      #3
      Hi, Maybe consider using Workflow > Sent HTTP Request instead? There's no request functions for formula.
      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

      • wtconseil
        Active Community Member
        • Apr 2015
        • 335

        #4
        thanks but... i don't have Advanced Pack.​

        Comment

        • yuri
          Member
          • Mar 2014
          • 8454

          #5
          This would require coding in PHP.
          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

          • macistda
            Member
            • Jul 2022
            • 76

            #6
            Originally posted by wtconseil
            thanks but... i don't have Advanced Pack.​
            Then simply just buy it.

            Comment

            Working...