# Print custom pdf via Integromat

**URL:** https://forums.knack.com/t/print-custom-pdf-via-integromat/8410
**Category:** Get Answers
**Created:** [June 21, 2020, 7:02am UTC](https://forums.knack.com/t/print-custom-pdf-via-integromat/8410 "2020-06-21T07:02:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Craig\_Anderson](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/craig_anderson/32/1819_2.png) [@Craig\_Anderson](https://forums.knack.com/u/Craig_Anderson)
#### Post date: [June 21, 2020, 7:02am UTC](https://forums.knack.com/t/print-custom-pdf-via-integromat/8410/1 "2020-06-21T07:02:30Z")

</div>

Hi,

I am trying to print a custom pdf report of a record via Integromat and have it trigger via a link updating a dummy field from a Knack table (eg "print pdf"). The only way I can see to trigger Integromat is by updating a record, but I don't want it to be triggered whenever _any_ record is updated - only when the "print pdf" link is clicked (thereby updating the dummy field).

Is there a simple way to do this? Thanks.

---

<div class="post-metadata">

### Author: ![Craig\_Anderson](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/craig_anderson/32/1819_2.png) [@Craig\_Anderson](https://forums.knack.com/u/Craig_Anderson)
#### Post date: [June 21, 2020, 11:08am UTC](https://forums.knack.com/t/print-custom-pdf-via-integromat/8410/2 "2020-06-21T11:08:13Z")

</div>

Thanks :) Very helpful.

---

<div class="post-metadata">

### Author: ![JulianKirkness](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/juliankirkness/32/770_2.png) [@JulianKirkness](https://forums.knack.com/u/JulianKirkness)
#### Post date: [June 21, 2020, 9:34am UTC](https://forums.knack.com/t/print-custom-pdf-via-integromat/8410/3 "2020-06-21T09:34:43Z")

</div>

Hi Craig

I think there are basically two ways of achieving this...

1. The more 'standard' way of doing this would be with an Update trigger as you suggest - but have a filter which only passes through records which have {Print PDF} as, say, True. So the scenario would have an initial trigger module, then a module to retrieve the actual record - and then filter. This means that every update to the record would use two Integromat Operations of course.  
  
Using this approach, you will also need to have a module at the end of the scenario which sets the {Print PDF} field to False so that any other edits to the same record don't cause another print.  
  
2. An alternative would be to trigger Integromat using a webhook as I describe in the following article:  
  
[https://www.onlinedatabase.expert/post/knack-and-integromat-waiting-for-a-response](https://www.onlinedatabase.expert/post/knack-and-integromat-waiting-for-a-response)  
  
I would probably have the webhook code triggered by a popup form's submit. This form need have no fields on it at all - just a submit button.&nbsp;&nbsp;
