I’ve got a published webhook that queries REST api data for weather.gov.
Cant get the external system lib imported even after finding
I’ve worked through the specific advice in to change the functions.json
and commit, (and also played with a few other settings)
P
Have committed and rebuilt ts server couple times + looked to manually import.
Any guidance? Thanks all.
Hi @SerKnight,
Great to see you’re using external functions.
Once you’ve enabled external systems and rebuilt your workspace, you should be good to go to start importing webhooks into your functions repository and using them, try importing the webhook like this:
{ WebhookApiName } from "@foundry/external-systems/sources/SourceApiName"
Just make sure you’ve imported your source in the source imports tab on the left hand side!
More details in our docs here, and feel free to follow up with questions on this thread.
Looks like that output schema might only be accessible in the platform/workshop?
https://www.palantir.com/docs/foundry/action-types/webhooks/#output-parameters
Ahh okay - I was conflating my similarly named Ontology Object with the Sources
import. Thanks.
However do I need to redo the parsing logic here?
My logged data is the raw API response from the webhook, not the Output Parameters I setup which show an array of alerts