立即开始
Slack Tools

Slack Customize Url Unfurl

通过 Aident Loadout 使用 Slack Tools 的 Slack Customize Url Unfurl。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Customizes URL previews (unfurling) in a specific Slack message using a URL-encoded JSON in `unfurls` to define custom content or remove existing previews.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • tsstring
    Timestamp of the message to customize URL unfurling for. Must be provided with `channel`, or alternatively provide `unfurl_id` and `source` together.
  • sourcestring
    Link source: either 'composer' or 'conversations_history'. Must be provided with `unfurl_id`.
  • channelstring
    Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. Must be provided with `ts`, or alternatively provide `unfurl_id` and `source` together.
  • unfurlsstring
    JSON string mapping URLs to custom unfurl content (Slack attachment format or blocks). Pass as a plain JSON string (not URL-encoded). To remove an existing unfurl, provide an empty object for that URL.
  • metadatastring
    JSON object with 'entities' field providing Work Object array. Either `unfurls` or `metadata` is required. Pass as a JSON string.
  • unfurl_idstring
    Link ID to unfurl. Must be provided with `source`. Alternative to using `channel` and `ts` parameters.
  • user_auth_urlstring
    URL-encoded custom URL for user authentication with your app to enable unfurling. Used when `user_auth_required` is true.
  • user_auth_blocksstring
    JSON array of structured blocks (URL-encoded) sent as ephemeral authentication invitation. Alternative to `user_auth_message` for richer formatting. Used when `user_auth_required` is true.
  • user_auth_messagestring
    Ephemeral message text prompting user authentication with your app for domain-specific unfurling. Used when `user_auth_required` is true and authorization is pending.
  • user_auth_requiredboolean
    Set to `true` if user authentication is required to unfurl links for a domain, enabling an authentication flow using `user_auth_url` and `user_auth_message`.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源