Webhook access to custom fields that are post objects?
-
I recently used WP Webhook to set up a Zapier integration to send an email whenever a post type is updated. The post uses ACF custom fields. Everything is wired up right, and I can see the data in Zapier, and output the content of the custom field into the email.
The problem is that a few of my custom fields are “Post Object” types, and so the content in the email is just an ID referencing another post.
Is there a way to get some of the content of the referenced post? For example:
I want to send an email whenever a “Document” post type is updated. The custom fields include a “Language” field which is a reference to another post type, “Langauge”. How can I get the name of the language for the Document, rather than just the ID of the language post it references?
The topic ‘Webhook access to custom fields that are post objects?’ is closed to new replies.