# Link in über Zapier integrierten getwitterten Beiträgen einfügen?

**URL:** <https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790>\
**Category:** Support\
**Created:** [27. Mai 2019 um 13:51 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790 "2019-05-27T13:51:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris-remus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris-remus/32/133734_2.png) [@chris-remus](https://meta.discourse.org/u/chris-remus)\
**Post date:** [27. Mai 2019 um 13:51 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/1 "2019-05-27T13:51:22Z")

</div>

I’d like to Tweet new topics in my forum -

[https://forum.stakingdefense.org](https://forum.stakingdefense.org)

To my Twitter account -

[twitter.com/stakingdefense](http://twitter.com/stakingdefense)

The forum is not particularly active right now, so I’m not concerned about Twitter shutting down the account 😉

I’ve researched existing topics in this forum yet still can’t find the answer to my question. I’ve sent two test tweets, via Zapier integrations, both direct Discourse/Twitter and Discourse Web Hook/Twitter.

_What I can’t figure out is how to include the post link in the Tweet._

Can someone please help me solve this?

Thank you!

---

<div class="post-metadata">

**Author:** ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)\
**Post date:** [27. Mai 2019 um 14:59 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/2 "2019-05-27T14:59:41Z")

</div>

Can you share a little more information about what you’ve done so far? Are you using a JSON feed or a webhook to trigger your zaps?

---

<div class="post-metadata">

**Author:** ![chris-remus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris-remus/32/133734_2.png) [@chris-remus](https://meta.discourse.org/u/chris-remus)\
**Post date:** [27. Mai 2019 um 18:03 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/3 "2019-05-27T18:03:56Z")

</div>

Sure -

1 - Tried a Discourse “new post” trigger to Twitter “new Tweet” zap.

2 - Tried to create a webhook.

[https://hooks.zapier.com/hooks/catch/5059183/vd3uaj/](https://forum.stakingdefense.org/admin/api/web_hooks/1)

 ![10%20PM](https://global.discourse-cdn.com/meta/original/3X/b/6/b61b7b246b39e6ce9262b9ba7b56267d7d8f7d27.png)

The Tweet posts using both options. However I don’t see how to include the actual URL post in the Tweet. It doesn’t appear in the Zapier drop down menu of available content.

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [27. Mai 2019 um 18:52 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/4 "2019-05-27T18:52:06Z")

</div>

> [@chris-remus](#):
>
> I don’t see how to include the actual URL post in the Tweet. It doesn’t appear in the Zapier drop down menu of available content.

You may have to create the link yourself from the properties that are returned by the webhook. The structure of the link should be your site’s base URL, followed by `/t/`, followed by the topic’s slug, followed by `/`, followed by the topic’s ID.

On Zapier, that would look something like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/f/ffd96f4b884dfd505c3c161ab8f97fda970b7e60.png)

In this screenshot, the first section adds the topic’s title to the tweet. Everything that follows that section is used for creating the link to the topic. I have selected the default option (‘yes’) for the ‘Should Shorten URLs’ setting. When I test this on Zapier, it is successfully posting tweets to my twitter account.

---

<div class="post-metadata">

**Author:** ![chris-remus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chris-remus/32/133734_2.png) [@chris-remus](https://meta.discourse.org/u/chris-remus)\
**Post date:** [28. Mai 2019 um 13:57 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/5 "2019-05-28T13:57:14Z")

</div>

Thanks, that’s the info I needed. It’s working as you suggest. Using the same format for the Zapier Discourse/Twitter integration works too.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [17. November 2022 um 22:23 UTC](https://meta.discourse.org/t/include-link-in-tweeted-posts-via-zapier-integration/118790/7 "2022-11-17T22:23:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
