# Using protobuf in workflow/activity

**URL:** <https://community.temporal.io/t/using-protobuf-in-workflow-activity/3540>\
**Category:** Community Support\
**Tags:** workflow-config\
**Created:** [December 7, 2021, 8:21am UTC](https://community.temporal.io/t/using-protobuf-in-workflow-activity/3540 "2021-12-07T08:21:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/luke/32/5106_2.png) [@Luke](https://community.temporal.io/u/Luke)\
**Post date:** [December 7, 2021, 8:21am UTC](https://community.temporal.io/t/using-protobuf-in-workflow-activity/3540/1 "2021-12-07T08:21:22Z")

</div>

Is there an example of using protobuf generated message in workflow /activity ? Does it have out-of-the-box converter so that the payload can be sent / received ?

---

<div class="post-metadata">

**Author:** ![Chad\_Retz](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/chad_retz/32/1396_2.png) [@Chad\_Retz](https://community.temporal.io/u/Chad_Retz)\
**Post date:** [December 7, 2021, 2:08pm UTC](https://community.temporal.io/t/using-protobuf-in-workflow-activity/3540/2 "2021-12-07T14:08:52Z")

</div>

I am afraid there is not a specific example, but yes Java and Go both support Protobuf-spec’d JSON serialization out of the box. In fact, single Proto-based messages for request and response to both workflows and activities is very much encouraged for contract change compatibility and cross-language compatibility.
