Skip to main content

Hello,

I am building a custom dashboard to display the latest emails from the pipe. I understand there is an API endpoint called inbox_email, but I do not see many parameters available for configuration. Therefore, I believe I need to integrate the inbox_email endpoint with other API endpoints to retrieve the information I need.

  1. If, for example, a card has 50 emails and I use the inbox_email endpoint, will it display all 50 emails, or is there a way to limit the results to only the most recent ones? If it retrieves all 50 emails, does that mean it will consume 50 API calls or just one?
  2. Our system is not very busy, so it is not necessary to create a cron job to pull these records at regular intervals. Is there a way to configure the API, perhaps using webhooks, so that the API is only triggered when a new email arrives?

The dashboard should display the latest emails, ideally those received within the past 24 hours. Any ideas or guidance would be appreciated.
 

Any updatres please?


Hello Jay! 

The inbox_email query does not have a built-in parameter to specifically limit the results to the most recent ones.

 

You can use webhooks to trigger an API call only when a new email arrives. This is a more efficient and reactive approach than using a cron job for a low-volume system. Instead of your system constantly polling for new data, Pipefy can send a notification directly to your system's endpoint whenever a relevant event occurs.

Check out the following documentation about it:

https://help.pipefy.com/en/articles/729719-how-to-use-webhooks-in-pipefy

https://developers.pipefy.com/reference/pipe-table-webhooks

 

The consumption is done per API Call.

An API call is a request sent to the server requesting a response containing certain information. For example: search for cards with a specific title within a specific pipe.

Reply