Incoming webhook?

Does anvil support incoming webhooks from an external API/service?

I might have misunderstood you, but Anvil can expose an API
(see here - https://anvil.works/doc/index.html#-div-id-http_apis-http-apis-div-)

Is that what you meant?

Yeah; that looks like it would do it. I’m guessing this is only possible on a server module? What I’m really looking for is for an external event to be able to trigger an action on the front end for a particular user-instance of an app. So an external event (e.g. a particular slack message) triggers a webhook call to a server-module-API-location. The server then determines which user-instance the message refers to. Then how to get to the front-end-user instance? The front end could poll the server module, certainly, but is there a way for the server module to initiate the message to the front end?

Polling is the only way I know, but the Anvil guys might know another way. I’ll leave that for them to respond. Sorry i can’t help further.

Hi there, and welcome to the forum!

@david.wylie is correct - polling is your best bet. I would recommend having a Data Table that you poll for this information.

It would be nice to be able to deliver events from the server to a different client, but it’s not something we support at the moment. If it’s something you want, please make a post in our Feature Requests forum – we use those posts (and how many Likes they get) to measure community demand!